/* 
 * Booking Travel Agency - Frontend Styles
 */

.booking-travel-agency-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.booking-travel-agency-single {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.booking-travel-agency-header {
    width: 100%;
    margin-bottom: 2rem;
}

.booking-travel-agency-thumbnail {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.booking-travel-agency-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.booking-travel-agency-content-area {
    flex: 1 1 60%;
}

.booking-travel-agency-sidebar {
    flex: 1 1 35%;
    min-width: 300px;
}

.bta-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.bta-meta-item {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.bta-meta-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    border-color: #c5a059;
}

.bta-meta-icon {
    width: 44px;
    height: 44px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5a059;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bta-meta-content {
    display: flex;
    flex-direction: column;
}

.bta-meta-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.bta-meta-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.bta-booking-form-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 2rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}


@media (max-width: 991px) {
    .bta-booking-form-box {
        position: static;
        margin-top: 2rem;
        padding: 1.5rem;
    }
}

.bta-fixed-time-info {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    border: 1px dashed #e2e8f0;
}

.bta-time-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.bta-fixed-time-info i {
    color: #fbbf24;
    font-size: 0.9rem;
}


.bta-fixed-time-info strong {
    color: #1e293b;
    font-weight: 700;
}


.bta-price-header {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.bta-price-prefix {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.bta-price-amount {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: #d97706; /* Darker gold for better contrast on white */
    line-height: 1;
    margin: 0.5rem 0;
}

.bta-price-suffix {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}


.bta-booking-form-box h3 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #94a3b8;
    text-align: center;
}

.bta-form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bta-form-row .bta-form-group {
    flex: 1;
    margin-bottom: 0;
}

.bta-form-group {
    margin-bottom: 1.25rem;
}

.bta-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bta-number-stepper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 1px solid #eef2ff !important;
    border-radius: 14px !important;
    padding: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 52px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.bta-stepper-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    background: #ffffff !important;
    border: 1px solid #eef2ff !important;
    border-radius: 10px !important;
    color: #1e293b !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
}

.bta-stepper-btn:hover {
    background: #fbbf24 !important; /* Website Gold Hover Color */
    color: #ffffff !important;
    border-color: #fbbf24 !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2) !important;
}

.bta-number-stepper .bta-input-icon-wrapper {
    display: block !important;
    position: relative !important;
    flex: 1 !important;
    height: 100% !important;
    margin: 0 5px !important;
}

.bta-number-stepper .bta-input-icon-wrapper i {
    position: absolute !important;
    left: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.9rem !important;
    color: #94a3b8 !important;
    z-index: 5 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

.bta-number-stepper .bta-form-control {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 0 0 25px !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    box-shadow: none !important;
    pointer-events: none !important;
}


.bta-input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.bta-input-icon-wrapper i {
    position: absolute !important;
    left: 1.25rem !important;
    color: #94a3b8 !important;
    font-size: 1rem !important;
    pointer-events: none;
    z-index: 2;
}

.bta-input-icon-wrapper .bta-form-control {
    padding-left: 3.5rem !important;
}

.bta-form-control {
    width: 100%;
    height: 52px;
    padding: 0.9rem 1.25rem;
    border: 1px solid #eef2ff;
    border-radius: 14px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    box-sizing: border-box;
    color: #1e293b;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.bta-form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.bta-form-control:focus {
    outline: none;
    border-color: #fbbf24; /* Website Gold Focus */
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.05);
    background: #ffffff;
}

textarea.bta-form-control {
    height: auto;
    padding: 1.25rem;
    line-height: 1.6;
}


/* Chrome, Safari, Edge, Opera */
.bta-form-control::-webkit-outer-spin-button,
.bta-form-control::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.bta-form-control[type=number] {
  -moz-appearance: textfield;
}

/* Price Summary Box */
.bta-price-summary-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.bta-summary-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.bta-summary-value {
    color: #1e293b;
    font-weight: 700;
}

.bta-summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 1rem 0;
}

.bta-total-row {
    margin-bottom: 0;
    color: #1e293b;
}

.bta-total-label {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bta-total-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fbbf24; /* Gold accent */
}

/* Form Buttons */
.bta-btn {
    width: 100%;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #ffffff;
    border: none;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.2);
}

.bta-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}


/* Archives */
.bta-archive-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #0f172a;
    color: #fff;
    padding: 10rem 4rem;
    text-align: left;
    margin-bottom: 3rem;
    overflow: hidden;
}

.bta-archive-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.bta-archive-hero-content {
    position: relative;
    z-index: 1;
}

