:root {
    /* Color Palette */
    --color-brown: #452B22;       /* Marrón principal */
    --color-brown-light: #634b42; /* Marrón texto secundario */
    --color-ocre: #E7DBD6;        /* Ocre / fondo claro de tarjetas */
    --color-btn: #C24616;         /* Color botones */
    --color-btn-dark: #a33a12;    /* Color botones hover */

    /* Legacy aliases (mantienen compatibilidad con el resto del CSS) */
    --primary-green: var(--color-btn);
    --primary-green-dark: var(--color-btn-dark);
    --footer-brown: var(--color-brown);

    --bg-dark: #100708;
    --text-white: #ffffff;
    --text-light: #fefefe;
    --text-muted: #bcbcbc;
    --border-color: rgba(255, 255, 255, 0.1);
    --header-overlay: rgba(231, 219, 214, 0.6);
    --header-bg: #ffffff;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- Navigation & Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-overlay);
    height: 120px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.main-header.sticky {
    position: fixed;
    height: 80px;
    background-color: rgba(231, 219, 214, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-header.sticky .nav-container {
    padding: 10px 30px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.main-header.sticky .logo-white img {
    height: 45px;
}

.nav-container {
    background: var(--header-bg);
    border-radius: 10px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    margin-left: 40px;
    transition: padding 0.3s ease;
}

.logo-white img {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

.main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-green);
}

.main-nav a.active {
    color: var(--color-brown) !important;
    position: relative;
    font-weight: 700;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-brown);
}

.btn-reserve {
    background-color: var(--primary-green);
    color: white !important;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: capitalize;
}

.btn-reserve:hover {
    background-color: var(--primary-green-dark);
}

.lang-switcher {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.lang-switcher a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    color: #444;
}

.whatsapp-nav {
    font-size: 24px;
    color: #25D366;
    transition: transform 0.3s;
}

.whatsapp-nav:hover {
    transform: scale(1.1);
    color: #128C7E;
}

/* --- Hero Slider --- */
.swiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 100px;
    font-weight: 800;
    margin: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease 0.5s;
    line-height: 1;
}

.slide-content p {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 5px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.8s;
}

.swiper-slide-active .slide-content h2,
.swiper-slide-active .slide-content p {
    opacity: 1;
    transform: translateY(0);
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

/* Loader Bar */
.swiper-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 20;
}

.swiper-progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: #fff;
    opacity: 0.5;
    /* 50% transparency */
}

/* --- Sections --- */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
}

.duna-camp-intro {
    background-color: var(--bg-dark);
    padding: 80px 0;
}

.intro-content h2 {
    font-size: 50px;
    font-weight: 400;
    color: var(--color-brown);
    margin-bottom: 30px;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-white);
}

.tripadvisor-badge img {
    max-width: 250px;
}

/* Feature Icons with round back */
.feature-icon-box {
    text-align: center;
    margin-bottom: 20px;
}

.feature-icon-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.feature-icon-circle img {
    max-width: 85px;
    max-height: 85px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.feature-icon-circle:hover {
    background: var(--primary-green);
    transform: translateY(-5px);
}

.feature-icon-box h5 {
    font-size: 22px;
    font-weight: 400;
    color: var(--text-white);
}

/* --- Testimonials Card --- */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin: 10px;
    height: 100%;
}

/* --- Map & Location --- */
.location-img img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.map-container img {
    width: 100%;
    border-radius: 10px;
}

/* --- Footer --- */
footer {
    background-color: var(--footer-brown);
    padding: 80px 0 40px;
    color: var(--text-muted);
}

footer h5 {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 25px;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

footer ul a:hover {
    color: var(--text-white);
}

.copyright {
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

/* --- Mobile Adjustments --- */
@media (max-width: 991px) {
    .nav-container {
        margin: 0 15px;
    }

    .main-nav {
        display: none;
        /* Add JS toggle later */
    }

    .slide-content h2 {
        font-size: 60px;
    }

    .slide-content p {
        font-size: 20px;
    }
}

/* --- Scroll to Top Button --- */
.btn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    color: white;
    border-radius: 50%;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 2000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-scroll-top:hover {
    background-color: var(--primary-green-dark);
    transform: translateY(-5px);
    color: white;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 50px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: pulse-whatsapp 2s infinite;
    z-index: -1;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* --- Actividades Page --- */
.hero-actividades {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-actividades::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-actividades h1 {
    color: var(--text-white);
    font-size: 100px;
    font-weight: 800;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
    margin: 0;
}

.actividades-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.actividad-card {
    background-color: var(--color-ocre);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--color-brown);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actividad-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.actividad-card .img-container {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.actividad-card .img-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.actividad-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.actividad-card p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
    color: var(--color-brown);
}

.actividad-card .btn-reservar {
    background-color: var(--primary-green);
    color: white !important;
    padding: 12px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
}

.actividad-card .btn-reservar:hover {
    background-color: var(--primary-green-dark);
}

@media (max-width: 768px) {
    .hero-actividades h1 {
        font-size: 60px;
    }
}

/* --- Corporativo & Albumes --- */
.corporativo-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.corporativo-texto-box {
    text-align: left; /* No centrado */
    margin-bottom: 50px;
}

.corporativo-texto-box h2 {
    color: var(--color-brown);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
}

.corporativo-texto-box .texto-contenido {
    color: var(--color-brown);
    font-size: 18px;
    line-height: 1.8;
}

.btn-conversar {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid var(--color-brown);
    color: var(--color-brown) !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.btn-conversar:hover {
    background-color: var(--color-brown);
    color: #fff !important;
}

.album-grid-title {
    color: var(--color-brown);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.album-grid-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-green);
}

.album-item-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    cursor: pointer;
}

.album-item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.album-item-card .album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(69, 40, 34, 0.3); /* --color-brown 30% */
    display: flex;
    align-items: flex-end;
    padding: 25px;
    transition: background-color 0.3s ease;
}

.album-item-card .album-overlay h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.album-item-card:hover img {
    transform: scale(1.1);
}

.album-item-card:hover .album-overlay {
    background-color: rgba(69, 40, 34, 0.5);
}

/* Album Detalle */
.breadcrumb-item a {
    color: var(--primary-green);
    text-decoration: none;
}

.foto-album-item {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    position: relative;
}

.foto-album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.foto-album-item:hover img {
    transform: scale(1.08);
}

.foto-album-item .overlay-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.foto-album-item .overlay-zoom i {
    color: white;
    font-size: 30px;
}

.foto-album-item:hover .overlay-zoom {
    opacity: 1;
}

/* Mobile / Cellular Spacing Enhancements */
@media (max-width: 767.98px) {
    footer {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    .hero-actividades h1 {
        font-size: 2.8rem !important;
        line-height: 1.2 !important;
        padding: 0 15px !important;
    }
    
    .actividades-section {
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    
    .corporativo-section {
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    
    .corporativo-texto-box h2 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .album-grid-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
}