/* ========== TOUR DETAILS PAGE ========== */

/* Hero Section */
.tour-hero {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    margin-top: 0;
}

.tour-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Details Section */
.tour-details-section {
    padding: 50px 0;
    background: #f8fafc;
}

.tour-details-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Content */
.tour-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tour-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #0F172A;
}

/* Info Badges */
.tour-info-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f9ff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #0369a1;
}

/* Tour Sections */
.tour-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.tour-section:last-child {
    border-bottom: none;
}

.tour-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #0F172A;
}

.tour-section p {
    line-height: 1.8;
    color: #475569;
    font-size: 15px;
}

/* Highlights */
.highlights-list {
    list-style: none;
    padding: 0;
}

.highlights-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.highlights-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: bold;
    font-size: 18px;
}

/* Itinerary */
.itinerary-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 50px !important;
    color: #1a1a1a;
    text-align: left;
}

.itinerary {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    margin-left: 40px;
}

.itinerary::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d1d5db;
}

.itinerary-item {
    background: transparent;
    border: none;
    padding: 30px 0;
    padding-left: 0;
    margin-bottom: 20px;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}

.itinerary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.itinerary-item::before {
    content: "";
    position: absolute;
    left: -43px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #f97316;
    border-radius: 50%;
    z-index: 2;
}

.itinerary-header {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.day-number {
    font-weight: 700;
    font-size: 18px;
    color: #000;
    white-space: nowrap;
    line-height: 1.4;
}

.day-number .orange {
    color: #f97316;
    font-size: 18px;
    font-weight: 700;
    margin-left: 4px;
}

.day-location {
    font-size: 18px;
    font-weight: 600;
    color: #f97316;
    line-height: 1.4;
}

.itinerary-activities {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.itinerary-activities li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.itinerary-activities li:before {
    content: "•";
    position: absolute;
    left: 4px;
    color: #f97316;
    font-weight: bold;
    font-size: 16px;
}

.meal-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meal-badge {
    background: #f5f5f5;
    color: #333;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.orange {
    color: #f97316;
}

/* Inclusions */
.inclusions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.inclusion-item {
    padding: 20px;
    border-radius: 10px;
}

.inclusion-item.included {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
}

.inclusion-item.excluded {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
}

.inclusion-item h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.inclusion-item ul {
    list-style: none;
    padding: 0;
}

.inclusion-item li {
    padding: 8px 0;
    color: #475569;
    font-size: 14px;
}

/* Sidebar */
.tour-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Price Card */
.price-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    position: sticky;
    top: 80px;
}

.price-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.original-price {
    font-size: 18px;
    color: #94a3b8;
    text-decoration: line-through;
}

.discount-badge {
    background: #f97316;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
}

.final-price {
    font-size: 42px;
    font-weight: bold;
    color: #f97316;
    margin-bottom: 5px;
}

.price-text {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-enquire {
    width: 100%;
    padding: 14px;
    background: #f97316;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: 0.3s;
}

.btn-enquire:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: block;
    width: 100%;
    padding: 12px;
    background: white;
    color: #f97316;
    border: 2px solid #f97316;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background: #f97316;
    color: white;
}

/* Info Card */
.info-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-card h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #0F172A;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.info-item:last-child {
    border-bottom: none;
}

/* ========== ENHANCED SECTIONS ========== */

/* Accommodation Details */
.accommodation-grid {
    display: grid;
    gap: 20px;
}

