@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --color-primary: #D88040;
    --color-secondary: #fff;
    --color-dark: #181818;
    --color-overlay: rgba(0,0,0,0.45);
    --color-btn: #D88040;
    --color-btn-hover: #b65b1a;
    --color-footer: #222;
    --font-main: 'Poppins', Arial, sans-serif;
}

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

html, body {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}
body {
    font-family: var(--font-main);
    background: var(--color-secondary);
    color: var(--color-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

.header {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow: hidden;
}

.header__video-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
}
.header__video {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.header__overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--color-overlay);
    z-index: 2;
}
.header__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-secondary);
    margin-top: 7vh;
    padding: 0 2rem;
}
.header__content h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}
.header__content p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.navbar {
    position: relative;
    z-index: 15;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background: rgba(24,24,24,0.7);
}
.navbar__brand {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 1px;
}
.navbar__menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.navbar__link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(1rem, 2.8vw, 1.1rem);
    transition: color 0.2s;
}
.navbar__link.active, .navbar__link:hover {
    color: var(--color-primary);
}
.navbar__link.active {
    color: var(--color-secondary) !important;
}

.btn {
    display: inline-block;
    padding: clamp(0.6em, 2vw, 0.7em) clamp(1.8em, 5vw, 2.2em);
    border-radius: 2em;
    font-size: clamp(1rem, 2.8vw, 1.1rem);
    font-weight: 600;
    text-decoration: none;
    background: var(--color-btn);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.btn--primary {
    background: var(--color-btn);
}
.btn--primary:hover {
    background: var(--color-btn-hover);
}
.btn--secondary {
    background: var(--color-btn);
    color: #fff;
    border: 2px solid var(--color-btn);
}
.btn--secondary:hover {
    background: var(--color-secondary);
    color: var(--color-btn);
    border: 2px solid var(--color-btn);
}

.main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: var(--color-secondary);
}

.section {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 400px;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: none;
}

/* Lado izquierdo - imagen sin blur */
.section__image-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Lado derecho - imagen con blur */
.section__image-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    z-index: 0;
}

/* Configuración específica para cada sección */
.section--normas .section__image-left {
    background-image: url('/assets/img/normas.jpg');
}
.section--normas .section__image-right {
    background-image: url('/assets/img/normas-derecho.jpg');
}

.section--flora .section__image-left {
    background-image: url('/assets/img/flora.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.section--flora .section__image-right {
    background-image: url('/assets/img/flora-derecho.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}

.section--historia .section__image-left {
    background-image: url('/assets/img/historia.jpg');
}
.section--historia .section__image-right {
    background-image: url('/assets/img/historia.jpg');
}

/* Sección AStracciones (Eran las 4:50 de la mañana y estaba medio dormido cuando hice esto, disculpas)*/
.section--astracciones .section__image-left {
    background-image: url('/assets/img/atracciones.jpg');
}
.section--astracciones .section__image-right {
    background-image: url('/assets/img/atracciones.jpg');
}

/* Overlay para el lado derecho */
.section__image-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(24,24,24,0.7) 0%, rgba(108,60,255,0.2) 100%);
    z-index: 1;
}

.section__content {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 3.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    color: #fff;
    text-align: center;
    min-height: 400px;
}
.section__content h2 {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.7rem;
    max-width: none;
    width: 100%;
    line-height: 1.2;
}
.section__content p {
    font-size: clamp(1rem, 2.8vw, 1.2rem);
    margin-bottom: 1.2rem;
    max-width: none;
    width: 100%;
    line-height: 1.4;
}

.footer {
    background: var(--color-footer);
    color: #ccc;
    text-align: center;
    padding: 1.2rem 0 0.5rem 0;
    font-size: 0.95rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    width: 100vw;
    max-width: 100vw;
}
.footer__info {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
    flex: 1 1 33%;
    padding-left: 1.5rem;
}

/* Estilos específicos para el enlace de WhatsApp en el footer */
.footer__info .whatsapp-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: var(--color-secondary) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}

.footer__info .whatsapp-link:hover {
    color: #25D366 !important;
    transform: scale(1.05) !important;
}

.footer__info .whatsapp-link:visited {
    color: var(--color-secondary) !important;
}

.footer__info .whatsapp-link:active {
    color: #25D366 !important;
}

.footer__info .whatsapp-icon {
    font-size: 1.2rem !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}
.footer__copy {
    text-align: center;
    font-weight: 600;
    flex: 1 1 33%;
}
.footer__design {
    text-align: right;
    font-size: 0.85rem;
    flex: 1 1 33%;
    padding-right: 1.5rem;
}

.whatsapp-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: var(--color-secondary) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.whatsapp-link:hover {
    color: #25D366 !important;
    transform: scale(1.05) !important;
}

