/* Estilos específicos para las páginas de tours individuales */

/* Hero section */
.hero-tour {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 50px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-tour h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-tour p {
    font-size: 1.5rem;
    max-width: 800px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Tour description section */
.tour-description {
    padding: 30px 0 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.overview, .itinerary, .tour-details, .recommendations, .gallery, .booking {
    margin-bottom: 50px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.tour-description h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.tour-description h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 60px;
    background-color: #ff6b6b;
}

.tour-description p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Highlights */
.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    flex: 1 1 calc(50% - 20px);
    min-width: 250px;
}

.highlight-item i {
    font-size: 2rem;
    color: #ff6b6b;
    margin-right: 15px;
}

.highlight-item h3 {
    color: #444;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.highlight-item p {
    margin: 0;
    color: #666;
}

/* Itinerary items */
.itinerary-item {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #ff6b6b;
    border-radius: 6px;
}

.itinerary-item h3 {
    color: #ff6b6b;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.itinerary-item p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Timeline for itinerary */
.timeline {
    position: relative;
    margin: 30px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ff6b6b;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: 15px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff6b6b;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #ff6b6b;
}

.timeline-content {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    color: #ff6b6b;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Inclusions and Exclusions */
.tour-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.inclusions, .exclusions {
    flex: 1 1 calc(50% - 15px);
    min-width: 300px;
}

.inclusions ul, .exclusions ul {
    list-style: none;
    padding: 0;
}

.inclusions li, .exclusions li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.inclusions li:last-child, .exclusions li:last-child {
    border-bottom: none;
}

.inclusions i {
    color: #4CAF50;
    margin-right: 10px;
    font-size: 1.1rem;
}

.exclusions i {
    color: #F44336;
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Recommendations */
.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.recommendation-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.recommendation-item i {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 15px;
    display: block;
}

.recommendation-item p {
    margin: 0;
    color: #666;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* Booking section */
.booking {
    text-align: center;
    background-color: #f9f9f9;
}

.booking p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-button i {
    margin-right: 10px;
    font-size: 1.4rem;
}

/* Responsive styles */
/* ============================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   ============================================ */

/* TABLET GRANDE - 1024px a 1199px */
@media (max-width: 1199px) and (min-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .overview, .itinerary, .tour-details, .recommendations, .gallery, .booking {
        padding: 25px;
    }

    .tour-description h2 {
        font-size: 1.8rem;
    }

    .hero-tour {
        height: 450px;
    }

    .hero-tour h1 {
        font-size: 3rem;
    }

    .hero-tour p {
        font-size: 1.3rem;
    }

    .highlights {
        gap: 15px;
    }

    .highlight-item {
        flex: 1 1 calc(50% - 15px);
    }
}

/* TABLET - 768px a 1023px */
@media (max-width: 1023px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
    }

    .overview, .itinerary, .tour-details, .recommendations, .gallery, .booking {
        padding: 20px;
        margin-bottom: 30px;
        border-radius: 6px;
    }

    .tour-description h2 {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .tour-description p {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .hero-tour {
        height: 400px;
        margin-bottom: 30px;
    }

    .hero-tour h1 {
        font-size: 2.4rem;
    }

    .hero-tour p {
        font-size: 1.1rem;
    }

    .hero-overlay {
        padding: 0 15px;
    }

    .highlights {
        flex-direction: column;
        gap: 12px;
    }

    .highlight-item {
        flex: 1 1 100%;
        min-width: auto;
        padding: 12px;
    }

    .timeline {
        position: relative;
        padding-left: 0;
    }

    .timeline-item {
        padding-left: 30px;
        padding-bottom: 20px;
        margin-bottom: 15px;
    }

    .timeline-item::before {
        width: 12px;
        height: 12px;
        left: -6px;
    }

    .timeline-item::after {
        background-size: contain;
    }

    .tour-details-flex {
        flex-direction: column;
        gap: 20px;
    }

    .tour-details-item {
        flex: 1 1 100%;
    }
}

/* MÓVIL GRANDE - 576px a 767px */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    .overview, .itinerary, .tour-details, .recommendations, .gallery, .booking {
        padding: 15px;
        margin-bottom: 20px;
    }

    .tour-description {
        padding: 20px 0 40px;
    }

    .tour-description h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .tour-description h2:after {
        width: 50px;
    }

    .tour-description p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .hero-tour {
        height: 300px;
        margin-bottom: 20px;
    }

    .hero-tour h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero-tour p {
        font-size: 0.9rem;
    }

    .hero-overlay {
        padding: 0 12px;
    }

    .highlights {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .highlight-item {
        flex: 1 1 100%;
        background-color: #f5f5f5;
        padding: 12px;
        border-radius: 4px;
    }

    .highlight-item i {
        font-size: 1.5rem;
        margin-right: 12px;
    }

    .timeline-item {
        padding-left: 30px;
        padding-bottom: 15px;
    }

    .timeline-item-content h3 {
        font-size: 1rem;
    }

    .timeline-item-content p {
        font-size: 0.9rem;
    }

    .tour-details-flex {
        flex-direction: column;
    }

    .booking-form {
        max-width: 100%;
    }

    .booking-form input,
    .booking-form select,
    .booking-form textarea {
        width: 100%;
    }

    .booking-btn {
        width: 100%;
    }

    .gallery {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item {
        height: 250px;
    }
}

/* MÓVIL PEQUEÑO - 480px a 575px */
@media (max-width: 575px) {
    .container {
        padding: 0 10px;
        margin: 0 auto;
    }

    .overview, .itinerary, .tour-details, .recommendations, .gallery, .booking {
        padding: 12px;
        margin-bottom: 15px;
        border-radius: 4px;
    }

    .tour-description {
        padding: 15px 0 30px;
    }

    .tour-description h2 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        padding-bottom: 6px;
        font-weight: 600;
    }

    .tour-description h2:after {
        width: 40px;
        height: 2px;
    }

    .tour-description p {
        font-size: 0.85rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .hero-tour {
        height: 250px;
        margin-bottom: 15px;
    }

    .hero-tour h1 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .hero-tour p {
        font-size: 0.8rem;
        max-width: 100%;
    }

    .hero-overlay {
        padding: 0 10px;
    }

    .highlights {
        flex-direction: column;
        gap: 8px;
        margin-top: 15px;
    }

    .highlight-item {
        flex: 1 1 100%;
        padding: 10px;
        font-size: 0.85rem;
    }

    .highlight-item i {
        font-size: 1.2rem;
        margin-right: 10px;
    }

    .timeline-item {
        padding-left: 25px;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .timeline-item::before {
        width: 10px;
        height: 10px;
        left: -5px;
    }

    .timeline-item-content h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .timeline-item-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .tour-details-flex {
        flex-direction: column;
        gap: 15px;
    }

    .tour-details-item {
        flex: 1 1 100%;
    }

    .tour-details-item h3 {
        font-size: 1rem;
    }

    .tour-details-item p {
        font-size: 0.85rem;
    }

    .booking-form {
        max-width: 100%;
    }

    .booking-form input,
    .booking-form select,
    .booking-form textarea {
        width: 100%;
        padding: 8px;
        font-size: 0.9rem;
    }

    .booking-form label {
        font-size: 0.9rem;
    }

    .booking-btn {
        width: 100%;
        padding: 10px;
        font-size: 0.9rem;
    }

    .gallery {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-item {
        height: 200px;
    }

    .tour-meta {
        flex-direction: column;
        gap: 8px;
    }

    .meta-item {
        font-size: 0.85rem;
    }
}

/* MÓVIL EXTRA PEQUEÑO - menos de 480px */
@media (max-width: 479px) {
    .container {
        padding: 0 8px;
    }

    .overview, .itinerary, .tour-details, .recommendations, .gallery, .booking {
        padding: 10px;
        margin-bottom: 12px;
        border-radius: 3px;
    }

    .tour-description {
        padding: 10px 0 20px;
    }

    .tour-description h2 {
        font-size: 1.08rem;
        margin-bottom: 8px;
        padding-bottom: 4px;
    }

    .tour-description h2:after {
        width: 30px;
        height: 2px;
    }

    .tour-description p {
        font-size: 0.8rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .hero-tour {
        height: 220px;
        margin-bottom: 12px;
    }

    .hero-tour h1 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .hero-tour p {
        font-size: 0.75rem;
    }

    .hero-overlay {
        padding: 0 8px;
    }

    .highlights {
        gap: 6px;
        margin-top: 10px;
    }

    .highlight-item {
        padding: 8px;
        font-size: 0.8rem;
    }

    .highlight-item i {
        font-size: 1rem;
        margin-right: 8px;
    }

    .timeline-item {
        padding-left: 20px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .timeline-item::before {
        width: 8px;
        height: 8px;
        left: -4px;
        top: 5px;
    }

    .timeline-item-content h3 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .timeline-item-content p {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .booking-form input,
    .booking-form select,
    .booking-form textarea {
        padding: 6px;
        font-size: 0.85rem;
    }

    .booking-btn {
        padding: 8px;
        font-size: 0.85rem;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .gallery-item {
        height: 180px;
    }

    .tour-meta {
        flex-direction: column;
        gap: 6px;
    }

    .meta-item {
        font-size: 0.8rem;
    }
}
