/* ===== CUSTOM STYLES ===== */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Nav transitions */
#nav {
    transition: background-color 0.4s ease, padding 0.4s ease;
}

#nav.scrolled {
    background-color: rgba(12, 12, 14, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Service cards */
.service-card {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

/* Gallery hover */
.gallery-item {
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Testimonial cards */
.testimonial-card {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(255, 107, 68, 0.08);
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.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; }

/* Mobile menu link hover */
.mobile-link {
    transition: opacity 0.3s ease;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Subtle gradient backgrounds */
.bg-coral-50 {
    background: linear-gradient(135deg, #fff5f3 0%, #fdf0ec 100%);
}

/* Button hover lift */
button, a {
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Selection color */
::selection {
    background-color: rgba(255, 107, 68, 0.2);
    color: #1c1c1f;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
