/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1DABB8;
    --color-secondary: #F9A826;
    --color-dark: #2C3E50;
    --color-light: #ECF0F1;
    --color-white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #1DABB8 0%, #16899A 100%);
    --gradient-secondary: linear-gradient(135deg, #F9A826 0%, #E39310 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 90px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-plane {
    font-size: 80px;
    animation: fly 2s ease-in-out infinite;
}

@keyframes fly {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(-10deg);
    }
    75% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 8px;
    background: rgba(29, 171, 184, 0.1);
    padding: 6px;
    border-radius: 50px;
    border: 2px solid var(--color-primary);
}

.lang-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.lang-btn .flag {
    font-size: 24px;
    display: block;
    line-height: 1;
}

.lang-btn:hover {
    opacity: 1;
    background: rgba(29, 171, 184, 0.1);
    transform: scale(1.1);
}

.lang-btn.active {
    opacity: 1;
    background: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.lang-btn.active .flag {
    animation: flagWave 0.5s ease;
}

@keyframes flagWave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

@keyframes flagWave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

/* Translation Animation */
[data-translate] {
    transition: opacity 0.3s ease;
}

body.translating [data-translate] {
    opacity: 0.5;
}

.btn-whatsapp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-whatsapp-header:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path fill="rgba(255,255,255,0.05)" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
    background-size: cover;
    animation: wave 20s ease-in-out infinite;
    z-index: 2;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(29, 171, 184, 0.80) 0%,
        rgba(249, 168, 38, 0.70) 100%
    );
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-white);
    padding: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Animaciones de entrada */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s 0.3s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s 0.6s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-white);
    border-radius: 15px;
    position: relative;
    opacity: 0.8;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 24px;
        opacity: 0;
    }
}

/* Destinos Section */
.destinos {
    padding: 100px 0;
    background: var(--color-light);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 60px;
    font-weight: 300;
}

.destinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.destino-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    min-height: 750px;
}

.destino-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.destino-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.destino-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.destino-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destino-card:hover .destino-image img {
    transform: scale(1.1);
}

.destino-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
}

.destino-badge {
    background: var(--gradient-secondary);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.destino-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.destino-content h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.destino-description {
    color: var(--color-dark);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.destino-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    flex-grow: 1;
}

.destino-features li {
    padding: 8px 0;
    color: var(--color-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.destino-extra {
    background: rgba(29, 171, 184, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.destino-extra-cancun {
    background: rgba(249, 168, 38, 0.1);
}

.destino-extra-dubai {
    background: rgba(147, 51, 234, 0.1);
}

.highlight {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.small-text {
    font-size: 0.9rem;
    color: var(--color-dark);
    line-height: 1.6;
}

.cta-text {
    color: var(--color-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.btn-destino {
    display: block;
    width: 100%;
    background: var(--gradient-primary);
    color: var(--color-white);
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-destino:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Verano Section */
.verano-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0066CC 0%, #00AAFF 100%);
    position: relative;
    overflow: hidden;
}

.verano-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.verano-content {
    text-align: center;
    color: var(--color-white);
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(0.9);
}

.verano-content.aos-animate {
    opacity: 1;
    transform: scale(1);
    transition: all 0.6s ease;
}

.verano-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.verano-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 40px;
    opacity: 0.95;
}

.verano-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.verano-feature {
    text-align: center;
}

.verano-feature .icon {
    font-size: 60px;
    display: block;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

.verano-feature p {
    font-size: 1.2rem;
    font-weight: 600;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.btn-verano {
    display: inline-block;
    background: var(--color-white);
    color: #0066CC;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    margin-top: 20px;
}

.btn-verano:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20BA5A;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-secondary);
}

.footer-phone,
.footer-whatsapp {
    display: block;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.1rem;
    margin: 10px 0;
    transition: var(--transition);
}

.footer-phone:hover,
.footer-whatsapp:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 140px;
    }

    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo-container {
        order: 1;
        flex: 0 0 auto;
    }

    .language-selector {
        order: 2;
        flex: 0 0 auto;
        padding: 6px;
    }

    .btn-whatsapp-header {
        order: 3;
        flex: 1 1 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .logo {
        height: 50px;
    }

    .hero {
        min-height: 500px;
    }

    .destinos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .destino-card {
        min-height: auto;
    }

    .verano-features {
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .lang-btn .flag {
        font-size: 20px;
    }

    .lang-btn {
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .destino-content h3 {
        font-size: 1.6rem;
    }

    .verano-feature .icon {
        font-size: 50px;
    }

    .language-selector {
        gap: 5px;
        padding: 4px;
    }

    .lang-btn .flag {
        font-size: 18px;
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}