:root {
    --primary: #1a1a1a;
    --secondary: #8d7b68;
    --accent: #c5a059;
    --bg: #ffffff;
    --bg-soft: #f9f7f4;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border: #e5e0d8;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --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', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
}

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

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

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

.section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--accent);
}

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

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

/* Urgency Banner */
.urgency-banner {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-subline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.hero .btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hidden-gallery {
    display: none;
    margin-top: 1.5rem;
}

.hidden-gallery.show {
    display: grid;
}

.gallery-controls {
    text-align: center;
    margin-top: 3rem;
}

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

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

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-soft);
    padding: 2.5rem;
    text-align: center;
    border-radius: 2px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* About Section */
.about-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1.2;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Floorplan */
.floorplan-container {
    background: var(--bg-soft);
    padding: 4rem;
    border-radius: 2px;
    text-align: center;
}

.floorplan-img {
    max-width: 100%;
    cursor: zoom-in;
}

/* Rental Options */
.rental-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.rental-card {
    padding: 4rem;
    border: 1px solid var(--border);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rental-card.featured {
    background: var(--bg-soft);
    border-color: var(--bg-soft);
}

.rental-price {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rental-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Location */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.location-list {
    list-style: none;
}

.location-list li {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 100;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: zoom-out;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.large { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .container { padding: 0 1.5rem; }
    .section-title { font-size: 2rem; margin-bottom: 2rem; }
    
    .hero h1 { font-size: 2.25rem; }
    .hero-subline { font-size: 1.1rem; }
    .hero-features { gap: 0.75rem; font-size: 0.75rem; }
    
    .about-flex, .location-grid, .rental-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image { order: -1; } /* Image above text on mobile */
    
    .features-grid { grid-template-columns: 1fr; gap: 1rem; }
    .feature-card { padding: 1.5rem; }
    
    .rental-card { padding: 2.5rem 1.5rem; }
    .rental-price { font-size: 2.5rem; }
    
    .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
    
    .contact-form { padding: 2rem 1.5rem; }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.85rem; }
    .hero-subline { font-size: 1rem; }
    .btn { width: 100%; padding: 0.85rem 1.5rem; }
    .hero-ctas { width: 100%; }
}
