/* =========================================
   VARIABLES & DESIGN SYSTEM
   ========================================= */
   :root {
    --primary: #0a192f;
    --secondary: #d4af37; /* Gold accent */
    --accent-light: #fef0c7;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3 {
    color: var(--primary);
    font-weight: 700;
}

h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* =========================================
   LAYOUT & UTILITIES
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

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

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: zoomOut 20s infinite alternate linear;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.3), rgba(10, 25, 47, 0.8));
    z-index: -1;
}

@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    z-index: 10;
}

.mobile-break { display: none; }

@media (max-width: 767px) {
    .mobile-break { display: block; }
}

@media (min-width: 768px) {
    .navbar {
        justify-content: flex-start;
    }
}

.logo {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.35;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .logo {
        font-size: 1.7rem;
    }
}

.nav-btn {
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    margin-top: 3rem;
}

.badge {
    align-self: flex-start;
    background: var(--secondary);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.location {
    color: #e2e8f0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-glass {
    background: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--secondary);
    padding: 1.75rem 2rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
    align-self: flex-start;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.price-glass:hover {
    transform: translateY(-5px);
    background: rgba(10, 25, 47, 0.75);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.4);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.currency { font-size: 1.4rem; font-weight: 600; color: var(--secondary); }
.period { font-size: 1rem; font-weight: 400; color: #94a3b8; }

.condo {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
}

/* =========================================
   FEATURES SECTION
   ========================================= */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem 1.5rem;
    margin-top: -3rem;
    position: relative;
    z-index: 20;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.feature-card .icon {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    background: var(--accent-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.feature-card p {
    font-size: 0.8rem;
    margin: 0;
}

/* =========================================
   DETAILS SECTION
   ========================================= */
.details {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.details-content h2 {
    position: relative;
    padding-bottom: 1rem;
}

.details-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.amenities-list {
    list-style: none;
    margin-top: 1.5rem;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-main);
}

.amenities-list li:last-child {
    border-bottom: none;
}

.amenities-list i {
    color: #10b981; /* Emerald green */
    font-size: 1.2rem;
}

.details-image {
    position: relative;
}

.details-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.details-image img:hover {
    transform: scale(1.02);
}

.shadow { box-shadow: var(--shadow-lg); }

/* =========================================
   GALLERY SECTION
   ========================================= */
.mb-2 { margin-bottom: 2rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--accent-light);
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

/* =========================================
   ADDRESS SECTION
   ========================================= */
.address-section {
    background: var(--primary);
    color: white;
    padding: 4rem 1.5rem;
    margin-top: 2rem;
}

.address-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.address-info h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.address-info p {
    color: #cbd5e1;
    font-size: 1.1rem;
}

.address-icon {
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.2;
}

.map-wrapper {
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    padding: 6rem 1.5rem;
    background: var(--bg-main);
}

.cta-section h2 {
    font-size: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366; /* WhatsApp Green */
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(37, 211, 102, 0.5);
    background: #1ebc5a;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
}

/* =========================================
   DESKTOP RESPONSIVENESS
   ========================================= */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    .hero-content {
        align-items: flex-start;
    }
    
    .features {
        grid-template-columns: repeat(4, 1fr);
        margin-top: -4rem;
    }

    .details {
        flex-direction: row;
        align-items: center;
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .details-content, .details-image {
        flex: 1;
    }

    .details-content {
        padding-right: 3rem;
    }
}
