/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Luxury Color Palette */
    --luxury-navy: hsl(210, 27%, 16%);
    --luxury-charcoal: hsl(207, 20%, 29%);
    --luxury-gold: hsl(44, 70%, 55%);
    --luxury-cream: hsl(40, 29%, 97%);
    --luxury-light: hsl(40, 29%, 96%);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --container-padding: 1rem;
    --section-padding: 5rem 0;
    
    /* Shadows */
    --luxury-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --luxury-shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--luxury-charcoal);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Typography */
.text-gold {
    color: var(--luxury-gold);
}

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

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--luxury-gold) 0%, #D4AF37 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-gold:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.btn-gold.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-outline:hover {
    background: white;
    color: var(--luxury-navy);
}

.btn-outline.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-outline-white {
    background: transparent !important;
    color: white !important;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-outline-white:hover {
    background: white !important;
    color: var(--luxury-navy) !important;
}

.btn-outline-white.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    color: white !important;
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    height: 2.5rem;
    width: 2.5rem;
    margin-right: 0.75rem;
}

.logo-text {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
}

.logo-core {
    color: var(--luxury-navy);
}

.logo-spaces {
    color: var(--luxury-gold);
}

/* Footer logo text override for dark background */
.footer .logo-core {
    color: white;
}

.footer .logo-spaces {
    color: var(--luxury-gold);
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: var(--luxury-navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--luxury-gold);
}

/* CTA Button */
.nav-cta {
    display: none;
}

@media (min-width: 768px) {
    .nav-cta {
        display: block;
    }
}

/* Mobile Menu */
.nav-mobile {
    display: block;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none;
    }
}

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

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    color: var(--luxury-navy);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--luxury-gold);
}

.mobile-cta {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(41, 54, 71, 0.8) 0%, rgba(41, 54, 71, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 1rem;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
    font-size: 2rem;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40%, 43% {
        transform: translateX(-50%) translateY(-10px);
    }
    70% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-up-delay {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.animate-fade-in-up-delay-2 {
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

/* Featured Section */
.featured-section {
    padding: 5rem 0;
    background-color: var(--luxury-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--luxury-navy);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--luxury-charcoal);
    max-width: 32rem;
    margin: 0 auto;
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

@media (min-width: 1024px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Property Card */
.property-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--luxury-shadow);
    transition: all 0.3s ease;
}

.property-card:hover {
    box-shadow: var(--luxury-shadow-hover);
}

.property-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

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

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--luxury-gold);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.property-badge.featured {
    background: var(--luxury-navy);
    right: 1rem;
    left: auto;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--luxury-navy);
    margin-bottom: 0.5rem;
}

.property-location {
    color: var(--luxury-charcoal);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.property-specs {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.property-spec {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--luxury-gold);
}

.property-actions {
    display: flex;
    gap: 0.5rem;
}

.property-action {
    background: var(--luxury-light);
    border: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.property-action:hover {
    background: var(--luxury-gold);
    color: white;
}

/* About Preview Section */
.about-preview {
    padding: 5rem 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-title {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--luxury-navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .about-title {
        font-size: 3rem;
    }
}

.about-description {
    font-size: 1.125rem;
    color: var(--luxury-charcoal);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--luxury-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--luxury-charcoal);
    font-weight: 500;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: var(--luxury-shadow);
    width: 100%;
    height: auto;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--luxury-navy);
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-description {
    font-size: 1.25rem;
    color: #D1D5DB;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Footer */
.footer {
    background: var(--luxury-navy);
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.footer-company {
    max-width: 24rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 3rem;
    width: 3rem;
    margin-right: 1rem;
}

.footer-logo-text {
    font-size: 1.875rem;
    font-family: var(--font-serif);
    font-weight: 700;
}

.footer-description {
    color: #D1D5DB;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--luxury-gold);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.8;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

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

.footer-copyright {
    color: #9CA3AF;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: #25D366;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: var(--luxury-shadow);
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.1);
    box-shadow: var(--luxury-shadow-hover);
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}