/* ========================================
   SISTEMA DE TEMAS CON VARIABLES CSS
   ======================================== */

/* TEMA 1: RÚSTICO NATURAL */
.theme-rustic {
    --color-primary: #FF6B6B;
    --color-secondary: #4ECDC4;
    --color-accent: #FFE66D;
    --color-accent-light: #FFF4A3;
    --color-bg: #FFF9F0;
    --color-bg-alt: #E8F4F8;
    --color-text: #2C3E50;
    --color-text-light: #5D6D7E;
    --color-white: #FFFFFF;
    
    --font-display: 'Nunito', sans-serif;
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --radius-xl: 50px;
    
    --shadow-sm: 0 4px 12px rgba(255, 107, 107, 0.15);
    --shadow-md: 0 8px 24px rgba(255, 107, 107, 0.2);
    --shadow-lg: 0 16px 48px rgba(255, 107, 107, 0.25);
    
    --spacing-unit: 10px;
    --transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* TEMA 2: MINIMALISTA */
.theme-minimal {
    --color-primary: #FF6B6B;
    --color-secondary: #4ECDC4;
    --color-accent: #FFE66D;
    --color-accent-light: #FFF4A3;
    --color-bg: #FFF9F0;
    --color-bg-alt: #E8F4F8;
    --color-text: #2C3E50;
    --color-text-light: #5D6D7E;
    --color-white: #FFFFFF;
    
    --font-display: 'Nunito', sans-serif;
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --radius-xl: 50px;
    
    --shadow-sm: 0 4px 12px rgba(255, 107, 107, 0.15);
    --shadow-md: 0 8px 24px rgba(255, 107, 107, 0.2);
    --shadow-lg: 0 16px 48px rgba(255, 107, 107, 0.25);
    
    --spacing-unit: 10px;
    --transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* TEMA 3: COLORIDO */
.theme-colorful {
    --color-primary: #FF6B6B;
    --color-secondary: #4ECDC4;
    --color-accent: #FFE66D;
    --color-accent-light: #FFF4A3;
    --color-bg: #FFF9F0;
    --color-bg-alt: #E8F4F8;
    --color-text: #2C3E50;
    --color-text-light: #5D6D7E;
    --color-white: #FFFFFF;
    
    --font-display: 'Nunito', sans-serif;
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --radius-xl: 50px;
    
    --shadow-sm: 0 4px 12px rgba(255, 107, 107, 0.15);
    --shadow-md: 0 8px 24px rgba(255, 107, 107, 0.2);
    --shadow-lg: 0 16px 48px rgba(255, 107, 107, 0.25);
    
    --spacing-unit: 10px;
    --transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}


/* ========================================
   RESET Y BASE
   ======================================== */

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

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}



/* ========================================
   NAVEGACIÓN
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.theme-minimal .navbar {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.theme-colorful .navbar {
    background: rgba(255, 249, 240, 0.75);
}

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

/* Nuevo estilo para el logo en 2 líneas */
.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio entre imagen y texto */
    text-decoration: none; /* Quitar subrayado si lo tuviera */
}

.logo-text-container {
    display: flex;
    flex-direction: column; /* Pone uno sobre otro */
    line-height: 1.1; /* Juntar un poco las líneas */
    justify-content: center;
}

.logo-subtitle {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent); /* O un gris suave */
}

.logo-title {
    font-family: var(--font-display);
    font-size: 20px; /* Un poco más grande para destacar */
    font-weight: 800;
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.hamburger {
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--color-text);
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-reservar {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    transition: all var(--transition);
}

.btn-reservar:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* ========================================
   HERO CON CORTE DIAGONAL
   ======================================== */

.hero {
    height: 90vh;
    min-height: 750px;
    position: relative;
    background-image: url('img/fondohero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-diagonal {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom, transparent 0%, transparent 40%, var(--color-bg) 100%);
    clip-path: polygon(0 40%, 100% 10%, 100% 100%, 0 100%);
    z-index: 2;
    transition: background var(--transition);
    pointer-events: none;
}

.theme-colorful .hero-diagonal {
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}

.theme-minimal .hero-diagonal {
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
    height: 100px;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 40px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-location {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent-light);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-title-line {
    display: block;
    animation: fadeInUp 1s ease-out both;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.theme-colorful .hero-title-line:nth-child(2) {
    color: var(--color-accent);
}

.hero-description {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
    padding: 18px 40px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 16px;
    transition: all var(--transition);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    padding: 18px 40px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 16px;
    border: 2px solid var(--color-white);
    transition: all var(--transition);
}

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


/* ========================================
   SECCIÓN NUESTRA HISTORIA (NUEVA)
   ======================================== */

.section-historia {
    background: var(--color-bg);
    padding: 80px 0;
}

.historia-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.historia-content {
    position: relative;
}

.historia-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.historia-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-light);
    text-align: justify;
}

.historia-highlight {
    background: rgba(255, 230, 109, 0.15);
    border-left: 4px solid var(--color-accent);
    padding: 24px;
    margin: 30px 0;
    border-radius: var(--radius-md);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.historia-highlight svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.historia-highlight p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
}

.historia-highlight strong {
    color: var(--color-primary);
}

.historia-visual {
    position: relative;
}

.historia-image-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--color-white);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.historia-image-main img {
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
}

.historia-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 24px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}


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

