/* ==================== VARIABLES ==================== */
:root {
    --navy: #1a2942;
    --gold: #c9b896;
    --light: #f5f5f5;
    --white: #ffffff;
    --dark: #0f1822;
    --green: #2d5016;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== NAVIGATION ==================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 41, 66, 0.95);
    padding: 1rem 2rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--white);
}

/* ==================== HERO TERRAZA ==================== */
.hero-terraza {
    background: linear-gradient(135deg, var(--green) 0%, var(--dark) 100%);
    color: var(--white);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.hero-terraza::before {
    content: '🌿🌳🍃';
    position: absolute;
    font-size: 10rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.terraza-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.terraza-title {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
}

.terraza-subtitle {
    font-size: 1.3rem;
    color: var(--light);
}

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

/* ==================== SECTIONS ==================== */
section {
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* ==================== INFO SECTION ==================== */
.info-section {
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    isolation: isolate;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
    position: relative;
    z-index: 3;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2);
}

.feature-item h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 3;
    transition: color 0.3s;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
    position: relative;
    z-index: 3;
    transition: color 0.3s;
}

.feature-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    background: rgba(45, 80, 22, 0.9);
    pointer-events: none;
    overflow: hidden;
}

.feature-item:hover .feature-image {
    opacity: 1;
}

.feature-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    max-width: none;
    object-fit: cover;
    opacity: 0.6;
    display: block;
}

.feature-item:hover h3,
.feature-item:hover p,
.feature-item:hover .feature-icon {
    color: var(--white);
}

/* ==================== EXTRAS SECTION ==================== */
.extras-section {
    background: var(--white);
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.extra-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--gold);
    transition: all 0.3s;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.extra-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.extra-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.extra-card h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.extra-card .price {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.extra-card p:not(.price) {
    color: #666;
}

/* ==================== PRICING SECTION ==================== */
.pricing-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
    color: var(--white);
}

.pricing-section .section-title {
    color: var(--gold);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-card.featured {
    border: 3px solid var(--gold);
    box-shadow: 0 10px 40px rgba(201, 184, 150, 0.3);
}

.badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gold);
    color: var(--navy);
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.8rem;
}

.price-header h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price-amount {
    color: var(--navy);
    margin: 1.5rem 0;
}

.currency {
    font-size: 2rem;
    vertical-align: top;
}

.amount {
    font-size: 3.5rem;
    font-weight: bold;
}

.price-duration {
    color: #666;
    margin-bottom: 1.5rem;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-top: 2rem;
}

.price-features li {
    color: #555;
    padding: 0.7rem 0;
    border-bottom: 1px solid #eee;
}

.price-features li::before {
    content: '✓ ';
    color: var(--gold);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ==================== LOCATION SECTION ==================== */
.location-section {
    background: var(--light);
}

.location-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.location-info h3 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.address {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.btn-contact,
.btn-whatsapp,
.btn-maps {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}

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

.btn-contact:hover {
    background: var(--dark);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20ba5a;
}

.btn-maps {
    background: var(--gold);
    color: var(--navy);
}

.btn-maps:hover {
    background: #d4c7ab;
}

/* ==================== GALLERY SECTION ==================== */
.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==================== VIDEO SECTION ==================== */
.video-section {
    background: var(--light);
    text-align: center;
}

.video-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 3px solid var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    margin: 0 auto;
}

.video-container video:focus {
    outline: 3px solid var(--green);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--green) 0%, var(--dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(201, 184, 150, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 184, 150, 0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

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

/* ==================== FOOTER ==================== */
footer {
    background: var(--dark);
    color: var(--light);
    text-align: center;
    padding: 2rem;
}

footer a {
    color: var(--gold);
    text-decoration: none;
}

/* ==================== WHATSAPP FLOAT BUTTON ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .terraza-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    nav ul {
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .extras-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .feature-item {
        min-height: 180px;
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 1rem;
    }

    .terraza-title {
        font-size: 1.5rem;
    }

    .hero-terraza {
        min-height: 50vh;
    }

    .feature-item {
        padding: 1.5rem;
    }

    .feature-item h3 {
        font-size: 1.1rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }

    .gallery-item {
        height: 200px;
    }

    .extra-card {
        padding: 1.5rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }
}