.whatsapp-link:visited {
    color: var(--color-secondary) !important;
}

.whatsapp-link:active {
    color: #25D366 !important;
}

.whatsapp-icon {
    font-size: 1.2rem !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

@media (max-width: 900px) {
    .section {
        flex-direction: row;
        min-height: 260px;
    }
    .section__image-left,
    .section__image-right {
        width: 50%;
        height: 100%;
    }
    .section__image-left {
        left: 0;
    }
    .section__image-right {
        right: 0;
        top: 0;
    }
    .section__content {
        padding: 1.5rem 1.5rem;
        min-height: 220px;
        width: 50%;
        right: 0;
    }
    .footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
    }
    .footer__info, .footer__copy, .footer__design {
        text-align: center;
        padding: 0.2rem 0;
        align-items: center;
        flex: unset;
        padding-left: 0;
        padding-right: 0;
    }
    .footer__info {
        align-items: center;
    }
    .footer__info .whatsapp-link {
        justify-content: center !important;
        font-size: 0.9rem !important;
    }
    .footer__info .whatsapp-icon {
        font-size: 1rem !important;
        width: 14px !important;
        height: 14px !important;
    }
    .footer__design {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 0.7rem 0.7rem;
    }
    .navbar__brand {
        margin-bottom: 0.5rem;
        text-align: center;
    }
    .navbar__menu {
        flex-direction: column;
        gap: 0.7rem;
        width: 100%;
        align-items: center;
    }
    .navbar__link {
        padding: 0.3rem 0;
    }
    .header {
        min-height: 400px;
        height: 60vh;
    }
    .header__content {
        margin-top: 0;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .section {
        min-height: 320px;
        flex-direction: column;
    }
    .section__image-left,
    .section__image-right {
        width: 100%;
        height: 50%;
    }
    .section__image-left {
        left: 0;
        top: 0;
    }
    .section__image-right {
        right: 0;
        top: 50%;
    }
    .section__content {
        padding: 1.2rem 1.5rem;
        min-height: 20px;
        width: 100%;
        right: 0;
        top: 50%;
        height: 50%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    .section__content h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
        text-align: center;
    }
    .section__content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.4;
        text-align: center;
    }
    .section__content h2,
    .section__content p {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section__content .btn {
        margin-top: 0;
        align-self: center;
        flex-shrink: 0;
    }
    .footer {
        font-size: 0.8rem;
        padding: 0.7rem 0 0.3rem 0;
    }
}

@media (max-width: 400px) {
    .header__content {
        margin-top: 0;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .section__content {
        padding: 1rem;
        gap: 0.8rem;
    }
    .section__content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    .section__content p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
        .section__content .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .header__content h1 {
        font-size: 1.6rem;
    }
    .header__content p {
        font-size: 0.95rem;
    }
    .section {
        min-height: 350px;
    }
    .section__content {
        padding: 1rem 1.5rem;
        min-height: 220px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.8rem;
    }
    .section__content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    .section__content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    .section__content h2,
    .section__content p {
        flex: 1;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .section__content .btn {
        margin-top: 0;
        align-self: center;
        flex-shrink: 0;
        font-size: 0.9rem;
        padding: 0.5em 1.5em;
    }
    .btn {
        font-size: 0.95rem;
    }
    .navbar__brand {
        font-size: 1.1rem;
        text-align: center;
    }
    .navbar__link {
        font-size: 0.95rem;
        text-align: center;
    }
}

@media (max-width: 320px) {
    .header__content {
        margin-top: 0;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .header__content h1 {
        font-size: 1.4rem;
    }
    .header__content p {
        font-size: 0.85rem;
    }
    .section {
        min-height: 380px;
    }
    .section__content {
        padding: 0.8rem 1.5rem;
        min-height: 320px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.6rem;
    }
    .section__content h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
        text-align: center;
    }
    .section__content p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.5;
        text-align: center;
    }
    .section__content h2,
    .section__content p {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section__content .btn {
        margin-top: 0;
        align-self: center;
        flex-shrink: 0;
        font-size: 0.85rem;
        padding: 0.4em 1.2em;
    }
    .btn {
        font-size: 0.85rem;
    }
    .navbar__brand {
        font-size: 1rem;
    }
    .navbar__link {
        font-size: 0.85rem;
    }
}

@media (max-width: 280px) {
    .header__content {
        margin-top: 0;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .section {
        min-height: 400px;
    }
    .section__content {
        padding: 0.6rem 1.5rem;
        min-height: 340px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }
    .section__content h2 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
        text-align: center;
    }
    .section__content p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.5;
        text-align: center;
    }
    .section__content h2,
    .section__content p {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .section__content .btn {
        margin-top: 0;
        align-self: center;
        flex-shrink: 0;
        font-size: 0.8rem;
        padding: 0.4em 1em;
    }
} 