﻿@media (max-width: 768px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .tour-hero h1 {
        font-size: 20px;
        font-weight: 700;
    }

    .destination-title {
        font-size: 20px;
        font-weight: 700;
    }

    .section-title,
    .info-card h6,
    .tour-card-body h3,
    .tour-card-body h4,
    .tour-card-body h5 {
        font-size: 16px;
    }

    body,
    p,
    .info-card,
    .tour-meta,
    .text-muted {
        font-size: 14px;
    }

    small,
    .text-muted.small,
    .hotel-card .text-muted,
    .review-stars {
        font-size: 12px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 8px;
    }

    .destination-header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 6px 10px;
        margin: 18px 0 12px;
    }

    .destination-header > div {
        display: contents;
    }

    .destination-header .destination-title {
        order: 1;
        flex: 0 0 100%;
    }

    .destination-header .text-muted {
        order: 2;
    }

    .destination-header .btn {
        order: 3;
        margin-left: auto;
    }

    .gallery {
        display: none !important;
    }

    .gallery-hero {
        display: none !important;
    }

    .gallery-hero img {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
        display: block;
    }

    .gallery-side,
    .gallery-side-desktop,
    .gallery-bottom,
    .gallery-mobile-strip {
        display: none !important;
    }

    .gallery-mobile-wrap {
        position: relative;
        margin-top: 12px;
    }

    .gallery-mobile-slider {
        display: flex !important;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: none;
        background: rgba(15, 23, 42, 0.75);
        color: #fff;
        font-size: 14px;
        line-height: 28px;
        text-align: center;
        z-index: 3;
        box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    }

    .gallery-arrow-left {
        left: 8px;
    }

    .gallery-arrow-right {
        right: 8px;
    }

    .gallery-mobile-slider::-webkit-scrollbar {
        display: none;
    }

    .gallery-slide {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    .gallery-slide img {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
        display: block;
    }


    .tab-row {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap;
        gap: 14px;
        justify-content: center;
    }

    .tab-row::-webkit-scrollbar {
        display: none;
    }

    .tab-row button {
        padding: 5px 8px;
        font-size: 12px;
        letter-spacing: -0.1px;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .tab-mobile-only {
        display: inline-flex;
        align-items: center;
    }

    .tab-panel {
        padding: 12px 0;
    }

    .card-grid {
        gap: 12px;
    }

    .info-card {
        padding: 12px;
        border-radius: 10px;
    }

    .destination-card {
        padding: 10px;
    }

    .destination-card strong {
        font-size: 14px;
    }

    .tour-card {
        border-radius: 12px;
    }

    .tour-card img,
    .hotel-card img,
    .info-card img {
        aspect-ratio: 1 / 1;
        height: auto;
        object-fit: cover;
    }

    .tour-card-body {
        padding: 12px;
    }

    .hotel-card .hotel-body {
        gap: 4px;
    }

    .rating {
        font-size: 12px;
    }

    .review-stars {
        font-size: 12px;
    }

    .info-card strong {
        font-size: 14px;
    }

    .info-card p,
    .review-card p {
        font-size: 13px;
    }

    .info-card .mb-0,
    .review-card .mb-0 {
        font-size: 13px;
    }

    .review-card strong {
        font-size: 13px;
    }

    .section-card {
        padding: 14px;
        border-radius: 10px;
    }

    .wizard-actions {
        gap: 8px;
    }

    .tour-grid,
    .tab-panel {
        margin-bottom: 20px;
    }

    .card-grid,
    .section-card {
        margin-bottom: 16px;
    }

    .activity-image {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 8px;
    }
}

