/* ====================================
   ROOT & VARIABLES
   ==================================== */
:root {
    /* Colors */
    --primary-dark: #0a1628;
    --primary-blue: #1a3a52;
    --accent-gold: #d4af37;
    --accent-gold-light: #e5c158;
    --neutral-white: #ffffff;
    --neutral-light: #f5f5f5;
    --neutral-gray: #e0e0e0;
    --neutral-dark-gray: #333333;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --shadow-light: 0 4px 15px rgba(10, 22, 40, 0.1);
    --shadow-medium: 0 8px 30px rgba(10, 22, 40, 0.15);
    --shadow-heavy: 0 12px 40px rgba(10, 22, 40, 0.2);
    
    /* Typography */
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* ====================================
   RESET & BASE STYLES
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--neutral-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ====================================
   NAVIGATION
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--accent-gold);
    transition: opacity 0.3s ease;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.logo a:hover .logo-img {
    opacity: 0.9;
}

.logo a:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-item a {
    color: var(--neutral-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--accent-gold);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    color: var(--neutral-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-blue);
    border-radius: var(--radius-md);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-medium);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    color: var(--neutral-white);
    padding: var(--spacing-sm) var(--spacing-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    padding-left: var(--spacing-xl);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-dark) !important;
    padding: var(--spacing-sm) var(--spacing-lg) !important;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    color: var(--primary-dark) !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ====================================
   BUTTONS
   ==================================== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: 1.05rem;
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 700px;
    animation: slideInUp 0.8s ease;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--neutral-white);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-gold);
    top: -50px;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-gold);
    bottom: 10%;
    right: 30%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-gold);
    bottom: 30%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 4s;
}

/* ====================================
   SECTIONS
   ==================================== */
.stats,
.value-prop,
.featured-properties {
    padding: var(--spacing-2xl) 0;
}

.stats {
    background: linear-gradient(180deg, var(--neutral-light) 0%, var(--neutral-white) 100%);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    background: var(--neutral-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-gold);
    animation: fadeInUp 0.6s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Value Proposition */
.value-prop {
    background: var(--neutral-white);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.value-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(26, 58, 82, 0.05) 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-gold);
    transition: all 0.3s ease;
    cursor: pointer;
}

.value-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
}

.value-card h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Featured Properties */
.featured-properties {
    background: linear-gradient(180deg, var(--neutral-white) 0%, var(--neutral-light) 100%);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.property-card {
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.property-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.property-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.2);
}

.property-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
}

.property-content {
    padding: var(--spacing-xl);
}

.property-content h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.property-details {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.property-desc {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
}

.property-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.property-link:hover {
    gap: var(--spacing-sm);
}

.section-cta {
    text-align: center;
}

/* ====================================
   CTA SECTION
   ==================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--neutral-white);
    padding: var(--spacing-2xl) var(--spacing-lg);
    text-align: center;
    border-top: 3px solid var(--accent-gold);
}

.cta-section h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: var(--primary-dark);
    color: var(--neutral-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-col h4 {
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: var(--spacing-lg) 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-item {
        width: 100%;
        padding: var(--spacing-sm) 0;
    }

    .nav-item a {
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        transform: none;
    }

    .nav-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .hero-background {
        width: 100%;
    }

    .shape-1,
    .shape-2,
    .shape-3 {
        opacity: 0.05;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }

    .hero {
        min-height: 60vh;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .hero-cta {
        gap: var(--spacing-md);
    }

    .container {
        padding: 0 var(--spacing-md);
    }
}
