/* --- СТИЛИ СТРАНИЦЫ ТУРА (tour-style.css) --- */

/* --- БЛОК 1: HERO ТУРА --- */
.tour-hero {
    position: relative; color: var(--white-color);
    padding: 60px 0; display: flex; align-items: center; justify-content: center; min-height: 400px; text-align: center;
}
.tour-hero-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2;
}
.tour-hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1)); z-index: -1;
}
.tour-hero-content { position: relative; z-index: 1; text-align: center; width: 100%; }
.tour-hero h1 { color: var(--white-color); font-size: 2.8rem; max-width: 800px; margin-left: auto; margin-right: auto; }
/* Стиль для тега "Приватный тур" на обложке */
.tour-hero .tour-tag.private {
    background: var(--primary-color);
    color: var(--white-color);
    border: 1px solid var(--white-color);
    padding: 5px 12px; border-radius: 5px; font-size: 0.9rem; font-weight: 700;
}
.tour-key-facts {
    display: flex; flex-wrap: wrap; gap: 20px; margin: 20px auto 0;
    background: rgba(0,0,0,0.3); backdrop-filter: blur(5px);
    padding: 15px; border-radius: 8px; max-width: fit-content;
}
.fact-item { font-size: 0.95rem; }
.fact-item strong { color: #eee; }

/* Tour Hero Actions */
.tour-hero-actions {
    margin: 30px auto 0;
    max-width: fit-content;
    text-align: center;
}

.calculate-cost-text {
    color: var(--white-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 15px 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.messenger-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.messenger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.messenger-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.messenger-button.telegram {
    background: #0088cc;
}

.messenger-button.whatsapp {
    background: #25D366;
}

/* --- БЛОК 2: СЕТКА МАКЕТА --- */
.tour-layout {
    padding-top: 40px; padding-bottom: 40px;
    display: grid; grid-template-columns: 2fr 1fr; gap: 40px;
    overflow-x: hidden;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs a {
    color: #0088cc;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 5px;
    color: #999;
}

.breadcrumbs .current {
    color: #333;
}

.tour-content { }
.tour-content h2, .tour-content h3 {
    text-align: left; margin-bottom: 15px; margin-top: 30px;
}

/* --- Departure Cities --- */
.departure-cities {
    margin-bottom: 20px;
}

.departure-cities h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    overflow: hidden;
}

.city-item, .cities-list a {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.city-item:hover, .cities-list a:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.city-item .location-icon {
    margin-right: 8px;
    color: #0088cc;
    flex-shrink: 0;
}

.tour-content {
    overflow-x: hidden;
}

/* =====================================
СТИЛИ ДЛЯ ГАЛЕРЕИ (ВОЗВРАЩЕНЫ)
=====================================
*/
/* Gallery Styles */
.tour-gallery {
    margin: 20px 0;
}

/* Desktop Gallery (Default) */
.tour-gallery-desktop {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.tour-gallery-desktop a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Prevent scrolling when interacting with gallery */
body.gallery-interaction {
    overflow: hidden;
    touch-action: none;
}

.tour-gallery-desktop a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.tour-gallery-desktop img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Mobile Gallery Slider */
.tour-gallery-mobile-slider {
    display: none;
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y; /* Allow vertical scrolling only outside of horizontal swipes */
}

.tour-gallery-mobile-track {
    display: flex;
    transition: transform 0.3s ease;
    touch-action: pan-y; /* Allow vertical scrolling only outside of horizontal swipes */
}

.tour-gallery-slide {
    flex: 0 0 100%;
    position: relative;
    touch-action: manipulation; /* Optimize for touch interactions */
}

.tour-gallery-slide a {
    display: block;
    width: 100%;
    height: 300px;
    touch-action: manipulation; /* Optimize for touch interactions */
}

.tour-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; /* Prevent image dragging during swipe */
    touch-action: manipulation; /* Optimize for touch interactions */
}

.tour-gallery-mobile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    padding: 0 15px;
    z-index: 10; /* Ensure nav controls are above images */
    touch-action: manipulation; /* Optimize for touch interactions */
}

.tour-gallery-prev,
.tour-gallery-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 11; /* Ensure buttons are above images */
    touch-action: manipulation; /* Optimize for touch interactions */
}

.tour-gallery-prev:hover,
.tour-gallery-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.tour-gallery-dots {
    display: flex;
    gap: 8px;
    z-index: 11; /* Ensure dots are above images */
    touch-action: manipulation; /* Optimize for touch interactions */
}

.tour-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
    touch-action: manipulation; /* Optimize for touch interactions */
}

.tour-gallery-dot.active {
    background: white;
}

.tour-gallery-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 11; /* Ensure counter is above images */
    touch-action: manipulation; /* Optimize for touch interactions */
}

