/* ============================================
   INFINITE BLESSINGS REALTY — CUSTOM STYLES
   Classic & Elegant | Terracotta + Sand
   ============================================ */

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5e8;
}
::-webkit-scrollbar-thumb {
    background: #d4a080;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c14126;
}

/* --- Hero Overlay --- */
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(30, 20, 15, 0.72) 0%,
        rgba(61, 17, 13, 0.65) 50%,
        rgba(30, 20, 15, 0.78) 100%
    );
}

/* --- Navbar States --- */
.nav-logo-stroke,
.nav-logo-fill {
    stroke: #d45633;
    fill: #d45633;
}

.nav-subtitle {
    color: #a17030;
}

.nav-link {
    color: #44403c;
}

/* Scrolled navbar */
.navbar-scrolled .nav-logo-stroke,
.navbar-scrolled .nav-logo-fill {
    stroke: #d45633;
    fill: #d45633;
}

.navbar-scrolled .nav-subtitle {
    color: #a17030;
}

.navbar-scrolled .nav-link {
    color: #44403c;
}

/* Hero navbar (light) */
.navbar-hero .nav-logo-stroke,
.navbar-hero .nav-logo-fill {
    stroke: white;
    fill: white;
}

.navbar-hero .nav-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.navbar-hero .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

/* --- Mobile Menu --- */
.mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* --- Service Cards --- */
.service-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    border-color: rgba(212, 86, 51, 0.2);
    box-shadow: 0 20px 60px rgba(212, 86, 51, 0.1);
}

/* --- Testimonial Cards --- */
.testimonial-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

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

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

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* --- Scroll Reveal Base (progressive enhancement) --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* 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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Focus Styles --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d45633;
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Selection --- */
::selection {
    background: rgba(212, 86, 51, 0.2);
    color: #3d110d;
}
