/* ===================================
   GENERAL STYLES
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
}

/* ===================================
   HERO SECTION - Imagen principal
=================================== */
.tour-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

/* Imagen del hero */
.tour-hero .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Capa oscura encima de la imagen */
.tour-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.55)
    );
    z-index: 2;
}

/* Contenido del hero */
.tour-hero .hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.tour-hero h1 {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: fadeInDown 1s ease-out;
}

.tour-hero p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    max-width: 700px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@media (max-width: 768px) {
    .tour-hero h1 {
        font-size: 2.6rem;
    }

    .tour-hero p {
        font-size: 1.2rem;
    }
}


/* ===================================
   INFO RÁPIDA DEL TOUR
=================================== */
.tour-highlights {
    max-width: 1200px;
    margin: -60px auto 60px;
    background: #fff;
    border-radius: 18px;
    padding: 30px 40px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 5;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-item i {
    font-size: 28px;
    color: #ff8c00;
}

.highlight-item small {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 4px;
}

.highlight-item strong {
    font-size: 1rem;
    color: #222;
}

/* Botón TikTok */
.highlight-action {
    text-align: right;
}

.btn-video {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 30px;
    border: 2px solid #ff2d55;
    color: #ff2d55;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-video i {
    font-size: 20px;
}

.btn-video:hover {
    background: #ff2d55;
    color: #fff;
}

@media (max-width: 900px) {
    .tour-highlights {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }

    .highlight-item {
        justify-content: center;
    }

    .highlight-action {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 10px;
    }
}

/* =========================
   carrusel de imágenes
========================= */

.tour-gallery {
    width: 100%;
    background: #ffffff;
    padding: 20px 0;
}

.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    border-radius: 14px;
}

.gallery-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.gallery-slide {
    min-width: 100%;
}

.gallery-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Botones */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 28px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.gallery-btn.prev {
    left: 15px;
}

.gallery-btn.next {
    right: 15px;
}

.gallery-btn:hover {
    background: rgba(0,0,0,0.85);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-slide img {
        height: 260px;
    }
}


/* =========================
   TOUR INFO - GENERAL
========================= */
.tour-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #333;
}

/* TITULO SECCION CON BANDA DE COLOR */
.tour-info h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #8a4b00; /* texto más oscuro para contraste */
    background-color: #fde7c8; /* banda de color */
    display: inline-block;
    padding: 10px 25px;
    border-radius: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* TEXTO */
.tour-info p {
    font-size: 1rem;
    line-height: 1.7;
}

.tour-info p,
.tour-info li {
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================
   LAYOUT PRINCIPAL
========================= */
.tour-main-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}

/* =========================
   CTA OFERTA (IMAGEN + WHATSAPP)
========================= */
.tour-cta {
    position: sticky;
    top: 100px;
    background: #ffffff;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
    animation: pulseOffer 3s ease-in-out infinite;
}

.cta-image {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin-bottom: 15px;
    object-fit: cover;
}

@keyframes pulseOffer {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
}

/* =========================
   BOTÓN WHATSAPP OFERTA
========================= */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* =========================
   DESCRIPCIÓN
========================= */
.tour-description {
    margin-bottom: 40px;
}

/* =========================
   ITINERARIO MEJORADO
========================= */
.tour-itinerary {
    margin-bottom: 40px;
}

.day-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    background: #fff;
    overflow: hidden;
}

.day-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    cursor: pointer;
    background: #f8f8f8;
    transition: background 0.3s;
}

.day-header:hover {
    background: #f0f0f0;
}

.day-badge {
    background: #25D366;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.day-badge i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.day-title {
    flex: 1;
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

.toggle-icon {
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}

.toggle-icon:hover {
    background: #033f06;
}

.toggle-icon i {
    font-size: 1rem;
}

.day-item.active .toggle-icon {
    transform: rotate(180deg);
}

.day-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fafafa;
}

.day-item.active .day-content {
    max-height: 2000px;
    transition: max-height 0.5s ease-in;
}

.day-content-inner {
    padding: 20px;
}

/* =========================
   ALOJAMIENTO
========================= */
.tour-accommodation {
    margin-bottom: 40px;
}

/* =========================
   INCLUYE / NO INCLUYE
========================= */
.tour-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.tour-includes h3 {
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #8a4b00; /* texto más oscuro para contraste */
    background-color: #fde7c8; /* banda de color */
    border-radius: 10px;
    padding: 15px;  /* Añade padding para que el texto no quede pegado a los bordes */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.includes-column {
    background: #fdfffe;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #22c55e;
}

.not-includes-column {
    background: #fcf9f9;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #ef4444;
}

.tour-includes ul {
    list-style: none;
    padding-left: 0;
}

.tour-includes li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.includes-column li::before {
    content: "✓";
    color: #22c55e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.not-includes-column li::before {
    content: "✕";
    color: #ef4444;
    font-weight: bold;
    position: absolute;
    left: 0;
}



/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
    .tour-main-layout {
        grid-template-columns: 1fr;
    }

    .tour-cta {
        position: relative;
        top: 0;
        animation: none;
    }
}

