/* --- CSS Variables & Theming --- */
:root {
    --primary-color: #d4af37; /* Elegant Gold */
    --primary-dark: #b89528;
    --text-dark: #2c3e50; /* Deep blue/grey for text */
    --text-light: #5a6c7d;
    --bg-light: #fdfbf7; /* Historic warm parchment */
    --bg-white: #ffffff;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 1.5px;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 10rem 0 5rem 0; /* Aumentado para despejar el espacio del navbar fijo */
}

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

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }

.btn-primary, .btn-secondary, .btn-book {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled .logo h1, .navbar.scrolled .nav-links li a {
    color: var(--text-dark);
}

.logo h1 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
}

.logo-img {
    height: auto;
    max-height: 90px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: all 0.3s ease;

    transform: scale(5);
    transform-origin: left center;

    margin-left: -180px;
    margin-top: -15px;
    margin-right: 20px;

    filter: drop-shadow(0px 0px 2px rgba(255, 255, 255, 1)) drop-shadow(0px 0px 15px rgba(255, 255, 255, 0.9));
}

.navbar.scrolled .logo-img {
    max-height: 90px;
    transform: scale(5);
    margin-left: -180px;
    margin-top: -10px;
    margin-right: 20px;
    filter: brightness(0.6) contrast(1.5) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.4));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.15rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* Turco: Ajustado para mantener un tamaño similar al español sin desbordar */
[lang="tr"] .nav-links {
    gap: clamp(0.4rem, 0.8vw, 1rem);
}
[lang="tr"] .nav-links li a {
    font-size: clamp(1.05rem, 1.15vw, 1.15rem);
    letter-spacing: 0px;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.navbar.scrolled .btn-book {
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.btn-book {
    border: 1px solid #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
}

.btn-book:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff !important;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .menu-toggle {
    color: var(--text-dark);
}

/* --- Language Selector --- */
.lang-select {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.lang-select option {
    color: var(--text-dark);
    background: #fff;
}

.navbar.scrolled .lang-select {
    color: var(--text-dark);
    border-color: var(--text-light);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left align like Sultana */
    text-align: left;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.05) translateX(0);
    transition: opacity 1.5s ease-in-out, transform 15s linear;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.1) translateX(-2%);
    transition: opacity 1.5s ease-in-out, transform 10s linear;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 20, 30, 0.4); /* Elegant dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 5%;
    /* Empujamos el texto general del hero hacia abajo pero dejándolo equilibrado */
    margin-top: 175px; 
    animation: fadeIn 1.5s ease;
}

.hero-wave {
    position: absolute;
    bottom: -5px; /* Prevent 1px gap */
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}
.hero-wave svg {
    display: block;
    width: 100%;
    height: 120px; 
}
@media (max-width: 768px) {
    .hero-wave svg { height: 60px; }
}

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

.eyebrow {
    color: var(--primary-color);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.hero-title {
    color: #fff;
    /* Ligeramente más pequeño según solicitado (reducción proporcional) */
    font-size: clamp(2.2rem, 4vw + 0.5rem, 3.8rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
    word-wrap: break-word;
}

.hero-subtitle {
    color: #e0e0e0;
    font-size: clamp(1rem, 2vw + 0.5rem, 1.2rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* --- Hero Navigation Controls --- */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(4px);
}

.hero-nav-btn:hover {
    background: rgba(212, 175, 55, 0.6);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev { left: 2%; }
.hero-nav-next { right: 2%; }

@media (max-width: 768px) {
    .hero-nav-btn { width: 38px; height: 38px; font-size: 0.9rem; }
    .hero-nav-prev { left: 12px; }
    .hero-nav-next { right: 12px; }
}

.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* --- Dynamic Logo --- */
.logo-svg {
    color: #fff;
    transition: color 0.3s ease;
}
.navbar.scrolled .logo-svg {
    color: var(--text-dark);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-box {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateX(10px);
}

.feature-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- Tours Section --- */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tour-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.tour-img {
    position: relative;
    height: 250px;
}

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

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

.tour-price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
}

.tour-content {
    padding: 2rem;
}

.tour-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    line-height: 1.3;
}

.tour-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tour-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.2rem;
    font-size: 0.82rem;
    color: var(--text-light);
}

.tour-meta i { color: var(--primary-color); margin-right: 5px; }
.tour-next-date { font-weight: 600; }

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.8);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 20px 0;
    box-sizing: border-box;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.lightbox-img {
    max-height: 100%;
    max-width: 95%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    display: none;
    margin: auto;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 0;
    height: 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
}

@media only screen and (max-width: 700px) {
    .lightbox-img {
        max-width: 95%;
    }
}

/* --- Testimonials Section (Sultana Style) --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border-top: 4px solid var(--primary-color);
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.stars {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.test-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.test-name {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.test-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #4CAF50; /* Green verified color */
    font-weight: 600;
    margin-top: 5px;
}

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

