/* ═══════════════ CUSTOM STYLES ═══════════════ */

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

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(253, 249, 243, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(194, 112, 78, 0.12);
    box-shadow: 0 1px 20px rgba(92, 47, 33, 0.08);
}

/* Nav links underline animation */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C2704E;
    border-radius: 1px;
    transition: width 0.25s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Service card hover glow */
.service-card:hover {
    border-color: rgba(194, 112, 78, 0.3);
    box-shadow: 0 20px 40px rgba(92, 47, 33, 0.1), 0 8px 16px rgba(92, 47, 33, 0.06);
}

/* Gallery items */
.gallery-item {
    cursor: pointer;
}
.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Scroll reveal (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF9F3;
}
::-webkit-scrollbar-thumb {
    background: #E47860;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C2704E;
}

/* Selection color */
::selection {
    background: rgba(194, 112, 78, 0.25);
    color: #30180F;
}