.section {
    padding: 50px 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.theme-minimal .section-tag {
    border-bottom: 3px solid var(--color-primary);
    padding-bottom: 4px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}


/* ========================================
   SLIDERS - ESTILOS GENERALES
   ======================================== */

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slider-slide {
    min-width: 100%;
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1 !important;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.slider-btn-prev {
    left: 20px;
}

.slider-btn-next {
    right: 20px;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(248, 134, 134, 0.5);
    cursor: pointer;
    transition: all var(--transition);
}

.slider-dot.active {
    background: rgba(245, 123, 123, 0.5);
    width: 32px;
    border-radius: 6px;
}

.slider-dot:hover {
    background: rgba(248, 134, 134, 0.5);
}


/* ========================================
   SLIDER DE CABAÑAS
   ======================================== */

.section-cabanas {
    background: var(--color-bg-alt);
}

.cabanas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.cabin-slider {
    position: relative;
    height: 400px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.theme-minimal .cabin-slider {
    border: 3px solid var(--color-primary);
}

.cabin-slider .slider-container {
    height: 100%;
}

.cabin-slider .slider-slide {
    height: 400px;
}

.cabin-info {
    position: relative;
}

.cabin-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.cabin-capacity {
    font-size: 18px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 20px;
}

.cabin-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.cabin-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.85);
}

.theme-minimal .feature-box {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.theme-colorful .feature-box:nth-child(odd) {
    background: rgba(255, 249, 240, 0.7);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-box h3 .feature-item h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.5;
}


/* ========================================
   SECCIÓN MOSAICO PISCINAS
   ======================================== */

.section-mosaico {
    padding: 60px 20px;
    background-color: var(--color-bg);
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.mosaic-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.mosaic-item:hover {
    transform: scale(1.02);
    z-index: 2;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.item-2 {
    grid-column: span 1;
    grid-row: span 1;
}

.item-3 {
    grid-column: span 1;
    grid-row: span 2;
}

.item-4 {
    grid-column: span 1;
    grid-row: span 1;
}

.item-5 {
    grid-column: span 2;
    grid-row: span 1;
}

.pools-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.pool-feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
    text-align: center;
}

.pool-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.85);
}

.theme-minimal .pool-feature-card {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.theme-colorful .pool-feature-card:nth-child(odd) {
    background: rgba(232, 244, 248, 0.7);
}

.pool-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--color-accent);
}

.pool-icon svg {
    width: 100%;
    height: 100%;
}

.pool-feature-card h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.pool-feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-light);
}


/* ========================================
   SECCIÓN RESTAURANTE
   ======================================== */

.section-restaurante {
    background: var(--color-bg-alt);
}

.restaurant-info {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.restaurant-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.restaurant-description strong {
    color: var(--color-primary);
    font-weight: 700;
}


/* ========================================
   SECCIÓN CAMPING
   ======================================== */

.section-camping {
    background: var(--color-bg-alt);
}

.camping-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.camping-content {
    position: relative;
}

.camping-lead {
    font-size: 20px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.camping-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
}

.feature-item:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.85);
}

.theme-minimal .feature-item {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.feature-icon-large {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--color-accent);
}

.feature-icon-large svg {
    width: 100%;
    height: 100%;
}

.feature-text h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.5;
}

.camping-image {
    position: relative;
    height: 400px;
}

.camping-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 1 !important;
}

.theme-minimal .camping-image img {
    border-radius: 0;
    transform: perspective(1000px) rotateY(-3deg);
}

.theme-colorful .camping-image {
    transform: rotate(-2deg);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.theme-minimal .image-decoration {
    display: none;
}


/* ========================================
   SECCIÓN SERVICIOS
   ======================================== */

.section-servicios {
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.85);
}