/* Gallery Popup Styles */
.gallery-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.gallery-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    max-width: 90%;
    max-height: 90%;
}

.gallery-popup .popup-content {
    position: relative;
    text-align: center;
}

.gallery-popup img {
    max-width: 80vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
}

.popup-nav.prev {
    left: -60px;
}

.popup-nav.next {
    right: -60px;
}

.popup-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* =====================================
СТИЛИ ДЛЯ КОНСЬЕРЖ-ФОРМЫ
=====================================
*/
.booking-sidebar { }
.booking-box {
    border: 1px solid #ddd; border-radius: 8px;
    padding: 25px; background: var(--light-color);
    position: sticky; top: 100px; /* Прилипание */
}
.booking-box h3 { text-align: left; margin-top: 0; }
.booking-box.concierge-form p {
    font-size: 0.95rem; margin-bottom: 20px; line-height: 1.5;
}
.concierge-form .form-group { margin-bottom: 15px; }
.concierge-form .form-group label {
    display: block; margin-bottom: 5px;
    font-size: 0.9rem; font-weight: 500;
}
.concierge-form .form-group input[type="text"] {
    width: 100%; padding: 12px; border: 1px solid #ccc;
    border-radius: 5px; font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}
.concierge-form .cta-button { margin-top: 10px; }
.trust-signals {
    margin-top: 20px; font-size: 0.9rem;
    color: #555; text-align: center;
}
.trust-signals span { margin: 0 10px; }

/* Highlight effect for form */
.booking-box.concierge-form.highlight {
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(224, 160, 30, 0.3);
    animation: highlight 2s ease-out;
}

