/* ===== ESTILOS BASE ===== */

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #000000;
    overflow-x: hidden;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #C9A227, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #C9A227, #FFD700);
    border-radius: 2px;
}

/* ===== SECCIÓN HERO ===== */
.tour-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(28, 28, 28, 0.8), rgba(201, 162, 39, 0.3));
}

.hero-content {
    text-align: center;
    color: #FFFFFF;
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.tour-badges {
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    margin: 0 5px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge.popular {
    background: linear-gradient(135deg, #C9A227, #FFD700);
    color: #000000;
}

.badge.exclusive {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border: 2px solid #FFD700;
}

.tour-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tour-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.tour-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 500;
}

.meta-item i {
    color: #FFD700;
    font-size: 1.2rem;
}

/* ===== DETALLES DEL TOUR ===== */
.tour-details {
    padding: 5rem 0;
    background-color: #1C1C1C;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.details-content h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.tour-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #CCCCCC;
}

.detail-items {
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #2A2A2A;
    border-radius: 10px;
    border-left: 4px solid #C9A227;
    transition: 0.3s ease;
}

.detail-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-item i {
    font-size: 2rem;
    color: #C9A227;
    min-width: 40px;
}

.detail-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.3rem;
}

.detail-item p {
    color: #666;
    font-size: 0.95rem;
}

/* ===== GALERÍA Y CARRUSEL ===== */
.gallery-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.image-carousel {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 400px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s ease;
    z-index: 2;
}

.carousel-btn:hover {
    background: #C9A227;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

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

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s ease;
}

.indicator.active {
    background: #FFD700;
    transform: scale(1.2);
}

/* ===== RESUMEN DEL VIAJE ===== */
.trip-summary {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1A1A1A, #000000);
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.highlights h3,
.statistics h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 2rem;
}

.highlight-items {
    display: grid;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #1C1C1C;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.highlight-item i {
    font-size: 2rem;
    color: #C9A227;
    margin-top: 0.2rem;
}

.highlight-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: #666;
    font-size: 0.95rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: #1C1C1C;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #C9A227;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== ITINERARIO DETALLADO ===== */
.detailed-itinerary {
    padding: 5rem 0;
    background-color: #000000;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #C9A227, #FFD700);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 120px;
}



.timeline-dot {
    position: absolute;
    left: 39px;
    top: 5px;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #FFD700 0%, #C9A227 70%);
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    box-shadow: 0 0 0 3px #C9A227, 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.4);
    animation: shimmer 2s ease-in-out infinite alternate;
}

@keyframes shimmer {
    0% {
        box-shadow: 0 0 0 3px #C9A227, 0 0 15px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.3);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 3px #C9A227, 0 0 25px rgba(255, 215, 0, 1), 0 0 50px rgba(255, 215, 0, 0.6);
        transform: scale(1.1);
    }
}

.timeline-content {
    background: #1C1C1C;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #C9A227;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* ===== INCLUSIONES ===== */
.inclusions {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1A1A1A, #000000);
}

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

.included,
.not-included {
    background: #1C1C1C;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.included h3 {
    color: #27ae60;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.not-included h3 {
    color: #e74c3c;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.included ul,
.not-included ul {
    list-style: none;
}

.included li,
.not-included li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #FFFFFF;
}

.included li i {
    color: #27ae60;
}

.not-included li i {
    color: #e74c3c;
}

.important-notes {
    background: #1C1C1C;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #C9A227;
}

.important-notes h4 {
    color: #C9A227;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.important-notes ul {
    list-style: none;
}

.important-notes li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    color: #FFFFFF;
}

.important-notes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #C9A227;
    font-weight: bold;
}

/* ===== TOURS RECOMENDADOS ===== */
.recommended-tours {
    padding: 5rem 0;
    background-color: #1A1A1A;
}

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

.tour-card {
    background: #1C1C1C;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    animation: fadeInGold 0.8s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.tour-card:nth-child(1) {
    animation-delay: 0.2s;
}

.tour-card:nth-child(2) {
    animation-delay: 0.4s;
}

.tour-card:nth-child(3) {
    animation-delay: 0.6s;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.tour-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #C9A227, #FFD700);
    color: #000000;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tour-content {
    padding: 1rem;
}

.tour-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.tour-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.tour-card .tour-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding: 0;
}

.tour-details span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #666;
}

.tour-details i {
    color: #C9A227;
}

.tour-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tour-more {
    color: #C9A227;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
    text-align: center;
}

.tour-more:hover {
    color: #FFD700;
}

@keyframes fadeInGold {
    0% {
        opacity: 0;
        transform: translateY(30px);
        box-shadow: 0 0 0 rgba(201, 162, 39, 0);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

/* ===== FORMULARIO DE RESERVA LATERAL ===== */
.booking-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: #1C1C1C;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: 0.5s ease;
    overflow-y: auto;
}

.booking-sidebar.active {
    right: 0;
}

.booking-form-container {
    padding: 2rem;
    height: 100%;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #444444;
}

.booking-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
}

.close-form {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #FFFFFF;
    cursor: pointer;
    padding: 5px;
    transition: 0.3s ease;
    outline: none;
}

.close-form:hover {
    color: #e74c3c;
}

.close-form:focus {
    outline: none;
    box-shadow: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #FFFFFF;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #444444;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s ease;
    font-family: inherit;
    background: #2A2A2A;
    color: #FFFFFF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C9A227;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #C9A227, #FFD700);
    color: #000000;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.form-note {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

/* ===== ELEMENTOS FLOTANTES ===== */
.floating-booking {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.booking-btn {
    background: linear-gradient(135deg, #C9A227, #FFD700);
    color: #000000;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}





/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .details-grid,
    .summary-grid,
    .inclusions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .booking-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .social-sidebar {
        left: 15px;
    }
    
    .floating-booking {
        right: 15px;
        bottom: 100px;
    }
    
    .whatsapp-float {
        left: 15px;
        bottom: 15px;
    }
}

@media (max-width: 768px) {
    .tour-title {
        font-size: 2.5rem;
    }
    
    .tour-subtitle {
        font-size: 1.1rem;
    }
    
    .tour-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-item::before {
        left: 9px;
    }
    
    .timeline-dot {
        position: absolute;
        left: 9px;
        top: 5px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
    }
    

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .tour-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .tour-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .booking-form-container {
        padding: 1rem;
    }
    
    .floating-booking {
        bottom: 20px;
        right: 20px;
    }
    
    .booking-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ===== ANIMACIONES ADICIONALES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.booking-btn {
    animation: pulse 2s infinite;
}

.booking-btn:hover {
    animation: none;
}

/* ===== MEJORAS DE ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== ESTADOS DE FOCUS PARA ACCESIBILIDAD ===== */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #C9A227;
    outline-offset: 2px;
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2A2A2A;
}

::-webkit-scrollbar-thumb {
    background: #C9A227;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFD700;
}