/* ============================================ */
/* TURISMO VIVENCIAL - ESTILOS PRINCIPALES      */
/* Responsive Design + Transiciones + Accesibilidad */
/* ============================================ */

:root {
    /* Paleta de colores - Lujo Sostenible */
    --primary-dark: #1a2a3a;
    --primary-mid: #2c3e50;
    --accent-gold: #c6a43b;
    --accent-gold-light: #e8d5a3;
    --accent-terracotta: #d47a5a;
    --text-dark: #2c2c2c;
    --text-light: #f5f5f5;
    --bg-light: #faf9f7;
    --bg-offwhite: #f5f2ed;
    --white: #ffffff;
    --success: #2e7d64;
    --error: #c95a4a;
    
    /* Sombras */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.16);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-slow: 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* ============================================ */
/* HEADER Y NAVEGACIÓN                          */
/* ============================================ */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 42, 58, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(198, 164, 59, 0.3);
}

.main-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(26, 42, 58, 0.98);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-icon {
    color: var(--accent-gold);
    margin-right: 4px;
}

.logo-text {
    font-weight: 600;
}

.logo .highlight {
    color: var(--accent-gold);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}

/* ============================================ */
/* HERO SECTION                                 */
/* ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid));
    overflow: hidden;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(198, 164, 59, 0.2);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--accent-gold-light);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(198, 164, 59, 0.4);
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.hero-highlight {
    color: var(--accent-gold);
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: 2px solid var(--accent-gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================ */
/* SECCIONES GENERALES                          */
/* ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    background: rgba(198, 164, 59, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================ */
/* FASE 1: DESTINOS - BLOQUES SEMÁNTICOS        */
/* ============================================ */

.destinos-section {
    padding: 5rem 0;
}

.destinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.destino-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.destino-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.destino-figure {
    margin: 0;
    position: relative;
    overflow: hidden;
}

.destino-imagen {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-normal);
}

.destino-card:hover .destino-imagen {
    transform: scale(1.06);
}

.destino-caption {
    padding: 1.5rem;
    background: var(--white);
    position: relative;
}

.caption-badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.destino-caption h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.destino-caption p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.caption-features {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--accent-terracotta);
    font-weight: 500;
}

/* ============================================ */
/* FASE 3: TABLA COMPARATIVA                    */
/* Pseudoclases para dinamizar lectura          */
/* ============================================ */

.tarifas-section {
    padding: 5rem 0;
    background: var(--bg-offwhite);