/* ========== BASE STYLES ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020c1b;
}
::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* ========== ANIMATIONS ========== */
@keyframes scrollDown {
    0% { top: -12px; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 12px; opacity: 0; }
}

.animate-scrollDown {
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* ========== NAVBAR ========== */
.navbar-scrolled {
    background: rgba(2, 12, 27, 0.95) !important;
    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);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* ========== HERO ========== */
.hero-title {
    animation: fadeInLeft 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeInLeft 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-cta {
    animation: fadeInLeft 1s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.hero-image {
    animation: fadeInRight 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-stats {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #C9A84C, #D4B96A);
    transition: width 0.5s ease;
}

.service-card:hover::after {
    width: 100%;
}

/* ========== LISTING CARDS ========== */
.listing-card .aspect-ratio {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.listing-card:hover img {
    transform: scale(1.05);
}

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

/* ========== GOLD GRADIENT TEXT ========== */
.gold-gradient {
    background: linear-gradient(135deg, #C9A84C 0%, #E0CB88 50%, #C9A84C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== BUTTON GLOW ========== */
.btn-gold-glow:hover {
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.3), 0 0 80px rgba(201, 168, 76, 0.1) !important;
}

/* ========== SELECT STYLING ========== */
select option {
    background: #0a1628;
    color: #fff;
}

/* ========== FORM FOCUS STATES ========== */
input:focus, textarea:focus, select:focus {
    background: rgba(15, 31, 58, 0.8);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}

@media (max-width: 640px) {
    .hero-image {
        margin-top: 2rem;
    }
}
