/* Custom styles for premium dark luxury real estate website */

:root {
    --midnight-950: #02040a;
    --midnight-900: #040814;
    --gold-300: #f5d485;
    --gold-400: #e8c468;
    --gold-500: #d4a84b;
    --gold-600: #b8923f;
    --mint-400: #7ee8c0;
    --mint-500: #5fd9a8;
    --mint-600: #4bc494;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--midnight-950);
    color: #f3f4f6;
    line-height: 1.6;
}

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

::-webkit-scrollbar-track {
    background: var(--midnight-950);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-400);
}

/* Selection color */
::selection {
    background: rgba(212, 168, 75, 0.3);
    color: var(--gold-300);
}

/* Gold gradient text */
.gold-gradient {
    background: linear-gradient(135deg, #f5d485 0%, #d4a84b 50%, #b8923f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold gradient background */
.gold-gradient-bg {
    background: linear-gradient(135deg, #f5d485 0%, #d4a84b 50%, #b8923f 100%);
}

/* Mint gradient */
.mint-gradient {
    background: linear-gradient(135deg, #7ee8c0 0%, #5fd9a8 50%, #4bc494 100%);
}

/* Hero split layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 85vh;
    padding-top: 5rem;
}

/* Hero image wrapper */
.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(212, 168, 75, 0.3);
    border-radius: 24px;
    z-index: -1;
}

/* Gold borders */
.gold-border {
    border: 1px solid rgba(212, 168, 75, 0.3);
}

.gold-border-thick {
    border: 2px solid rgba(212, 168, 75, 0.5);
}

/* Service cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 168, 75, 0.5);
}

/* Feature icons */
.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Navigation links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f5d485, #d4a84b);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #f5d485 0%, #d4a84b 100%);
    color: #040814;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 168, 75, 0.3);
}

/* Secondary button */
.btn-secondary {
    border: 2px solid rgba(212, 168, 75, 0.5);
    color: #f5d485;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(212, 168, 75, 0.1);
    border-color: #f5d485;
}

/* Stat numbers */
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

/* Section titles */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f5d485, #d4a84b);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Scroll reveal animation */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-image-wrapper {
        order: -1;
        max-width: 100%;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--gold-400);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .nav-link,
    .btn-primary,
    .btn-secondary {
        color: black;
    }
}