.theme-minimal .service-card {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.theme-colorful .service-card:nth-child(odd) {
    background: rgba(232, 244, 248, 0.7);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--color-accent);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-light);
}


/* ========================================
   SECCIÓN UBICACIÓN
   ======================================== */

.section-ubicacion {
    background: var(--color-bg-alt);
}

.map-container {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.theme-minimal .map-container {
    border-radius: 0;
    border: 3px solid var(--color-primary);
}

.map-container iframe {
    display: block;
}

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.location-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all var(--transition);
}

.location-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.85);
}

.theme-minimal .location-item {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.location-icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.location-icon svg {
    width: 100%;
    height: 100%;
}

.location-item h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.location-item p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.location-item a {
    color: var(--color-accent);
    font-weight: 600;
    transition: color var(--transition);
}

.location-item a:hover {
    color: var(--color-primary);
}


/* ========================================
   CTA SECTION
   ======================================== */

.section-cta {
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 60px 40px;
}

.theme-colorful .section-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-large {
    background: var(--color-white);
    color: var(--color-primary);
    padding: 20px 48px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-cta-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.btn-cta-large svg {
    width: 24px;
    height: 24px;
}

.btn-secondary-cta {
    background: transparent;
    color: var(--color-white);
    padding: 20px 48px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 18px;
    border: 2px solid var(--color-white);
    transition: all var(--transition);
}

.btn-secondary-cta:hover {
    background: var(--color-white);
    color: var(--color-primary);
}


/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 50px 40px 30px;
}

.theme-minimal .footer {
    background: var(--color-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer a {
    color: rgba(255,255,255,0.8);
    transition: color var(--transition);
}

.footer a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
}


/* ========================================
   RESPONSIVE (CORREGIDO PARA VERCEL/MÓVIL)
   ======================================== */

@media (max-width: 1024px) {
    .camping-layout, .cabanas-grid, .footer-grid, .historia-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cabin-slider, .pools-slider, .restaurant-slider {
        height: 400px;
    }
    
    .cabin-features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* CORRECCIÓN: Mostrar menú hamburguesa en tablets */
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        padding: 20px;
        gap: 25px;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Responsive historia */
    .historia-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* ARREGLO DEL HERO */
    .hero {
        background-attachment: scroll !important;
        background-position: center center !important;
        height: 90dvh;
        min-height: 600px;
    }

    /* ARREGLO DE NAVEGACIÓN */
    .nav-container {
        padding: 16px 20px;
    }
    
    /* CORRECCIÓN: Asegurar que el menú hamburguesa sea visible */
    .menu-toggle {
        display: flex !important;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        padding: 20px;
        gap: 25px;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }

    /* ARREGLO DE SLIDERS */
    .cabin-slider {
        height: 280px !important;
    }

    .slider-slide img {
        object-fit: cover;
        object-position: center;
    }

    /* BOTONES DEL SLIDER */
    .slider-btn {
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.6);
    }
    
    /* MOSAICO RESPONSIVE */
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 90px;
        gap: 10px;
    }

    .item-1 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .item-2 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .item-3 {
        grid-column: span 1;
        grid-row: span 2;
    }

    .item-4 {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .item-5 {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    /* Responsive historia */
    .section-historia {
        padding: 60px 0;
    }
    
    .historia-text p {
        font-size: 15px;
        text-align: left;
    }
    
    .historia-image-main {
        padding: 40px;
    }
    
    .historia-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .stat-item {
        padding: 16px 12px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .camping-image {
        height: 250px;
    }

    .cabin-slider {
        height: 250px !important;
    }
    
    /* Responsive historia móvil pequeño */
    .historia-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .historia-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .historia-highlight svg {
        margin: 0 auto;
    }
}

/* ======================================================
   CORRECCIÓN PARA FOTOS VERTICALES (Adapter)
   ====================================================== */

/* 1. Regla para que estas fotos NO se recorten (se ven de lejos) */
.slider-slide img.foto-vertical {
    object-fit: contain !important; /* Muestra la foto entera */
    background-color: #e8e8e8; /* Color de fondo para los espacios vacíos */
}

/* 2. Ajuste de altura del Slider según el dispositivo */

/* EN COMPUTADOR (Pantalla ancha) */
.cabin-slider, .restaurant-slider {
    height: 500px;
}

/* EN CELULAR (Pantalla vertical) */
@media (max-width: 768px) {
    .cabin-slider, 
    .restaurant-slider {
        height: 450px !important;
    }

    .slider-slide img {
        height: 100%;
        width: 100%;
    }
}