@keyframes highlight {
    0% { border-color: var(--secondary-color); box-shadow: 0 0 15px rgba(224, 160, 30, 0.3); }
    50% { border-color: var(--secondary-color); box-shadow: 0 0 25px rgba(224, 160, 30, 0.5); }
    100% { border-color: #ddd; box-shadow: 0 0 15px rgba(224, 160, 30, 0.3); }
}

/* --- Аккордеон (Программа) --- */
.accordion-item { border-bottom: 1px solid #eee; }
.accordion-header {
    width: 100%; background: none; border: none; padding: 20px 10px;
    text-align: left; font-size: 1.1rem; font-weight: 500;
    cursor: pointer; position: relative; transition: background 0.3s ease;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    color: inherit;
    text-decoration: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    /* Add touch-action to prevent interference with scrolling */
    touch-action: manipulation;
}
.accordion-header::after {
    content: '+'; position: absolute; right: 15px;
    font-size: 1.5rem; font-weight: 400; color: var(--primary-color);
}
.accordion-header.active::after { content: '−'; }
.accordion-header:hover { background: #f9f9f9; }
.accordion-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease-out; padding: 0 10px;
}
.accordion-content p { padding: 15px 0; }

/* --- Включено / Не включено --- */
.inclusion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.includes-list, .excludes-list { list-style-type: none; padding-left: 0; }
.includes-list li, .excludes-list li {
    position: relative; padding-left: 30px; margin-bottom: 10px;
}
.includes-list li::before {
    font-family: 'Font Awesome 6 Free'; font-weight: 900; content: '\f00c'; color: #28a745; position: absolute; left: 0;
}
.excludes-list li::before {
    font-family: 'Font Awesome 6 Free'; font-weight: 900; content: '\f00d'; color: #dc3545; position: absolute; left: 0;
}

/* --- Условия бронирования --- */
.booking-conditions { margin: 20px 0; }
.booking-conditions ul { list-style-type: none; padding-left: 0; }
.booking-conditions li {
    position: relative; padding-left: 30px; margin-bottom: 10px;
}
.booking-conditions li::before {
    font-family: 'Font Awesome 6 Free'; font-weight: 900; content: '\f05a'; color: var(--primary-color); position: absolute; left: 0;
}

/* Individual icons for booking conditions */
.booking-conditions li[data-icon]::before {
    content: attr(data-icon);
}

.booking-conditions li[data-icon="calendar"]::before { content: '\f073'; }
.booking-conditions li[data-icon="money-bill"]::before { content: '\f0d6'; }
.booking-conditions li[data-icon="times-circle"]::before { content: '\f057'; }
.booking-conditions li[data-icon="file-alt"]::before { content: '\f15c'; }
.booking-conditions li[data-icon="child"]::before { content: '\f1ae'; }

/* --- Карточка гида --- */
.tour-guide-card {
    display: flex; align-items: center; gap: 20px;
    background: var(--light-color); padding: 20px; border-radius: 8px;
}
.tour-guide-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.tour-guide-card h4 { margin: 0 0 5px 0; font-size: 1.2rem; }
.tour-guide-card p { margin: 0 0 10px 0; }
.organizer-contact p { margin: 5px 0; font-size: 0.9rem; }

/* --- Цена тура --- */
.tour-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
    min-height: 1.5em; /* Ensures consistent spacing even when no price is shown */
}

/* --- Похожие туры --- */
.related-tours {
    padding: 40px 0; background: var(--light-color); border-top: 1px solid #eee;
}
.related-tours .tours-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.tour-card h3 {
    margin: 25px 0;
    padding: 0 15px;
}

/* --- Tour Reviews CTA --- */
.reviews-cta {
    text-align: center;
    margin-top: 30px;
}

.reviews-cta .cta-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* --- Tour Reviews --- */
.tour-reviews {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.tour-reviews h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px 25px 25px 60px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.review-card::before {
    content: '“';
    font-size: 4rem;
    color: #E0A01E;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.review-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.3rem;
}

.review-card p {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.review-content {
    color: #555;
    line-height: 1.6;
}

.review-photo, 
.review-video img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.review-video {
    position: relative;
    margin-bottom: 15px;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.9);
}

.review-tour-name {
    color: #0088cc;
    font-weight: 500;
    margin-bottom: 15px;
    font-style: normal;
}

/* Review Rating Styles */
.review-rating {
    margin-bottom: 15px;
}

.review-rating .star {
    color: #ddd;
    font-size: 1.2rem;
    margin-right: 2px;
}

.review-rating .star.filled {
    color: #E0A01E;
}

/* =====================================
СТИЛИ ДЛЯ МОБИЛЬНОЙ ПАНЕЛИ
=====================================
*/
.mobile-booking-bar {
    display: none; /* Скрыта на десктопе (только видна на экранах меньше 992px) */
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: var(--white-color); padding: 10px 15px;
    border-top: 1px solid #ddd; box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 99;
    align-items: center; justify-content: space-between;
}

.mobile-organizer-info {
    display: flex;
    align-items: center;
}

.mobile-organizer-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.mobile-organizer-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-color);
    display: block;
}

.mobile-text span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
}

.mobile-contact-buttons {
    display: flex;
    gap: 10px;
}

.mobile-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.mobile-contact-button:hover {
    transform: translateY(-2px);
}

.mobile-contact-button.telegram {
    background-color: #0088cc;
}

.mobile-contact-button.whatsapp {
    background-color: #25D366;
}

/* Старый блок цены (если был) скрываем */
.mobile-price { display: none; }


/* --- АДАПТИВНОСТЬ (МЕДИА-ЗАПРОСЫ) --- */
@media (max-width: 992px) {
    /* Планшеты: 1 колонка */
    .tour-layout { grid-template-columns: 1fr; }
    .booking-sidebar { display: none; } /* Скрываем боковой блок */
    .mobile-booking-bar { display: flex; } /* Показываем мобильную панель */
    
    /* Show mobile gallery on tablets */
    .tour-gallery-desktop {
        display: none;
    }
    
    .tour-gallery-mobile-slider {
        display: block;
    }
}

