:root {
    /* Brand Colors - Sophisticated Palette */
    --primary-color: #002855;
    /* Deep Navy */
    --primary-gradient: linear-gradient(135deg, #002855 0%, #001A39 100%);
    --accent-color: #D4AF37;
    /* Muted Gold */
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --text-white: #FFFFFF;

    /* Backgrounds */
    --bg-body: #F3F4F6;
    --bg-white: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-dark: rgba(0, 40, 85, 0.85);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-lg: 16px;
    --border-radius-sm: 8px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-purple: 0 20px 25px -5px rgba(0, 40, 85, 0.15), 0 10px 10px -5px rgba(0, 40, 85, 0.04);
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-body);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

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

.text-white {
    color: var(--text-white);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.1;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 5rem;
}

/* Header - Glassmorphism */
.header {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-list a:not(.btn) {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
}

.nav-list a:not(.btn):hover {
    color: var(--primary-color);
}

.nav-list a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.02em;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: 0 10px 20px -5px rgba(0, 40, 85, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(0, 40, 85, 0.5);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/hero_image.png');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: -80px;
    /* Counteract header height */
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    color: var(--text-white);
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-purple);
}

/* Blob decoration */
.about-image::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.feature-list li {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list li::before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23002855' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Amenities - Glass Cards */
.bg-light {
    background: #F8FAFC;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.amenity-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

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

.amenity-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.amenity-card:hover .amenity-icon {
    transform: scale(1.1);
}

/* Homes Section */
.homes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.home-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.home-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
    transform: scale(1.05);
    z-index: 2;
}

.home-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.home-header {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    text-align: center;
}

.home-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.home-body {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.home-body ul {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.home-body li {
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

/* Contact Section - Floating Glass */
.contact-section {
    padding: 10rem 0;
    background: var(--primary-gradient);
    color: var(--text-white);
    position: relative;
}

/* Modern Glass Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-form-wrapper h3 {
    color: var(--text-white);
    margin-bottom: 2rem;
}

.form-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 1rem 1.25rem;
    border-radius: 8px;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: #001226;
    color: rgba(255, 255, 255, 0.4);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

/* Animations Triggered by JS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .section-title {
        font-size: 2.25rem;
    }

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

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .homes-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .home-card.featured {
        transform: none;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        color: var(--text-main);
        font-size: 1.5rem;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .nav-list.active {
        display: flex;
    }
}
/* Video Section */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