.bta-archive-hero-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #eab308;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.bta-archive-hero-subtitle::before {
    content: '';
    display: inline-block;
    width: 35px;
    height: 2px;
    background-color: #eab308;
    margin-right: 15px;
}

/* Single Page Title */
.booking-travel-agency-header .entry-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #0f172a;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-bottom: 1rem;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
}

.bta-archive-hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.1;
    word-break: break-word;
    hyphens: auto;
}

.bta-archive-hero-desc {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0;
    color: #f1f5f9;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.booking-travel-agency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.bta-card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.bta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.bta-card-link-wrapper {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bta-card-img-wrapper {
    height: 240px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #f8fafc; /* Nice background for placeholders */
}

.bta-card-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    content: 'AUCUNE IMAGE DISPONIBLE';
}

.bta-card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bta-card:hover .bta-card-img {
    transform: scale(1.1);
}

.bta-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.bta-card-title {
    margin: 0 0 1.5rem 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    font-family: Georgia, 'Times New Roman', Times, serif;
    min-height: 4em; /* Allows for up to 3 lines and ensures alignment */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 10px;
}

.bta-card-btn {
    display: inline-block;
    background: #c5a059;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: center;
}

.bta-card:hover .bta-card-btn {
    background: #a88543;
    padding-left: 32px;
    padding-right: 32px;
}

/* ── Dual Title System (Desktop/Mobile Specific) ── */
.bta-mobile-title {
    display: none !important;
}

@media (max-width: 991px) {
    /* Font sizes are now handled fluidly by clamp() on the base classes */
}

