/* Custom styles for Porter's Cameras Cards & Gifts */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Intersection Observer animations */
.observe-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.observe-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero text animation */
.hero-title {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

/* Navbar transition */
.nav-scrolled {
    background: rgba(253, 252, 248, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.nav-scrolled .nav-link {
    color: #374151 !important;
}

.nav-scrolled .nav-link:hover {
    color: #195f3a !important;
}

/* Product card hover effect */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

/* Service card hover */
.service-card {
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.5s ease;
}

.img-zoom:hover {
    transform: scale(1.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #faf8f0;
}

::-webkit-scrollbar-thumb {
    background: #92d6ad;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5abb82;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #369960;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Print styles */
@media print {
    nav, .hero-section, #services, .cta-section {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