@media (max-width: 768px) {
    .tour-info {
        padding: 25px 15px;
    }

    .tour-info h2 {
        font-size: 1.5rem;
    }

    /* Responsive */
    .tour-includes,
    .bring-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .day-header {
        flex-wrap: wrap;
    }

    .toggle-icon {
        margin-left: auto;
    }
}
/* =========================
   SECCIÓN FINAL CON 2 COLUMNAS
========================= */
.tour-final-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;  /* Proporción 60/40 aproximadamente */
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
    max-width: 1200px;  /* Limita el ancho máximo */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;  /* Padding lateral */
}

/* =========================
   LO QUE DEBE LLEVAR
========================= */
.tour-bring {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
}

.tour-bring h2 {
    display: flex;
    align-items: center;
    justify-content: center; /* centra el contenido */
    gap: 10px;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: #8a4b00; /* texto más oscuro para contraste */
    font-weight: 800;
    background-color: #fde7c8; /* banda de color */
    padding: 12px 20px; /* espacio alrededor del texto */
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(138, 75, 0, 0.1); /* sombra sutil */
}

.icon-backpack {
    font-size: 1.3em;
}

.bring-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* Dos columnas para los items */
    gap: 20px;
}

.tour-bring ul {
    list-style: none;
    padding-left: 0;
}

.tour-bring li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
    font-size: 0.9rem;
}

.bullet {
    color: #3b82f6;
    font-weight: bold;
    flex-shrink: 0;
}

/* =========================
   LAYOUT SIDEBAR
========================= */
.tour-booking-sidebar {
    position: sticky;
    top: 20px;
    width: 100%;
}

/* =========================
   FORMULARIO DE RESERVA
========================= */
.tour-booking {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9f4 100%);
    border: 3px solid #22c55e;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.tour-booking::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* ENCABEZADO */
.booking-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.booking-header h2 {
    color: #1e293b;
    margin: 8px 0;
    font-size: 1.3rem;
}

/* TITULO SECCION CON BANDA DE COLOR */
.tour-info h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #8a4b00; /* texto más oscuro para contraste */
    background-color: #fde7c8; /* banda de color */
    display: inline-block;
    padding: 10px 25px;
    border-radius: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-expires {
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 600;
}

/* PRECIO */
.booking-price {
    text-align: center;
    background: white;
    padding: 18px;
    border-radius: 15px;
    margin-bottom: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.price-label {
    font-weight: bold;
    color: #64748b;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.price-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    margin: 10px 0;
}

.currency-symbol {
    font-size: 1.5rem;
    color: #22c55e;
    font-weight: bold;
    margin-top: 5px;
}

.price-amount {
    font-size: 2.5rem;
    color: #22c55e;
    font-weight: bold;
    line-height: 1;
}

.price-currency {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 5px;
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.feature-item {
    color: #16a34a;
    font-size: 0.75rem;
    font-weight: 600;
}

/* FORMULARIO */
.booking-form {
    position: relative;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.label-icon {
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* CTA */
.booking-cta {
    text-align: center;
    margin-top: 18px;
}

.cta-text {
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.btn-book-now {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-book-now::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-book-now:hover::before {
    width: 300px;
    height: 300px;
}

.btn-book-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
}

.btn-book-now:active {
    transform: translateY(-1px);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-book-now:hover .btn-arrow {
    transform: translateX(5px);
}

.booking-info {
    font-size: 0.75rem;
    margin-top: 10px;
    color: #64748b;
    line-height: 1.4;
}

/* BADGES DE SEGURIDAD */
.security-badges {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 18px;
}

.badge {
    background: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
    flex: 1;
}

.tour-booking {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9f4 100%);
    border: 3px solid #22c55e;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2.5s ease-in-out infinite; /* combinación */
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        border-color: #22c55e;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    50% { 
        transform: scale(1.03);
        border-color: #16a34a;
        box-shadow: 0 15px 50px rgba(34, 197, 94, 0.6), 0 0 40px rgba(34, 197, 94, 0.4);
    }
}
 
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .tour-final-section {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
    
    .bring-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-booking-sidebar {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .tour-final-section {
        padding: 0 15px;
    }
    
    .tour-bring {
        padding: 20px;
    }
    
    .tour-booking {
        padding: 20px;
    }
    
    .booking-header h2 {
        font-size: 1.2rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .security-badges {
        flex-direction: column;
    }
}