@media (max-width: 768px) {
    .booking-travel-agency-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .bta-archive-hero {
        padding: 3rem 1.25rem !important;
        text-align: center !important;
    }
    .bta-desktop-title {
        display: none !important;
    }
    .bta-mobile-title {
        display: block !important;
        font-size: 26px !important;
        line-height: 1.3 !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
        word-break: break-word;
        hyphens: auto;
    }
    .booking-travel-agency-header .bta-mobile-title {
        font-size: 24px !important;
    }
    .bta-archive-hero::before {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.8) 100%);
    }
    .bta-archive-hero-title {
        line-height: 1.3 !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    .booking-travel-agency-header .entry-title {
        text-align: center;
    }
    .bta-archive-hero-subtitle {
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .bta-archive-hero-subtitle::before {
        display: none !important;
    }
    .bta-archive-hero-desc {
        font-size: 16px !important;
        text-align: center !important;
    }
}

/* ── Gallery Title ── */
.bta-gallery-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #0f172a;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ── Gallery Slider Container ── */
.bta-gallery-slider-wrapper {
    margin: 2rem 0;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.bta-gallery-main-area {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.bta-gallery-viewport {
    position: relative;
    flex: 1;
    background: #f8fafc;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.bta-gallery-viewport img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

/* Navigation Arrows */
.bta-slider-nav {
    background: #ffffff;
    border: none;
    color: #1e293b;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    z-index: 10;
    flex-shrink: 0;
    position: relative;
    outline: none;
    padding: 0;
}

/* Thicker Chevron using Borders */
.bta-slider-nav::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 4px solid currentColor;
    border-right: 4px solid currentColor;
    transition: all 0.3s ease;
}

.bta-slider-prev::after {
    transform: rotate(-135deg);
    margin-left: 5px; /* Visual centering for left arrow */
}

.bta-slider-next::after {
    transform: rotate(45deg);
    margin-right: 5px; /* Visual centering for right arrow */
}

.bta-slider-nav:hover {
    background: #c5a059; /* Premium Gold */
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.35);
}

.bta-slider-nav:active {
    transform: scale(0.95);
}

.bta-slider-nav::before {
    content: '';
    position: absolute;
    inset: -2px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bta-slider-nav:hover::before {
    opacity: 1;
}

/* Fullscreen Icon */
.bta-gallery-fullscreen-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}

.bta-gallery-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Thumbnails */
.bta-gallery-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.bta-thumb-item {
    width: 80px;
    height: 60px;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.bta-thumb-item:hover {
    opacity: 1;
}

.bta-thumb-item.bta-active {
    border-color: #3b82f6;
    opacity: 1;
}

.bta-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .bta-gallery-main-area {
        gap: 10px;
    }
    .bta-slider-nav {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    .bta-thumb-item {
        width: 60px;
        height: 45px;
    }
}

/* ── Lightbox Overlay ── */
.bta-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
}

.bta-lightbox-overlay.bta-lb-active {
    display: flex;
}

.bta-lightbox-overlay img {
    max-width: 85vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(0,0,0,0.9);
    animation: bta-lb-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255,255,255,0.1);
}

@keyframes bta-lb-in {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.bta-lightbox-caption {
    color: #e2e8f0;
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    max-width: 60ch;
}

.bta-lightbox-close {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    padding: 0;
    z-index: 100000;
    transition: color 0.2s;
}

.bta-lightbox-close:hover { color: #eab308; }

.bta-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(0,0,0,0.4);
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    line-height: 1;
    transition: background 0.2s;
    z-index: 100000;
}

.bta-lightbox-nav:hover { background: rgba(0,0,0,0.7); }
.bta-lb-prev { left: 1rem; }
.bta-lb-next { right: 1rem; }

@media (max-width: 600px) {
    .bta-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

/* ── New Booking Form Design ── */
.bta-booking-form-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.bta-form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.bta-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.bta-input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
}

.bta-form-control {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.bta-form-control:focus {
    border-color: #c5a059;
    outline: none;
    box-shadow: 0 0 0 3px rgba(197,160,89,0.1);
}

.bta-price-summary {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
}

.bta-btn {
    width: 100%;
    background: #c5a059;
    color: white;
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.bta-btn:hover {
    background: #a88543;
}

/* Datepicker specific override */
.flatpickr-calendar {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border: none !important;
}

.flatpickr-day.selected {
    background: #c5a059 !important;
    border-color: #c5a059 !important;
}

/* ── Itinerary Timeline ── */
.bta-itinerary-wrapper {
    margin: 2rem 0;
    position: relative;
    padding-left: 20px;
}

.bta-section-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.75rem;
    color: #0f172a;
    margin: 2.5rem 0 1.5rem;
}

.bta-itinerary-day {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.bta-itinerary-day:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.bta-day-marker {
    background: #c5a059;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
    line-height: 1.1;
}

.bta-day-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.bta-day-num {
    font-size: 1.4rem;
    font-weight: 800;
}

.bta-day-body {
    flex: 1;
    padding-top: 5px;
}

.bta-day-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.bta-day-overview {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Stops Timeline */
.bta-stops-timeline {
    border-left: 2px dashed #cbd5e1;
    margin-left: 5px;
    padding-left: 25px;
    margin-top: 1rem;
}

.bta-stop-node {
    position: relative;
    margin-bottom: 1.5rem;
}

.bta-stop-icon {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid #c5a059;
    border-radius: 50%;
    z-index: 3;
}

.bta-stop-details {
    padding-bottom: 5px;
}

.bta-stop-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.bta-stop-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .bta-itinerary-day {
        gap: 15px;
    }
    .bta-day-marker {
        width: 50px;
        height: 50px;
    }
    .bta-day-num { font-size: 1.1rem; }
    .bta-day-label { font-size: 0.6rem; }
    .bta-itinerary-day:not(:last-child)::before { left: 25px; }

    .booking-travel-agency-single {
        flex-direction: column;
        gap: 1rem;
    }

    .booking-travel-agency-content-area,
    .booking-travel-agency-sidebar {
        width: 100%;
        flex: none;
    }

    .bta-meta-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .bta-meta-item {
        padding: 1rem;
    }

    .bta-booking-form-box {
        position: static !important;
        margin-top: 1rem;
        padding: 1.5rem;
    }

    .bta-form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .bta-price-amount {
        font-size: 1.75rem;
    }

    /* Gallery Mobile */
    .bta-gallery-main-area {
        gap: 10px;
        flex-direction: column;
    }
    .bta-gallery-viewport {
        order: 1;
        width: 100%;
    }
    .bta-slider-nav {
        display: none !important; /* Hide side arrows, use touch/thumbnails or bottom arrows */
    }
    .bta-gallery-thumbnails {
        order: 2;
        gap: 8px;
    }
    .bta-thumb-item {
        width: 50px;
        height: 40px;
    }

    .bta-section-title {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }
}

@media (max-width: 480px) {
    .booking-travel-agency-container {
        padding: 1rem 0.75rem;
    }

    .bta-card-body {
        padding: 1.5rem 1rem;
    }

    .bta-card-title {
        font-size: 1.2rem;
        min-height: auto;
    }

    .bta-gallery-viewport {
        aspect-ratio: 4/3;
    }

    .bta-meta-item {
        gap: 0.75rem;
    }

    .bta-meta-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .bta-price-header {
        padding: 1.25rem;
    }

    .bta-itinerary-wrapper {
        padding-left: 10px;
    }
}