.blog-post {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.blog-post img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
    text-align: left;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.blog-content h3 {
    margin: 0.5rem 0 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* --- Reservations Section --- */
.reserva-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-white);
    /* Patrón elegante histórico muy sutil incrustado en CSS */
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5z" fill="%23d4af37" fill-opacity="0.04" fill-rule="evenodd"/></svg>');
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.reserva-info .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #25D366;
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--font-body);
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.btn-whatsapp-large:hover {
    background-color: #20BA56;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.btn-whatsapp-large i {
    font-size: 1.8rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--text-dark);
    color: #e0e0e0;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact i {
    color: var(--primary-color);
}

.payments .payment-group {
    margin-bottom: 1rem;
}

.payments strong {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}

.payment-logos {
    font-size: 0.85rem;
    color: #bbb;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* --- Responsive Design (Consolidado) --- */
@media (max-width: 1100px) {
    /* Navbar & Mobile Menu */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 2rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
        gap: 1.5rem;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        max-height: 500px;
        opacity: 1;
        padding: 2rem 0;
    }

    .nav-links li a {
        color: var(--text-dark);
        font-weight: 600;
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1005;
        color: #fff;
        touch-action: manipulation;
        cursor: pointer;
    }

    .navbar {
        background: transparent;
        padding: 1rem 5%;
    }
    
    .navbar.scrolled {
        background: var(--bg-white);
    }
    
    .navbar.scrolled .menu-toggle,
    .navbar.scrolled .lang-select {
        color: var(--text-dark);
        border-color: var(--text-light);
    }
    
    .navbar .logo-img {
        max-height: 80px;
        transform: scale(4.4);
        margin-left: -90px;
        /* Logo blanco para el fondo transparente */
        filter: drop-shadow(0px 0px 2px rgba(255, 255, 255, 1)) drop-shadow(0px 0px 15px rgba(255, 255, 255, 0.9));
    }
    
    .navbar.scrolled .logo-img {
        max-height: 80px;
        transform: scale(4.4);
        margin-left: -90px;
        /* Logo oscuro para el fondo blanco */
        filter: brightness(0.6) contrast(1.5) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.4));
    }
}

