/* Emerald Vision Media — Custom Styles */

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

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

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

::-webkit-scrollbar-thumb {
    background: #c44118;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a33014;
}

/* Selection color */
::selection {
    background-color: #d45827;
    color: white;
}

/* Hero image parallax-like effect on scroll */
#hero img {
    transition: transform 0.3s ease;
}

/* Nav transition states */
.nav-scrolled {
    background-color: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .font-serif {
    color: #1c1917 !important;
}

/* Service card hover animation */
.group:hover {
    transform: translateY(-4px);
}

.group {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Form focus states enhancement */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(13, 122, 95, 0.1);
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .group {
        transition: none;
    }
    
    #mobileMenu {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}
