/* ========================================
   The Best Florida Homes — Custom Styles
   Premium Dark Luxury Theme
   Midnight Blue + Mint + Gold
   ======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #ffffff;
}

/* ---------- Navbar ---------- */
.navbar-scrolled {
    background: rgba(6, 13, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ---------- Gold shimmer on CTA buttons ---------- */
.btn-gold {
    position: relative;
    overflow: hidden;
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 60%,
        transparent 100%
    );
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s ease;
}

.btn-gold:hover::after {
    transform: rotate(45deg) translate(0, 0);
}

/* ---------- Property cards ---------- */
.property-card:hover img {
    transform: scale(1.05);
}

/* ---------- Scroll reveal base (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

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

::-webkit-scrollbar-track {
    background: #060D1A;
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* ---------- Select styling ---------- */
select option {
    background: #0A1628;
    color: #D8F5EC;
}

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

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

/* ---------- Hero text glow ---------- */
.hero-glow {
    text-shadow: 0 0 80px rgba(201, 168, 76, 0.3);
}

/* ---------- Subtle gold accent line animation ---------- */
.gold-line {
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
    height: 1px;
}

/* ---------- Testimonial card hover ---------- */
.testimonial-card:hover {
    border-color: rgba(201, 168, 76, 0.2) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(201, 168, 76, 0.05);
}

/* ---------- Form focus states ---------- */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2);
}

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