/* Vista index - banner, hero, servicios, aeronaves, mantenimiento */

/* New Hero Split Design */
/* New Hero Design */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background: #22223A;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    /* Lowers the image focus slightly */
    display: block;
}

.hero__content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero__logo-center {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-logo-icon {
    width: 200px;
    /* Reduced size */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    /* Shadow to separate from background */
}



/* Language Selector for Hero */
.lang-selector-hero {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 100;
    display: flex;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.lang-link-hero {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.lang-link-hero:hover,
.lang-link-hero.is-active {
    color: #ffffff;
    font-weight: 700;
}

.lang-divider-hero {
    color: rgba(255, 255, 255, 0.4);
}

/* Intro Playa Section - Overlapping Hero */
.intro-playa {
    padding: 0;
    margin-top: -80px;
    /* Moved down (closer to the dark section) */
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: flex-start;
}

.intro-card {
    background: #ffffff;
    padding: 80px 5% 80px 10%;
    box-shadow: 10px 30px 60px rgba(0, 0, 0, 0.15);
    border-radius: 0 4px 4px 0;
    width: 85%;
    /* Wider */
    max-width: 1200px;
    /* Longer */
    margin: 0;
}

.intro-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #22223A;
    margin-bottom: 35px;
    line-height: 1.1;
    text-transform: uppercase;
}

.intro-title-alt {
    font-weight: 300;
    display: block;
    margin-top: 5px;
}

.intro-text p {
    font-family: 'Poppins light', 'Poppins', 'Outfit', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 20px;
    font-weight: 300;
}

/* Experiences Section - Dark Theme */
.experiences-section {
    background: #22223A;
    padding: 0 0 60px 0;
    /* Reduced bottom padding */
    color: #ffffff;
    margin-top: 0;
    position: relative;
}

.experiences-header {
    text-align: center;
    padding-top: 100px;
    margin-bottom: 50px;
    /* Reduced bottom margin */
}

.experiences-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
}

.experiences-divider {
    width: 100px;
    height: 8px;
    background: #ffffff;
    margin: 30px auto 0;
}



/* Playa Features Section */
.playa-features {
    padding: 120px 0 0 0;
    /* Removed bottom padding */
    background: #ffffff;
    overflow: hidden;
}

.feature-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 150px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-content {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 80px 40px calc((100vw - 1200px) / 2 + 20px);
}

.feature-row.reverse .feature-content {
    padding: 40px calc((100vw - 1200px) / 2 + 20px) 40px 80px;
}

.feature-media {
    flex: 0 0 45%;
    overflow: hidden;
}

.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-row:hover .feature-media img {
    transform: scale(1.05);
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 4vw, 35px);
    font-weight: 700;
    color: #22223A;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.feature-line {
    width: 80px;
    height: 8px;
    background: #22223A;
    margin-bottom: 20px;
}

.feature-desc {
    font-family: 'Poppins light', 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #333333;
    font-weight: 300;
    max-width: 500px;
}

/* Mobile adjustments for features */
@media (max-width: 1100px) {
    .feature-content {
        padding: 40px 40px 40px 5%;
    }

    .feature-row.reverse .feature-content {
        padding: 40px 5% 40px 40px;
    }
}

@media (max-width: 992px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        margin-bottom: 80px;
    }

    .feature-content {
        flex: 0 0 auto;
        padding: 40px 20px;
        order: 2;
        /* Text always below on mobile */
    }

    .feature-media {
        flex: 0 0 auto;
        width: 100%;
        height: 400px;
        order: 1;
    }
}

/* Beyond the Beach Banner */
/* css/views/index.css */
.beyond-beach {
    background: #eef2f6;
    padding: 60px 0;
    margin-top: 120px; /* Separación añadida */
    text-align: center;
}


.beyond-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 4vw, 32px);
    /* Slightly smaller font */
    font-weight: 700;
    color: #22223A;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    /* Reduced spacing */
}

