:root {
    --primary-color: #2b443a;
    --accent-color: #efb550;
    --secondary-color: #efb550;
    --text-color: #333333;
    --white: #FFFFFF;
    --light-gray: #f1efeb;
    --border-radius: 34px;
    --border-radius-sm: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #2b443a;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.logo-mobile {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #efb550;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-color);
    list-style: none;
    padding: 15px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 8px 20px;
}

.nav-btn {
    background: #efb550;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 181, 80, 0.3);
}

.nav-btn-desktop {
    display: block;
}

.nav-btn-mobile {
    display: none;
}

.nav-btn-mobile a {
    display: block;
    text-align: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0.5;
}

.hero-logo {
    max-width: 150px;
    height: auto;
    margin: 0 auto 10px;
    display: block;
    filter: invert(1) sepia(1) hue-rotate(45deg) saturate(1.5) brightness(1.2);
    mix-blend-mode: screen;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-label {
    display: none;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-price {
    font-size: 24px;
    margin-bottom: 30px;
}

.hero-price span {
    font-weight: 700;
    font-size: 32px;
    color: #f8d86e;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 8px;
    color: #FFFFFF;
    font-weight: 500;
    line-height: 1.8;
}

.hero-subtitle span {
    font-weight: 700;
    font-size: 20px;
    color: #f8d86e;
    background-color: transparent;
    text-shadow: 0 0 20px rgba(248, 216, 110, 0.6), 0 0 40px rgba(248, 216, 110, 0.3);
    padding: 0;
    border-radius: 0;
    display: inline-block;
}

.hero-subtitle.small-text {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 18px;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 18px 50px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(239, 181, 80, 0.4);
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 18px 50px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(239, 181, 80, 0.4);
}

/* Description Section */
.description-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.description-section .container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-block-2 {
    grid-template-columns: 1fr 1fr;
}

.content-block-2 .content-image {
    order: -1;
}

.content-text h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

.content-text p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.content-image {
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    height: 400px;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

.highlight {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 30px !important;
}

/* Animaciones de scroll */
.animate-on-scroll {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.will-animate {
    opacity: 0;
    transform: translateX(-50px);
}

.content-block-2 .animate-on-scroll.will-animate {
    transform: translateX(50px);
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateX(0);
}

.description-section h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
}

.description-content p {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.8;
    text-align: justify;
}

.description-content .highlight {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 20px;
    text-align: center;
    margin-top: 40px;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: var(--primary-color);
}

.gallery-section h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #2b443a;
    font-size: 18px;
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    aspect-ratio: 4/3;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.gallery-item.will-animate {
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item.active {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--light-gray);
    text-align: center;
}

.features-section h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 15px;
    text-align: left;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-item.will-animate {
    opacity: 0;
    transform: translateY(30px);
}

.feature-item.active {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: #efb550;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item p {
    margin: 0;
    font-size: 16px;
}

.btn-secondary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 18px 50px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #1f3329;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(43, 68, 58, 0.3);
}

/* Tour Section */
.tour-section {
    padding: 100px 0;
    background: var(--primary-color);
}

.tour-section h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 10px;
}

.tour-section .section-subtitle {
    color: var(--white);
}

.tour-container {
    max-width: 1000px;
    margin: 40px auto;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.tour-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
}

.tour-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.tour-placeholder p {
    text-align: center;
    color: var(--accent-color);
    margin-top: 20px;
    font-weight: 500;
}

/* Places Section */
.places-section {
    padding: 100px 0;
    background: var(--white);
}

.places-section h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.place-card {
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    background: var(--light-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.place-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.place-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.place-card:hover .place-image img {
    transform: scale(1.1);
}

.place-content {
    padding: 20px;
}

.place-content h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 8px;
}

.place-time {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

/* Master Plan Section */
.masterplan-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.masterplan-section h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

.masterplan-container {
    max-width: 900px;
    margin: 50px auto;
    text-align: center;
}

.masterplan-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.masterplan-image:hover {
    transform: scale(1.02);
}

/* Master Plan Modal */
.masterplan-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.masterplan-modal.active {
    display: flex;
}

.masterplan-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.masterplan-modal-close {
    position: absolute;
    right: 30px;
    top: 20px;
    color: var(--white);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.masterplan-modal-close:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-form h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
}

.form-group select {
    padding: 15px;
}

.btn-submit {
    padding: 18px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(239, 181, 80, 0.4);
}

.footer-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 181, 80, 0.2);
    border-radius: 50%;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* WhatsApp Modal */
.whatsapp-modal {
    display: none;
    position: fixed;
    z-index: 1500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.whatsapp-modal.active {
    display: flex;
}

.whatsapp-modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-sm);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.whatsapp-modal-content h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 25px;
}

.whatsapp-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
}

.whatsapp-close:hover {
    color: var(--accent-color);
}

#whatsapp-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#whatsapp-form input,
#whatsapp-form select,
#whatsapp-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.ws-btn-enviar {
    padding: 15px;
    background: #25d366;
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ws-btn-enviar:hover {
    background: #1fa854;
    transform: translateY(-2px);
}

/* WhatsApp Flotante */
.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;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: var(--white);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.lightbox-close {
    right: 30px;
    top: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--accent-color);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    max-width: 80vw;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-btn-desktop {
        display: none;
    }

    .nav-btn-mobile {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-subtitle span {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .content-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-block-2 .content-image {
        order: 0;
    }

    .content-text h2 {
        font-size: 28px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tour-section h2,
    .gallery-section h2,
    .places-section h2,
    .masterplan-section h2,
    .footer-form h3 {
        font-size: 28px;
    }

    .places-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 70vh;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        gap: 10px;
    }

    .feature-item {
        padding: 12px;
    }

    .feature-item p {
        font-size: 13px;
    }

    .content-text h2 {
        font-size: 22px;
    }

    .content-text p {
        font-size: 14px;
    }

    .places-section h2,
    .gallery-section h2,
    .tour-section h2,
    .masterplan-section h2 {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .footer {
        padding: 50px 0 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-form h3 {
        font-size: 20px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 13px;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        font-size: 24px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}