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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--charcoal) 50%, var(--charcoal-alt) 100%);
    overflow-x: hidden;
}

/* ===== VARIABLES ESPECÍFICAS PARA AGENCIA ===== */
:root {
    /* Variables adicionales específicas para la sección de agencia */
    --text-primary: var(--white);
    --text-secondary: var(--pearl);
    --text-muted: #b0b0b0;
    --border-gray: rgba(255, 255, 255, 0.1);
    --dark-gray: var(--charcoal);
    --gradient-primary: linear-gradient(135deg, var(--primary-black) 0%, var(--charcoal) 50%, var(--charcoal-alt) 100%);
    --gradient-dark: linear-gradient(180deg, var(--primary-black) 0%, var(--charcoal) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(28, 28, 28, 0.6) 100%);
    --gradient-gold: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-alt) 100%);
    --shadow-card: var(--shadow);
    --shadow-dark: var(--shadow-lg);
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--primary-gold);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary-black); /* Fallback color */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    /* Removemos la imagen de fondo de Unsplash */
}

/* Video de fondo que reemplaza la imagen */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Overlay más suave para mejor visibilidad del video */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--primary-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-gold);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 14px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-black);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-gray);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-2px);
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--primary-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== TOURS SECTION ===== */
.tours {
    padding: 100px 0;
    background: var(--gradient-dark);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border-gray);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gold);
    color: var(--primary-black);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tour-card {
    background: var(--dark-gray);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-gray);
    position: relative;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-gold);
}

.tour-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.1);
}

.tour-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.tour-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tour-badge.popular {
    background: rgba(255, 215, 0, 0.9);
    color: var(--primary-black);
}

.tour-badge.new {
    background: rgba(50, 205, 50, 0.9);
    color: var(--primary-black);
}

.tour-badge.sobrevuelo {
    background: rgba(205, 127, 50, 0.9);
    color: var(--primary-black);
}

.tour-badge.tradicional {
    background: rgba(255, 143, 0, 0.9);
    color: var(--primary-black);
}



.tour-price {
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary-gold);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.tour-content {
    padding: 30px;
}

.tour-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.tour-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.tour-details {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 13px;
}

.detail i {
    color: var(--primary-gold);
    font-size: 12px;
}

.tour-features {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature {
    background: rgba(201, 162, 39, 0.1);
    color: var(--primary-gold);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.tour-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-gold);
    color: var(--primary-black);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.tour-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: var(--primary-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.contact-text {
    text-align: left;
}

.contact-text .section-badge {
    margin-bottom: 20px;
}

.contact-text .section-title {
    margin-bottom: 20px;
    text-align: left;
}

.contact-text .section-subtitle {
    text-align: left;
    margin: 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--dark-gray);
    border-radius: 15px;
    border: 1px solid var(--border-gray);
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--primary-gold);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--primary-black);
    font-size: 18px;
}

.contact-info h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 80vh;
        padding: 60px 0;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .tours {
        padding: 60px 0;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .tour-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .contact-text {
        text-align: center;
    }
    
    .contact-text .section-title,
    .contact-text .section-subtitle {
        text-align: center;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-method:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 10px;
        padding: 6px 16px;
    }
    
    .section-badge {
        font-size: 10px;
        padding: 6px 16px;
    }
    
    .tour-content {
        padding: 20px;
    }
    
    .tour-features {
        gap: 5px;
    }
    
    .feature {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-alt);
}

/* ===== SELECTION STYLING ===== */
::selection {
    background: var(--primary-gold);
    color: var(--primary-black);
}

::-moz-selection {
    background: var(--primary-gold);
    color: var(--primary-black);
}

/* Control de audio */
.audio-control {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.audio-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.audio-btn:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    transform: scale(1.1);
}