@media (max-width: 992px) {
    /* Grids */
    .about-grid, .reserva-wrapper {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-features {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Spacing & Typography */
    .section {
        padding: 6rem 0 3rem 0;
    }
    .page-section {
        padding: 4rem 0 3rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    
    /* Hero */
    .hero-content {
        margin-top: 120px;
    }
    .page-hero-content {
        padding: 120px 1.5rem 2rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .contact p {
        justify-content: center;
    }
    .payment-logos {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Utilities */
    .container {
        width: 92%;
    }
    .form-group, .form-row {
        flex-direction: column;
    }
    
    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .reserva-wrapper {
        padding: 2rem 1rem;
    }
    .btn-whatsapp-large {
        width: 100%;
        padding: 1rem 1rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .page-hero-content h1 {
        font-size: 2.2rem;
    }
    .about-grid, .tour-grid, .testimonial-grid {
        gap: 1.5rem;
    }
}

/* --- Comparador de Tours --- */
.compare-btn {
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 8px;
    transition: var(--transition);
}
.compare-btn:hover,
.compare-btn.selected {
    background: var(--primary-color);
    color: #fff;
}
.tour-card-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.tour-card-actions .btn-secondary { margin: 0; flex: 1; }
.compare-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--text-dark);
    color: #fff;
    padding: 14px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.compare-bar.visible { transform: translateY(0); }
.compare-bar-tours {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.compare-bar-chip {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.compare-bar-chip button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.7;
}
.compare-bar-chip button:hover { opacity: 1; }
.compare-bar-actions { display: flex; gap: 1rem; align-items: center; }
.compare-bar-count { font-size: 0.85rem; opacity: 0.7; }
.compare-now-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}
.compare-now-btn:hover { background: var(--primary-dark); }
.compare-clear-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px 16px;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}
.compare-clear-btn:hover { border-color: #fff; }

/* Modal comparador */
.compare-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,0.8);
    overflow-y: auto;
    padding: 2rem 1rem;
}
.compare-modal.active { display: flex; align-items: flex-start; justify-content: center; }
.compare-modal-inner {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 1100px;
    overflow: hidden;
}
.compare-modal-header {
    background: var(--text-dark);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.compare-modal-header h2 { color: #fff; font-size: 1.3rem; margin: 0; }
.compare-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}
.compare-modal-close:hover { opacity: 1; }
.compare-table-wrap { overflow-x: auto; }
.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.compare-table th {
    background: var(--bg-light);
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    width: 25%;
}
.compare-table th img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    display: block;
}
.compare-table th h3 { font-size: 1rem; color: var(--text-dark); margin: 0 0 0.3rem; }
.compare-table th .compare-price {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
}
.compare-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    vertical-align: middle;
    font-size: 0.9rem;
    color: var(--text-light);
}
.compare-table tr td:first-child {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 160px;
}
.compare-table tr:hover td { background: #fafafa; }
.compare-table tr:hover td:first-child { background: var(--bg-light); }
.compare-check { color: #2ecc71; font-size: 1.1rem; }
.compare-cross  { color: #e74c3c; font-size: 1.1rem; }
.compare-table .btn-reserve {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}
.compare-table .btn-reserve:hover { background: var(--primary-dark); }

@media (max-width: 768px) {
    .compare-bar { flex-direction: column; gap: 0.8rem; text-align: center; }
    .compare-bar-tours { justify-content: center; }
}

/* --- WhatsApp Float Button --- */
/* Subido para no solaparse con el widget de Tawk.to (chat en vivo) */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px;  /* encima del chat de Tawk.to */
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 100px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

/* --- Tours Filter Bar --- */
.tours-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
    margin: 2.5rem 0 1rem;
    padding: 1.5rem 2rem;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(212,175,55,0.15);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

.filter-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.filter-btn {
    padding: 0.4rem 1rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: transparent;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.filter-select {
    padding: 0.45rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: transparent;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.filter-select:focus { border-color: var(--primary-color); }

.no-tours-msg {
    text-align: center;
    color: var(--text-light);
    padding: 3rem 0;
    font-style: italic;
}

/* --- Tour Detail Modal --- */
.tour-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(3px);
}

.tour-modal-content {
    position: relative;
    z-index: 1;
    background: var(--bg-white);
    border-radius: 16px;
    width: 94%;
    max-width: 960px;
    max-height: 92vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.tour-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.tour-modal-close:hover { background: rgba(0,0,0,0.8); }

/* Gallery side */
.tmodal-gallery {
    position: sticky;
    top: 0;
    height: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    background: #111;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}

.tmodal-gallery-main {
    position: relative;
    flex: 1;
    min-height: 300px;
}

.tmodal-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.tmodal-gal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.tmodal-gal-btn:hover { background: rgba(212,175,55,0.8); }
.tmodal-gal-prev { left: 10px; }
.tmodal-gal-next { right: 10px; }

.tmodal-gallery-thumbs {
    display: flex;
    gap: 4px;
    padding: 6px;
    background: #000;
    overflow-x: auto;
    flex-shrink: 0;
}

.tmodal-gallery-thumbs::-webkit-scrollbar { height: 4px; }
.tmodal-gallery-thumbs::-webkit-scrollbar-thumb { background: #444; border-radius: 2px; }

.tmodal-thumb {
    width: 54px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: opacity 0.2s, border-color 0.2s;
}

.tmodal-thumb.active,
.tmodal-thumb:hover {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Info side */
.tmodal-body {
    padding: 2.5rem 2rem;
    overflow-y: auto;
}

.tmodal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tmodal-header h2 {
    font-size: 1.6rem;
    line-height: 1.2;
}

.tmodal-price {
    background: var(--primary-color);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.tmodal-desc {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.tmodal-cities {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1.8rem;
}

.tmodal-cities i { color: var(--primary-color); margin-right: 6px; }

/* Availability */
.tmodal-availability h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.avail-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.avail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    background: var(--bg-light);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}

.avail-row:hover { border-color: var(--primary-color); }
.avail-row.selected { border-color: var(--primary-color); background: rgba(212,175,55,0.08); }

.avail-date {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.avail-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.avail-badge.available  { background: #e8f5e9; color: #2e7d32; }
.avail-badge.limited    { background: #fff3e0; color: #e65100; }
.avail-badge.sold-out   { background: #fce4ec; color: #c62828; pointer-events: none; }

.avail-row.sold-out-row { opacity: 0.5; cursor: not-allowed; }

.tmodal-actions { margin-top: 0.5rem; }
.tmodal-actions .btn-primary { width: 100%; text-align: center; padding: 1rem; font-size: 1rem; }

@media (max-width: 768px) {
    .tour-modal-content {
        grid-template-columns: 1fr;
        max-height: 95vh;
        border-radius: 12px;
        width: 97%;
    }
    .tmodal-gallery { border-radius: 12px 12px 0 0; max-height: 280px; }
    .tmodal-gallery-main { min-height: 220px; }
    .tours-filters { flex-direction: column; gap: 1rem; }
}

/* --- Review CTA --- */
.review-cta p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.btn-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-review:hover {
    background-color: #20BA56;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    color: #fff;
}

/* --- Newsletter Section --- */
.newsletter-section {
    background: var(--text-dark);
    padding: 5rem 0;
    text-align: center;
}

.newsletter-section .section-title {
    color: #fff;
}

.newsletter-section .section-title::after {
    background-color: var(--primary-color);
}

.newsletter-section p {
    color: #bbb;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    max-width: 520px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 0.85rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder { color: #888; }

.newsletter-form input[type="email"]:focus {
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.12);
}

.newsletter-form button {
    padding: 0.85rem 1.8rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212,175,55,0.4);
}

.newsletter-note {
    color: #666;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* --- Booking Form --- */
.booking-form {
    width: 100%;
    margin-top: 2rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group--full {
    margin-bottom: 1rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fafafa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: #fff;
}

.booking-form input.invalid,
.booking-form select.invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.booking-form textarea {
    resize: vertical;
    min-height: 90px;
}

.booking-form select {
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 1.5rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- Editorial Blog Content Styles --- */
.blog-article-content {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-article-content p {
    margin-bottom: 1.8rem;
    text-align: justify;
}

.blog-article-content p:first-of-type::first-letter {
    font-size: 4rem;
    color: var(--primary-color);
    float: left;
    margin-right: 12px;
    margin-top: 10px;
    line-height: 0.8;
    font-family: var(--font-heading);
}

.blog-article-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================================
   Page Hero — Banner for sub-pages (Destinos, Galería, etc.)
   ============================================================ */
.page-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    /* Content is pushed below the fixed navbar via padding-top on the content */
}

@media (min-width: 769px) {
    .page-hero { background-attachment: fixed; }
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.40) 50%,
        rgba(0,0,0,0.20) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    /* This padding-top is the KEY fix: pushes content well below the fixed navbar */
    padding: 160px 2rem 3rem;
    max-width: 800px;
    width: 100%;
}

.page-hero-content .eyebrow {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.page-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 24px rgba(0,0,0,0.55);
    line-height: 1.15;
}

.page-hero-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Page content sections (come after page-hero, no huge top padding) */
.page-section {
    padding: 5rem 0 4rem 0;
}

/* Active nav link indicator */
.nav-links a.active-link {
    color: var(--primary-color) !important;
}
.nav-links a.active-link::after {
    width: 100% !important;
    background: var(--primary-color) !important;
}

/* ============================================================
   Tour Modal — Itinerary Timeline
   ============================================================ */
.tmodal-itinerary-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212,175,55,0.2);
}
.tmodal-itinerary-section h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    font-family: var(--font-heading);
}
.tmodal-itinerary {
    position: relative;
    padding-left: 2.2rem;
}
.tmodal-itinerary::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(212,175,55,0.15));
}
.itin-entry {
    position: relative;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.4rem;
    align-items: flex-start;
}
.itin-entry:last-child {
    margin-bottom: 0;
}
.itin-day-badge {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    margin-left: -2.6rem;
    box-shadow: 0 2px 8px rgba(212,175,55,0.35);
    position: relative;
    z-index: 1;
}
.itin-content {
    background: var(--bg-light);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    flex: 1;
    transition: box-shadow 0.25s ease;
}
.itin-content:hover {
    box-shadow: 0 3px 12px rgba(212,175,55,0.12);
}
.itin-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-family: var(--font-body);
}
.itin-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-light);
    margin: 0;
}
@media (max-width: 600px) {
    .tmodal-itinerary {
        padding-left: 1.8rem;
    }
    .itin-day-badge {
        width: 44px;
        height: 44px;
        font-size: 0.65rem;
        margin-left: -2.2rem;
    }
}