@media (max-width: 768px) {
    /* Мобильные: 1 колонка */
    .tour-hero { min-height: 300px; }
    .tour-hero h1 { font-size: 1.8rem; }
    .tour-key-facts { flex-direction: column; gap: 10px; max-width: 100%; }
    
    /* Show mobile gallery on mobile */
    .tour-gallery-desktop {
        display: none;
    }
    
    .tour-gallery-mobile-slider {
        display: block;
    }
    
    .tour-gallery-slide a {
        height: 250px;
    }
    
    .tour-gallery-mobile-nav {
        bottom: 50px;
    }
}

/* --- Organizer Contact Links --- */
.organizer-contact {
    margin-top: 15px;
}

.contact-link {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px 0;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #f0f0f0;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.telegram-link {
    background-color: #0088cc;
    color: white;
}

.whatsapp-link {
    background-color: #25D366;
    color: white;
}

.contact-link::before {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.telegram-link::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.894 8.221l-1.97 9.28c-.145.658-.537.818-1.084.508l-3-2.21-1.447 1.394c-.14.141-.259.259-.374.261l.213-3.053 5.56-5.022c.24-.213-.054-.334-.373-.121l-6.869 4.326-2.96-.924c-.64-.203-.658-.64.136-.954l11.566-4.458c.538-.196 1.006.128.832.941z"/></svg>');
}

.whatsapp-link::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.87 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.892 6.961c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/></svg>');
}

/* --- Organizer Info --- */
.organizer-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.organizer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.organizer-name {
    font-weight: 500;
    font-size: 1.1rem;
    color: #333;
}

/* --- Contact Buttons --- */
.contact-buttons {
    text-align: center;
}

/* Override default cta-button.secondary styles */
.contact-buttons .cta-button.secondary.telegram-button,
.contact-buttons .cta-button.secondary.whatsapp-button {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px 0;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #f0f0f0;
    width: auto;
}

.contact-buttons .cta-button.secondary.telegram-button {
    background-color: #0088cc;
    color: white;
}

.contact-buttons .cta-button.secondary.whatsapp-button {
    background-color: #25D366;
    color: white;
}

.contact-buttons .cta-button.secondary.telegram-button:hover,
.contact-buttons .cta-button.secondary.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #0088cc; /* Maintain color on hover */
    color: white; /* Maintain text color on hover */
}

.contact-buttons .cta-button.secondary.telegram-button::before,
.contact-buttons .cta-button.secondary.whatsapp-button::before {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-buttons .cta-button.secondary.telegram-button::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.894 8.221l-1.97 9.28c-.145.658-.537.818-1.084.508l-3-2.21-1.447 1.394c-.14.141-.259.259-.374.261l.213-3.053 5.56-5.022c.24-.213-.054-.334-.373-.121l-6.869 4.326-2.96-.924c-.64-.203-.658-.64.136-.954l11.566-4.458c.538-.196 1.006.128.832.941z"/></svg>');
}

.contact-buttons .cta-button.secondary.whatsapp-button::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.87 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.892 6.961c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/></svg>');
}

/* --- Tour Reviews --- */
.tour-reviews {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.tour-reviews h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px 25px 25px 60px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.review-card::before {
    content: '“';
    font-size: 4rem;
    color: #E0A01E;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.review-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.3rem;
}

.review-card p {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.review-content {
    color: #555;
    line-height: 1.6;
}

.review-photo, 
.review-video img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.review-video {
    position: relative;
    margin-bottom: 15px;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.9);
}

.review-tour-name {
    color: #0088cc;
    font-weight: 500;
    margin-bottom: 15px;
    font-style: normal;
}

/* Review Rating Styles */
.review-rating {
    margin-bottom: 15px;
}

.review-rating .star {
    color: #ddd;
    font-size: 1.2rem;
    margin-right: 2px;
}

.review-rating .star.filled {
    color: #E0A01E;
}