.beyond-line {
    width: 60px;
    height: 8px;
    background: #22223A;
    margin: 0 auto;
}

/* Full Width Banner Image */
.full-banner {
    width: 100%;
    height: auto;
    /* Scale with image to show it completely */
    background: #ffffff;
    line-height: 0;
    /* Remove potential gap */
}

.full-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA Section */
.cta-playa {
    padding: 0 0 120px 0;
    /* Removed top padding */
    background: #ffffff;
    text-align: center;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 4vw, 35px);
    font-weight: 700;
    color: #22223A;
    line-height: 1.2;
    margin-bottom: 25px;
}

.cta-line {
    width: 80px;
    height: 8px;
    background: #22223A;
    margin: 0 auto 40px;
}

.cta-text {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-text p {
    font-family: 'Poppins light', 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 30px;
    font-weight: 300;
    text-align: left;
}

/* Section 2: Contact Section */
.contact-section {
    background: #22223A;
    color: #ffffff;
    padding: 35px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.contact-headline {
    font-family: 'Poppins', 'Outfit', sans-serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 15px;
}

.contact-subheadline {
    font-family: 'Poppins light', 'Poppins', 'Outfit', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
    max-width: 580px;
    /* Limit width to align with title */
    font-weight: 300;
}

.contact-details {
    margin-top: 35px;
}

.contact-detail-row {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Poppins', 'Outfit', sans-serif;
    font-size: 16px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.form-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}

.form-subheading {
    font-family: 'Poppins light', 'Poppins', 'Outfit', sans-serif;
    font-size: 15px;
    opacity: 0.7;
    margin-bottom: 25px;
    font-weight: 300;
}

.contact-form-final {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-final input,
.contact-form-final textarea {
    background: #CACBD7;
    /* Gray-blue background matching the image */
    border: none;
    padding: 15px 22px;
    border-radius: 10px;
    color: #22223A;
    /* Dark text for readability */
    font-family: 'Poppins', 'Outfit', sans-serif;
    font-size: 16px;
}

.contact-form-final input::placeholder,
.contact-form-final textarea::placeholder {
    color: #22223A;
    /* Darker placeholder */
}

.contact-form-final textarea {
    height: 120px;
    resize: none;
}

.form-footer-final {
    display: flex;
    justify-content: flex-end;
}

.btn-submit {
    background: #ffffff;
    color: #22223A;
    padding: 10px 20px;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover {
    background: #CACBD7;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .contact-details {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .contact-detail-row {
        flex-direction: column;
        gap: 25px;
    }

    .contact-subheadline {
        margin: 0 auto 40px;
    }

    .form-footer-final {
        justify-content: center;
    }

    .travel-card {
        margin: 0 20px;
        border-radius: 60px 60px 0 0;
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }

    .hero__content {
        padding: 60px 20px;
        text-align: center;
    }

    .discover-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rhythm-overlay-box {
        position: relative;
        width: 100%;
        max-width: none;
        bottom: 0;
        right: 0;
        padding: 40px 20px;
        text-align: center;
    }

    .rhythm-media img {
        height: 350px;
    }

    .travel-info {
        padding-top: 60px;
    }

    .contact-section {
        padding: 20px 0;
    }
}

@media (max-width: 1024px) {
    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero__content {
        padding: 120px 20px 60px;
    }

    .hero__logo-center {
        top: 40px;
    }
}

@media (max-width: 768px) {
    .hero__logo-center {
        top: 40px;
    }

    .hero-logo-icon {
        width: 120px;
        /* Reduced size on mobile too */
    }
}

/* Base Transition Variable */
:root {
    --transition-smooth: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Animations Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Selector de Idioma Minimalista (Superior) */
.lang-selector-top {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    z-index: 100;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
}

.lang-link-top {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 300;
}

.lang-link-top:hover,
.lang-link-top.is-active {
    color: #ffffff;
    font-weight: 700;
}

.lang-divider-top {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Global strong style for index */
strong {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}