/* Estilos específicos para página Huilo Huilo */

/* Correcciones rápidas */
.price-estimate {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.price-value {
    text-align: center;
    width: 100%;
}

.price-note {
    text-align: center;
    width: 100%;
}

.route-info {
    justify-content: center;
    gap: 30px;
}

.route-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 8px;
}

.section-title em {
    font-style: normal;
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 767px) {
    .header-whatsapp {
        display: none;
    }

    .language-selector {
        display: none;
    }

    .language-flags {
        position: static;
        display: flex;
        flex-direction: row;
        opacity: 1;
        pointer-events: all;
        background: none;
        box-shadow: none;
        padding: 0;
        margin-left: 0;
        gap: 8px;
    }
}

.footer-phone {
    display: none;
}

/* Estilos adicionales para Huilo-Huilo */
.hero-booking-container.huilo-huilo-hero {
    background-image: url('/img/destinations/huilo-huilo-hero.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}

.highlights-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.highlights-icon {
    flex: 0 0 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlights-icon img {
    width: 40px;
    height: 40px;
    opacity: 0.8;
}

.highlights-content {
    flex: 1;
}

.highlights-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.highlights-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.destination-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.destination-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.destination-image {
    height: 180px;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover .destination-image img {
    transform: scale(1.05);
}

.destination-content {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.destination-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-color);
}

.destination-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    flex: 1;
}

.travelplan-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: var(--space-lg) 0;
    overflow: hidden;
}

.travelplan-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--light-bg);
}

.travelplan-tab {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.travelplan-tab.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(233, 100, 43, 0.05);
}

.travelplan-content {
    padding: var(--space-md);
}

.travelplan-panel {
    display: none;
}

.travelplan-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.travelplan-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px dashed var(--border-color);
}

.travelplan-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.travelplan-time {
    flex: 0 0 80px;
    text-align: center;
    padding-top: 5px;
}

.travelplan-hour {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.travelplan-duration {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.travelplan-details {
    flex: 1;
}

.travelplan-place {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-color);
}

.travelplan-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.price-selector {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.price-selector-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--space-sm);
}

.price-tab {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-align: center;
}

.price-tab.active {
    background-color: var(--primary-color);
    color: white;
}

.price-content {
    padding: var(--space-sm) 0;
}

.price-panel {
    display: none;
}

.price-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.price-row:last-child {
    border-bottom: none;
}

.price-vehicle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.price-vehicle-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.price-vehicle-details {
    line-height: 1.2;
}

.price-vehicle-name {
    font-weight: 500;
    color: var(--text-color);
}

.price-vehicle-capacity {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Corrección para alineación de precios */
.price-amount {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    width: 100px;
    text-align: right;
    margin-right: 10px;
}

.price-action {
    width: 90px;
    text-align: right;
}

.btn-price-book {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 8px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-price-book:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.route-map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: var(--space-lg) 0;
    box-shadow: var(--shadow);
}

@media (max-width: 767px) {
    .highlights-card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-sm);
    }

    .highlights-icon {
        margin: 0 auto var(--space-sm);
    }

    .travelplan-item {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .travelplan-time {
        flex: 0 0 auto;
        margin-bottom: var(--space-xs);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: var(--space-sm);
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .price-action {
        margin-left: 0;
        width: 100%;
    }

    .btn-price-book {
        width: 100%;
    }

    .route-map-container {
        height: 300px;
    }
}

/* FAQ Accordion */
.faq-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: var(--space-sm) var(--space-md);
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .faq-question:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.faq-toggle {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    max-height: 500px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 15px 20px;
    background-color: var(--card-bg);
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--text-color);
    font-size: 1rem;
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media screen and (max-width: 767px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-container::after {
        left: 21px;
    }

    .timeline-right {
        left: 0;
    }
}

/* Nuevos estilos para el selector de servicio */
.service-selector {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.service-option {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
    position: relative;
}

.service-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-option:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.btn-service {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-service img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.btn-service:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .service-options {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 220px;
    }
}
