/* ═══════════════════════════════════════════════════════════════
   SHIVAYAN TRAILS — CATALOG, LISTINGS, DETAIL MODAL & PAGES CSS
   Ultra-premium mountaineering aesthetic, glassmorphism & rich UX
   ═══════════════════════════════════════════════════════════════ */

/* ─── Page Hero Banner ─── */
.page-banner {
    position: relative;
    min-height: 48vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--navbar-height) + var(--space-8)) var(--container-padding) var(--space-8);
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background: url('../assets/images/himalaya-hero-bg.jpg') center 20% / cover no-repeat;
    filter: brightness(0.9) contrast(1.05);
    transform: scale(1.02);
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center 40%,
        rgba(6, 12, 16, 0.45) 0%,
        rgba(6, 12, 16, 0.75) 60%,
        rgba(6, 12, 16, 0.95) 100%
    );
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.page-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 18px;
    background: rgba(218, 186, 111, 0.15);
    border: 1px solid rgba(218, 186, 111, 0.35);
    border-radius: var(--radius-full);
    color: var(--color-gold-light);
    font-family: 'Cinzel', serif;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.page-banner-tag i, .page-banner-tag svg {
    width: 14px;
    height: 14px;
    color: var(--color-gold);
}

.page-banner-title {
    font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    text-transform: uppercase;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
    margin: 0;
}

.page-banner-desc {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(242, 240, 235, 0.9);
    max-width: 680px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    margin: 0;
}

/* ─── Filter & Search Toolbar ─── */
.catalog-toolbar-wrapper {
    background: var(--color-bg-alt);
    border-bottom: 1px solid rgba(218, 186, 111, 0.15);
    position: sticky;
    top: var(--navbar-height);
    z-index: 15;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: var(--space-4) 0;
    transition: all 0.3s ease;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 240px;
    max-width: 400px;
}

.search-box i, .search-box svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--color-gold);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    background: rgba(6, 12, 16, 0.6);
    border: 1px solid rgba(218, 186, 111, 0.25);
    border-radius: var(--radius-full);
    color: #fff;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    transition: all 0.25s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(6, 12, 16, 0.9);
    box-shadow: 0 0 16px rgba(218, 186, 111, 0.25);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.filter-pills {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.filter-pill {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(218, 186, 111, 0.2);
    border-radius: var(--radius-full);
    color: rgba(242, 240, 235, 0.8);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-pill:hover {
    background: rgba(218, 186, 111, 0.12);
    border-color: rgba(218, 186, 111, 0.4);
    color: var(--color-gold-light);
    transform: translateY(-1px);
}

.filter-pill.active {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: #060c10;
    border-color: var(--color-gold);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(218, 186, 111, 0.3);
}

.filter-select {
    padding: 9px 14px;
    background: rgba(6, 12, 16, 0.6);
    border: 1px solid rgba(218, 186, 111, 0.25);
    border-radius: var(--radius-md);
    color: rgba(242, 240, 235, 0.9);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-gold);
}

.filter-select option {
    background: #0d1519;
    color: #fff;
}

.results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0 var(--space-2);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-xs);
    font-weight: 500;
}

.count-badge {
    color: var(--color-gold);
    font-weight: 700;
}

/* ─── Grid of Trip Cards ─── */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-6);
    padding: var(--space-6) 0 var(--space-12);
}

.catalog-card {
    background: rgba(13, 21, 25, 0.7);
    border: 1px solid rgba(218, 186, 111, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
}

.catalog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(218, 186, 111, 0.45);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(218, 186, 111, 0.15);
}

.card-media {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2a22, #0d1519);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-card:hover .card-img {
    transform: scale(1.08);
}

.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
    z-index: 2;
}

.badge-tag {
    padding: 4px 10px;
    background: rgba(6, 12, 16, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(218, 186, 111, 0.35);
    border-radius: var(--radius-full);
    color: var(--color-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge-diff {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge-diff.easy { background: rgba(34, 197, 94, 0.2); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.4); }
.badge-diff.easy-moderate { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.4); }
.badge-diff.moderate { background: rgba(234, 179, 8, 0.2); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.4); }
.badge-diff.moderate-difficult { background: rgba(249, 115, 22, 0.2); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.4); }
.badge-diff.difficult { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }

.card-rating-float {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(6, 12, 16, 0.85);
    border: 1px solid rgba(218, 186, 111, 0.3);
    border-radius: var(--radius-full);
    padding: 3px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}

.card-rating-float i, .card-rating-float svg {
    width: 12px;
    height: 12px;
    color: var(--color-gold);
    fill: var(--color-gold);
}

.card-body {
    padding: var(--space-4) var(--space-5) var(--space-5);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-3);
}

.card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: #FFFFFF;
    margin: 0;
    transition: color 0.2s ease;
}

.catalog-card:hover .card-title {
    color: var(--color-gold-light);
}

.card-specs {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    color: rgba(242, 240, 235, 0.75);
    font-size: var(--text-xs);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.spec-item i, .spec-item svg {
    width: 13px;
    height: 13px;
    color: var(--color-gold);
}

.card-desc {
    font-size: var(--text-xs);
    line-height: 1.6;
    color: rgba(242, 240, 235, 0.65);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.card-footer-row {
    margin-top: auto;
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
}

.price-block {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}

.price-val {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-gold);
}

.price-original {
    font-size: 11px;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 4px;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-card-details {
    padding: 8px 16px;
    background: rgba(218, 186, 111, 0.12);
    border: 1px solid rgba(218, 186, 111, 0.4);
    border-radius: var(--radius-full);
    color: var(--color-gold-light);
    font-size: var(--text-xs);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-card-details:hover {
    background: var(--color-gold);
    color: #060c10;
    border-color: var(--color-gold);
}

.btn-card-wa {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25D366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-card-wa:hover {
    background: #25D366;
    color: #060c10;
    transform: scale(1.08);
}

/* ─── Detail Modal / Slide-over Drawer ─── */
.trip-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 11, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: var(--space-4);
}

.trip-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.trip-modal-container {
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    background: #0a1115;
    border: 1px solid rgba(218, 186, 111, 0.3);
    border-radius: var(--radius-xl);
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(218, 186, 111, 0.15);
    transform: translateY(20px) scale(0.98);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.trip-modal-backdrop.active .trip-modal-container {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(6, 12, 16, 0.85);
    border: 1px solid rgba(218, 186, 111, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}

.modal-close-btn:hover {
    background: var(--color-gold);
    color: #060c10;
    transform: rotate(90deg);
}

.modal-hero-cover {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-bottom: 1px solid rgba(218, 186, 111, 0.2);
}

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

.modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0a1115 0%, rgba(10, 17, 21, 0.5) 60%, rgba(10, 17, 21, 0.2) 100%);
}

.modal-hero-info {
    position: absolute;
    bottom: 20px;
    left: 28px;
    right: 28px;
    z-index: 2;
}

.modal-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.modal-meta-row {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.modal-pill {
    padding: 4px 12px;
    background: rgba(6, 12, 16, 0.85);
    border: 1px solid rgba(218, 186, 111, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-gold-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modal-nav-tabs {
    display: flex;
    border-bottom: 1px solid rgba(218, 186, 111, 0.15);
    padding: 0 28px;
    gap: var(--space-4);
    background: rgba(6, 12, 16, 0.5);
    overflow-x: auto;
}

.modal-tab-btn {
    padding: 14px 4px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(242, 240, 235, 0.7);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.modal-tab-btn:hover {
    color: #fff;
}

.modal-tab-btn.active {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

.modal-tab-content {
    padding: 28px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Timeline Accordion for Itinerary ─── */
.itinerary-timeline {
    position: relative;
    padding-left: 28px;
    border-left: 2px solid rgba(218, 186, 111, 0.25);
    margin: var(--space-4) 0;
}

.itinerary-step {
    position: relative;
    margin-bottom: var(--space-6);
}

.itinerary-step:last-child {
    margin-bottom: 0;
}

.itinerary-node {
    position: absolute;
    left: -38px;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-gold);
    border: 3px solid #0a1115;
    box-shadow: 0 0 10px rgba(218, 186, 111, 0.5);
}

.itinerary-day-tag {
    font-family: 'Cinzel', serif;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.itinerary-heading {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 8px;
}

.itinerary-bullets {
    margin: 0 0 8px;
    padding-left: 18px;
    color: rgba(242, 240, 235, 0.85);
    font-size: var(--text-sm);
    line-height: 1.65;
}

.itinerary-bullets li {
    margin-bottom: 4px;
}

.itinerary-meals-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(218, 186, 111, 0.1);
    border: 1px solid rgba(218, 186, 111, 0.2);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-gold-light);
}

/* ─── Highlights & Inclusion Grid ─── */
.highlights-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
    margin: var(--space-4) 0;
}

.highlight-box {
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(218, 186, 111, 0.18);
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.highlight-box i, .highlight-box svg {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-box p {
    margin: 0;
    font-size: var(--text-sm);
    color: rgba(242, 240, 235, 0.9);
    line-height: 1.5;
}

.inclusions-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin: var(--space-4) 0;
}

.inc-card {
    padding: var(--space-5);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}

.inc-card.included { border: 1px solid rgba(34, 197, 94, 0.25); }
.inc-card.excluded { border: 1px solid rgba(239, 68, 68, 0.25); }

.inc-title {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.inc-card.included .inc-title { color: #4ade80; }
.inc-card.excluded .inc-title { color: #f87171; }

.inc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--text-xs);
    line-height: 1.7;
    color: rgba(242, 240, 235, 0.85);
}

.inc-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.inc-list li::before {
    content: "✓";
    color: #4ade80;
    font-weight: bold;
}

.inc-card.excluded .inc-list li::before {
    content: "✕";
    color: #f87171;
}

/* ─── Modal Sticky Bottom CTA ─── */
.modal-bottom-bar {
    position: sticky;
    bottom: 0;
    background: #060c10;
    border-top: 1px solid rgba(218, 186, 111, 0.25);
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 20;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
    width: 100%;
}

.modal-price-tag {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.modal-price-tag .p-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.2;
    margin-bottom: 2px;
}

.modal-price-tag .p-val-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.modal-price-tag .p-val {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1.1;
}

.modal-price-tag .p-unit {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.modal-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-modal-wa {
    padding: 12px 22px;
    background: #25D366;
    color: #060c10;
    font-weight: 700;
    font-size: 13px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    border: 1px solid rgba(37, 211, 102, 0.5);
    box-sizing: border-box;
}

.btn-modal-wa:hover {
    background: #20BA56;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-modal-book {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: #060c10;
    font-weight: 700;
    font-size: 13px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn-modal-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 186, 111, 0.4);
}

/* ─── Universal Booking & Quick Enquiry Modal ─── */
.book-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: var(--space-4);
    box-sizing: border-box;
}

.book-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.book-modal-card {
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    background: #0d1519;
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(218, 186, 111, 0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.book-modal-backdrop.active .book-modal-card {
    transform: translateY(0);
}

.book-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.book-form-group {
    margin-bottom: var(--space-4);
}

.book-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gold-light);
    margin-bottom: 6px;
}

.book-input, .book-select, .book-textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(6, 12, 16, 0.8);
    border: 1px solid rgba(218, 186, 111, 0.3);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    transition: border-color 0.25s ease;
}

.book-input:focus, .book-select:focus, .book-textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 12px rgba(218, 186, 111, 0.25);
}

.book-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: #060c10;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.book-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 186, 111, 0.4);
}

/* ─── Gallery Lightbox Modal ─── */
.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
    padding: var(--space-6) 0 var(--space-12);
}

.gallery-card-item {
    position: relative;
    height: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(218, 186, 111, 0.15);
    background: #0d1519;
}

.gallery-card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card-item:hover img {
    transform: scale(1.08);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 12, 16, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-4);
}

.gallery-card-item:hover .gallery-card-overlay {
    opacity: 1;
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 11, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: var(--space-4);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-active-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 1px solid rgba(218, 186, 111, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-caption {
    margin-top: var(--space-3);
    text-align: center;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: var(--text-base);
    letter-spacing: 0.05em;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(6, 12, 16, 0.8);
    border: 1px solid rgba(218, 186, 111, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.lightbox-nav-btn:hover {
    background: var(--color-gold);
    color: #060c10;
}

.lightbox-prev-btn { left: 24px; }
.lightbox-next-btn { right: 24px; }

/* ─── Blogs & Articles Page ─── */
.blogs-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    padding: var(--space-6) 0 var(--space-12);
}

.blog-post-card {
    background: rgba(13, 21, 25, 0.7);
    border: 1px solid rgba(218, 186, 111, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
    backdrop-filter: blur(10px);
}

.blog-post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(218, 186, 111, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.blog-post-media {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-post-card:hover .blog-post-media img {
    transform: scale(1.08);
}

.blog-post-body {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-3);
}

.blog-meta-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
}

.blog-post-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin: 0;
}

.blog-post-excerpt {
    font-size: var(--text-xs);
    line-height: 1.65;
    color: rgba(242, 240, 235, 0.7);
    margin: 0;
}

/* ─── Terms & Policies Container ─── */
.terms-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: var(--space-8) var(--container-padding) var(--space-12);
}

.policy-block {
    background: rgba(13, 21, 25, 0.6);
    border: 1px solid rgba(218, 186, 111, 0.18);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.policy-title {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    color: var(--color-gold-light);
    margin: 0 0 var(--space-3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-content {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: rgba(242, 240, 235, 0.85);
}

.refund-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-3) 0;
    font-size: var(--text-xs);
}

.refund-table th, .refund-table td {
    padding: 10px 14px;
    border: 1px solid rgba(218, 186, 111, 0.2);
    text-align: left;
}

.refund-table th {
    background: rgba(218, 186, 111, 0.1);
    color: var(--color-gold);
    font-weight: 700;
}

/* ─── Responsive Media Queries ─── */
@media (max-width: 900px) {
    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--space-4);
    }
}

@media (max-width: 768px) {
    .catalog-toolbar-wrapper {
        padding: 10px 0;
    }

    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        gap: 12px;
        border-radius: 16px;
        background: rgba(13, 21, 25, 0.85);
        border: 1px solid rgba(218, 186, 111, 0.2);
    }

    .search-box {
        max-width: 100%;
        width: 100%;
    }

    .filter-pills {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: none;
        flex-wrap: nowrap;
        width: 100%;
    }

    .filter-pills::-webkit-scrollbar {
        display: none;
    }

    .filter-pill {
        white-space: nowrap;
        font-size: 11px;
        padding: 6px 12px;
        flex-shrink: 0;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 14px 0 36px;
        width: 100%;
        box-sizing: border-box;
    }

    .catalog-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 18px;
    }

    .card-media {
        height: 210px;
    }

    .card-badges {
        top: 10px;
        left: 10px;
        right: 10px;
        gap: 6px;
    }

    .badge-tag, .badge-diff {
        font-size: 10px;
        padding: 3px 8px;
    }

    .card-body {
        padding: 16px;
        gap: 10px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-specs {
        gap: 6px 14px;
        font-size: 12px;
    }

    .card-desc {
        font-size: 12.5px;
        line-height: 1.55;
    }

    .card-footer-row {
        padding-top: 12px;
        gap: 8px;
    }

    .price-val {
        font-size: 1.3rem;
    }

    .btn-card-details {
        padding: 8px 16px;
        font-size: 12px;
    }

    .btn-card-wa {
        width: 38px;
        height: 38px;
    }

    .catalog-toolbar > div:last-child,
    .filter-selects-group {
        display: flex;
        gap: 8px;
        width: 100%;
    }

    .filter-select {
        flex: 1;
        min-width: 0;
        width: 100%;
        padding: 8px 10px;
        font-size: 12px;
    }

    .inclusions-split {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Modal Responsive on Mobile */
    .trip-modal-backdrop {
        padding: 0;
        align-items: flex-end;
        justify-content: center;
    }

    .trip-modal-container {
        max-width: 100%;
        width: 100%;
        max-height: 90vh;
        max-height: 90dvh;
        margin: 0;
        border-radius: 20px 20px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        box-sizing: border-box;
        overflow-x: hidden;
        overscroll-behavior: contain;
    }

    .modal-hero-cover {
        height: 220px;
        min-height: 220px;
        position: relative;
    }

    .modal-hero-overlay {
        background: linear-gradient(0deg, #0a1115 0%, rgba(10, 17, 21, 0.75) 55%, rgba(10, 17, 21, 0.3) 100%);
    }

    .modal-close-btn {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        background: rgba(6, 12, 16, 0.9);
        border: 1px solid var(--color-gold);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
        z-index: 50;
    }

    .modal-hero-info {
        bottom: 12px;
        left: 16px;
        right: 16px;
        padding-right: 28px;
    }

    .modal-title {
        font-size: clamp(1.15rem, 4.2vw, 1.55rem);
        line-height: 1.25;
        margin: 4px 0 0;
        color: #fff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    }

    .modal-meta-row {
        gap: 5px;
        margin-bottom: 4px;
        display: flex;
        flex-wrap: wrap;
    }

    .modal-pill {
        font-size: 10.5px;
        padding: 3px 8px;
        border-radius: var(--radius-full);
        background: rgba(6, 12, 16, 0.85);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(218, 186, 111, 0.35);
        gap: 4px;
    }

    .modal-nav-tabs {
        padding: 0 16px;
        gap: 16px;
        position: sticky;
        top: 0;
        z-index: 15;
        background: #080f13;
        border-bottom: 1px solid rgba(218, 186, 111, 0.2);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .modal-nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .modal-tab-btn {
        padding: 12px 2px;
        font-size: 13px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .modal-tab-content {
        padding: 18px 16px 36px;
        box-sizing: border-box;
    }

    .highlights-list-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .highlight-box {
        padding: 12px 14px;
        gap: 10px;
    }

    .itinerary-timeline {
        padding-left: 22px;
        margin: 12px 0;
    }

    .itinerary-step {
        margin-bottom: 20px;
    }

    /* Sticky Bottom Bar on Mobile - Perfectly Aligned & Guaranteed Visible */
    .modal-bottom-bar {
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        background: #060c10;
        border-top: 1px solid rgba(218, 186, 111, 0.25);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.85);
        z-index: 30;
        box-sizing: border-box;
        width: 100%;
    }

    .modal-price-tag {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        width: 100%;
        padding: 0 2px;
    }

    .modal-price-tag .p-label {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: rgba(255, 255, 255, 0.55);
    }

    .modal-price-tag .p-val-wrap {
        display: flex;
        align-items: baseline;
        gap: 4px;
    }

    .modal-price-tag .p-val {
        font-size: 1.35rem;
        font-weight: 800;
        color: var(--color-gold);
        line-height: 1;
    }

    .modal-price-tag .p-unit {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.6);
    }

    .modal-cta-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .btn-modal-wa, .btn-modal-book {
        width: 100%;
        padding: 11px 6px;
        font-size: 12px;
        font-weight: 700;
        border-radius: 10px;
        white-space: nowrap;
        gap: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 42px;
        box-sizing: border-box;
        letter-spacing: 0.02em;
    }

    .btn-modal-wa i, .btn-modal-wa svg,
    .btn-modal-book i, .btn-modal-book svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
    }

    /* Universal Booking Modal */
    .book-modal-backdrop {
        padding: 12px;
        align-items: center;
    }

    .book-modal-card {
        padding: 20px 16px;
        border-radius: 16px;
        max-height: 90vh;
        max-height: 90dvh;
    }

    .book-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .book-input, .book-select, .book-textarea {
        font-size: 15px;
        padding: 10px 12px;
    }

    /* Lightbox Modal */
    .lightbox-modal {
        padding: 12px;
    }

    .lightbox-img-wrapper {
        max-width: 96vw;
        max-height: 80vh;
    }

    .lightbox-active-img {
        max-height: 65vh;
    }

    .lightbox-caption {
        font-size: 13px;
        margin-top: 8px;
    }

    .lightbox-nav-btn {
        width: 38px;
        height: 38px;
    }
    .lightbox-prev-btn { left: 4px; }
    .lightbox-next-btn { right: 4px; }
}

@media (max-width: 380px) {
    .modal-bottom-bar {
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
    }

    .modal-price-tag .p-val {
        font-size: 1.2rem;
    }

    .btn-modal-wa, .btn-modal-book {
        font-size: 11px;
        padding: 10px 4px;
        gap: 4px;
        min-height: 40px;
    }

    .btn-modal-wa i, .btn-modal-wa svg,
    .btn-modal-book i, .btn-modal-book svg {
        width: 14px;
        height: 14px;
    }

    .modal-pill {
        font-size: 10px;
        padding: 2px 7px;
    }

    .modal-title {
        font-size: 1.15rem;
    }
}