.accommodation-item {
    display: flex;
    gap: 20px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.accommodation-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.accommodation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accommodation-info h4 {
    margin-bottom: 10px;
    color: #0F172A;
    font-size: 18px;
}

.accommodation-info p {
    color: #475569;
    margin-bottom: 15px;
    line-height: 1.6;
}

.accommodation-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.accommodation-features span {
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* Things to Carry */
.carry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.carry-category {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.carry-category h4 {
    margin-bottom: 15px;
    color: #0F172A;
    font-size: 16px;
}

.carry-category ul {
    list-style: none;
    padding: 0;
}

.carry-category li {
    padding: 8px 0;
    color: #475569;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.carry-category li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f97316;
}

/* Weather Information */
.weather-info {
    background: #f8fafc;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.weather-summary {
    margin-bottom: 25px;
    text-align: center;
}

.weather-summary h4 {
    color: #0F172A;
    margin-bottom: 10px;
    font-size: 18px;
}

.weather-summary p {
    color: #475569;
    line-height: 1.6;
}

.weather-months {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.month-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid transparent;
}

.month-card.good {
    border-color: #22c55e;
    background: #f0fdf4;
}

.month-card.moderate {
    border-color: #f59e0b;
    background: #fffbeb;
}

.month-card.avoid {
    border-color: #ef4444;
    background: #fef2f2;
}

.month-card h5 {
    margin-bottom: 10px;
    color: #0F172A;
    font-size: 16px;
}

.month-card p {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

/* Tour Gallery - Carousel */
.gallery-carousel {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    background: #f0f0f0;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.carousel-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
    background: #f97316;
    color: white;
    border-color: #f97316;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: #bbb;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #f97316;
    width: 12px;
    height: 12px;
}

/* Gallery Grid (Backup/Old Style) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
    color: white;
    font-weight: 600;
}

/* Reviews Section */
.reviews-summary {
    background: #f8fafc;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.rating-overview {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.rating-score .score {
    font-size: 48px;
    font-weight: bold;
    color: #f97316;
    display: block;
}

.rating-score .stars {
    color: #f97316;
    font-size: 20px;
    margin: 5px 0;
}

.rating-score .reviews-count {
    color: #64748b;
    font-size: 14px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reviewer-name {
    font-weight: 600;
    color: #0F172A;
}

.review-stars {
    color: #f97316;
    font-size: 14px;
}

.review-date {
    color: #64748b;
    font-size: 14px;
}

.review-text {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f8fafc;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question span:first-child {
    font-weight: 600;
    color: #0F172A;
}

.faq-toggle {
    font-size: 18px;
    font-weight: bold;
    color: #f97316;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

/* Cancellation Policy */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.policy-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.policy-item h4 {
    color: #0F172A;
    margin-bottom: 10px;
    font-size: 16px;
}

.policy-item p {
    color: #f97316;
    font-weight: 600;
    font-size: 18px;
}

.policy-note {
    background: #fef3c7;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    font-size: 14px;
}

/* Similar Tours */
.similar-tours {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.similar-tour-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.similar-tour-card:hover {
    transform: translateY(-5px);
}

.similar-tour-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.similar-tour-info {
    padding: 20px;
}

.similar-tour-info h4 {
    color: #0F172A;
    margin-bottom: 8px;
    font-size: 18px;
}

.similar-tour-info p {
    color: #64748b;
    margin-bottom: 15px;
    font-size: 14px;
}

.similar-price {
    color: #f97316;
    font-size: 18px;
    font-weight: bold;
}

/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 768px) {
    .tour-details-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .accommodation-item {
        flex-direction: column;
        text-align: center;
    }

    .accommodation-image {
        width: 100%;
        height: 200px;
    }

    .carry-grid {
        grid-template-columns: 1fr;
    }

    .weather-months {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* Carousel responsive styles */
    .gallery-carousel {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .carousel-wrapper {
        width: 100%;
        height: 250px;
        order: 1;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        order: 2;
        flex-shrink: 1;
    }

    .carousel-dots {
        width: 100%;
        order: 3;
        margin-top: 10px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 10px;
        height: 10px;
    }

    .policy-grid {
        grid-template-columns: 1fr;
    }

    .similar-tours {
        grid-template-columns: 1fr;
    }

    .rating-overview {
        flex-direction: column;
        gap: 10px;
    }
}

.info-item .label {
    color: #64748b;
    font-weight: 600;
}

.info-item .value {
    color: #0F172A;
}

/* Responsive */
@media (max-width: 768px) {
    .tour-details-main {
        grid-template-columns: 1fr;
    }

    .tour-content {
        padding: 20px;
    }

    .tour-content h1 {
        font-size: 28px;
    }

    .tour-info-badges {
        flex-direction: column;
    }

    .badge {
        width: 100%;
    }

    .inclusions-grid {
        grid-template-columns: 1fr;
    }

    .tour-hero {
        height: 300px;
    }

    .price-card {
        position: static;
    }

    .final-price {
        font-size: 36px;
    }

    .itinerary-title {
        font-size: 20px;
    }

    .itinerary {
        margin-left: 20px;
    }

    .itinerary::before {
        left: -15px;
    }

    .itinerary-item::before {
        left: -22px;
        width: 14px;
        height: 14px;
        border-width: 2px;
        top: 12px;
    }

    .itinerary-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .day-number {
        font-size: 16px;
    }

    .day-location {
        font-size: 16px;
    }

    .itinerary-activities li {
        font-size: 13px;
        padding-left: 16px;
    }

    .meal-badge {
        font-size: 12px;
        padding: 8px 12px;
        gap: 6px;
    }
}
