:root {
    --color-black: #08090A;
    --color-black-secondary: #101114;
    --color-graphite: #18191D;
    --color-gold: #C99532;
    --color-gold-light: #E3B75D;
    --color-champagne: #D9BB7A;
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F5;
    --color-text-secondary: #A6A6A6;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Manrope', sans-serif;
}

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

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-gold);
    color: var(--color-black);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid var(--color-white);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-2px);
}

.btn-outline-gold {
    display: inline-block;
    background-color: transparent;
    color: var(--color-gold);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid var(--color-gold);
    cursor: pointer;
}

.btn-outline-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: all 0.4s ease;
}

#header.scrolled {
    background-color: rgba(8, 9, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.logo-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.desktop-nav ul {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-light);
    letter-spacing: 1px;
}

.desktop-nav a:hover {
    color: var(--color-gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(8, 9, 10, 0.98);
    backdrop-filter: blur(15px);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.close-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
}

.mobile-nav a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 8s linear;
    transform: scale(1);
}

.hero-slideshow .slide.active {
    opacity: 1;
    transform: scale(1.05); /* Subtle zoom effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(8, 9, 10, 0.9) 0%, rgba(8, 9, 10, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-white);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--color-gray-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .desktop-nav, .desktop-only {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* Utility Classes */
.section-padding { padding: 100px 0; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.pt-20 { padding-top: 20px; }
.text-center { text-align: center; }
.text-gray { color: var(--color-gray-light); }
.text-white { color: var(--color-white); }
.gold-text { color: var(--color-gold); }
.bg-black { background-color: var(--color-black); }
.bg-black-secondary { background-color: var(--color-black-secondary); }
.bg-graphite { background-color: var(--color-graphite); }
.max-w-600 { max-width: 600px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Seamless Transitions between sections */
.seamless-section {
    position: relative;
    z-index: 5;
    box-shadow: 0 -40px 60px rgba(0,0,0,0.6);
    border-radius: 40px 40px 0 0;
    margin-top: -40px;
    overflow: hidden;
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.property-card {
    background-color: var(--color-black-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-graphite);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.badge-gold {
    background-color: var(--color-gold);
    color: var(--color-black);
}

.badge-dark {
    background-color: var(--color-black);
    color: var(--color-white);
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-family: var(--font-serif);
}

.location {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    position: relative;
}

.features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.features span {
    font-size: 0.875rem;
    color: var(--color-gray-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Editorial Sections */
.editorial-section {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 4;
}

@media (min-width: 992px) {
    .editorial-section {
        flex-direction: row;
        height: 80vh;
        min-height: 600px;
    }
    .editorial-section.reverse {
        flex-direction: row-reverse;
    }
}

.editorial-image {
    flex: 1;
    overflow: hidden;
    min-height: 400px;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-content {
    flex: 1;
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 992px) {
    .editorial-content {
        padding: 80px;
    }
}

.editorial-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 40px;
    position: relative;
}

.stats-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 149, 50, 0.3), transparent);
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--color-gray-light);
}

/* Styles Grid */
.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.style-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.style-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.style-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

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

.style-overlay h3 {
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Experience Section */
.experience-section {
    padding: 100px 0 140px;
    background-color: var(--color-black);
}

.experience-section h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.differentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.diff-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.diff-item i {
    font-size: 2.5rem;
    color: var(--color-gold);
}

.diff-item span {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Video CTA */
.video-cta {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 9, 10, 0.9), rgba(8, 9, 10, 0.4));
    z-index: 1;
}

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

.video-cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
}

/* Footer */
.footer {
    background-color: #040405;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

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

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-graphite);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

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

.contact-info p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-info i {
    margin-top: 4px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    gap: 16px;
    position: relative;
    padding-top: 20px;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}
