/* ==========================================================================
   Destination Catalog Portal Styles (public/css/destinations.css)
   ========================================================================== */

/* 1. Panoramic Cinematic Hero Banner */
.emt-dest-hero {
    position: relative;
    min-height: 620px;
    padding: 220px 20px 80px;
    background: linear-gradient(180deg, rgba(5,11,20,0.55) 0%, rgba(5,11,20,0.35) 50%, #050a14 100%),
                url('../images/dest/6a3bcaa6254cd_hero_kashmir.webp') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    z-index: 10;
}

/* Fallback & Ambient Texture overlay */
.emt-dest-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, transparent 20%, rgba(5,10,20,0.6) 90%);
    pointer-events: none;
}

.emt-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 12;
}

.hero-luxury-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--gold, #C5A059);
    padding: 16px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold, #C5A059);
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

.emt-dest-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.15;
    text-shadow: 0 6px 20px rgba(0,0,0,0.7);
}

.emt-dest-hero p.hero-tagline {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    max-width: 720px;
    margin: 0 auto 42px;
    line-height: 1.6;
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

/* 2. Interactive Search Capsule Dock */
.emt-search-dock-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.emt-search-dock {
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid var(--gold, #c5a059);
    border-radius: 60px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65), 0 0 35px rgba(197, 160, 89, 0.25);
    padding: 2px 12px 2px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.emt-search-dock:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), 0 0 45px rgba(197, 160, 89, 0.4);
}

.dock-field {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    min-height: 36px;
}

.dock-field.field-where { flex: 1.6; }
.dock-field.field-when  { flex: 1.2; }

.dock-field-icon {
    font-size: 28px !important;
    color: #0b1d33;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.dock-field:focus-within .dock-field-icon {
    color: var(--gold, #C5A059);
}

.dock-field-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dock-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0b1d33;
    margin-bottom: 2px;
}

.dock-input, .dock-select {
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    color: #111827;
    padding: 0;
    min-height: 48px;
    width: 100%;
    outline: none;
    cursor: pointer;
}

.dock-input::placeholder {
    color: #6b7280;
    font-weight: 400;
}

.dock-divider {
    width: 1px;
    height: 44px;
    background: rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.dock-search-btn {
    background: linear-gradient(135deg, #c5a059 0%, #d97706 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 10px 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.dock-search-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(217, 119, 6, 0.65);
    background: linear-gradient(135deg, #d1ad69 0%, #ea580c 100%);
}

/* 3. Quick-Discovery Theme Ribbon Bar */
.quick-discovery-section {
    position: relative;
    z-index: 12;
    max-width: 1300px;
    margin: -25px auto 40px;
    padding: 0 40px;
}

.quick-discovery-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    background: rgba(11, 29, 51, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.discovery-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    padding: 17px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.discovery-chip:hover {
    background: rgba(197, 160, 89, 0.15);
    border-color: rgba(197, 160, 89, 0.5);
    color: #fff;
    transform: translateY(-1px);
}

.discovery-chip.active {
    background: var(--gold, #C5A059);
    color: #030811;
    font-weight: 700;
    border-color: var(--gold, #C5A059);
    box-shadow: 0 0 22px rgba(197, 160, 89, 0.45);
}

/* 4. Layout & Grid Presentation */
.catalog-layout {
    max-width: 1350px;
    margin: 0 auto;
    padding: 20px 40px 90px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Breadcrumb Strip */
.catalog-breadcrumb {
    max-width: 1350px;
    margin: 20px auto 10px;
    padding: 0 40px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-breadcrumb a {
    color: var(--gold, #C5A059);
    text-decoration: none;
    transition: opacity 0.2s;
    display: inline-block;
    padding: 16px 0;
    min-height: 48px;
    line-height: 48px;
}

.catalog-breadcrumb a:hover {
    opacity: 0.8;
}

/* Sidebar */
.catalog-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 110px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.filter-group {
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--gold, #C5A059);
    margin: 0 0 16px 0;
}

/* Custom Checkbox / Radio */
.custom-radio-option, .custom-checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    min-height: 48px;
    padding: 8px 0;
}

.custom-radio-option:last-child, .custom-checkbox-option:last-child {
    margin-bottom: 0;
}

.custom-radio-option input, .custom-checkbox-option input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
}

.custom-radio-option input {
    border-radius: 50%;
}

.custom-radio-option input:checked, .custom-checkbox-option input:checked {
    border-color: var(--gold, #C5A059);
    background: var(--gold, #C5A059);
}

.custom-radio-option input:checked::after, .custom-checkbox-option input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    border-radius: 50%;
}

.custom-radio-option input:checked::after {
    width: 8px;
    height: 8px;
}

.custom-checkbox-option input:checked::after {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: none;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: translate(-50%, -60%) rotate(-45deg);
}

.radio-label, .checkbox-label {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}

.custom-radio-option input:checked + .radio-label,
.custom-checkbox-option input:checked + .checkbox-label {
    color: #fff;
    font-weight: 600;
}

/* Main Grid & Results Header */
.packages-grid-display {
    flex: 1;
}

.grid-header-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.grid-header-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.results-count-pill {
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: var(--gold, #C5A059);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 16px 12px;
    border-radius: 20px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 30px;
    width: 100%;
}

.catalog-card-item {
    aspect-ratio: 4/5;
    min-height: 420px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.catalog-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.65), 0 0 25px rgba(197, 160, 89, 0.15);
    border-color: rgba(197, 160, 89, 0.45);
}

.catalog-card-anchor {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.catalog-card-image-shell {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.catalog-card-image-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3,8,17,0.95) 0%, rgba(3,8,17,0.5) 40%, transparent 100%);
    z-index: 2;
}

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

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

.days-nights-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(11, 29, 51, 0.85);
    backdrop-filter: blur(6px);
    color: var(--gold, #C5A059);
    padding: 16px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid rgba(197, 160, 89, 0.4);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.catalog-card-body {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 24px 24px;
    height: 100%;
}

.catalog-card-destination {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold, #C5A059);
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.catalog-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #ffffff;
    transition: color 0.3s ease;
}

.catalog-card-item:hover .catalog-card-title {
    color: var(--gold, #C5A059);
}

.catalog-card-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-bottom: 24px; line-height: 1.55; }

.card-footer-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tours-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.85);
}

.explore-link-btn {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold, #C5A059);
    transition: transform 0.3s ease;
    display: inline-flex;
    padding: 17px 12px;
    min-height: 48px;
    align-items: center;
    gap: 4px;
}

.catalog-card-item:hover .explore-link-btn {
    transform: translateX(4px);
}

.catalog-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255,255,255,0.6);
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}

.is-hidden { display: none !important; }

/* 5. Responsive Adaptations */
@media (max-width: 991px) {
    .emt-dest-hero {
        min-height: 540px;
        padding: 170px 20px 60px;
    }
    .emt-dest-hero h1 {
        font-size: 2.8rem;
    }
    .catalog-layout {
        flex-direction: column;
        padding: 20px 20px 60px;
    }
    .catalog-sidebar {
        width: 100%;
        position: static;
    }
    .emt-search-dock {
        flex-direction: column;
        border-radius: 25px;
        padding: 20px;
        gap: 20px;
    }
    .dock-field {
        width: 100%;
    }
    .dock-divider {
        width: 100%;
        height: 1px;
    }
    .dock-search-btn {
        width: 100%;
        justify-content: center;
    }
    .quick-discovery-ribbon {
        border-radius: 20px;
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .emt-dest-hero h1 {
        font-size: 2.2rem;
    }
    .emt-dest-hero p.hero-tagline {
        font-size: 0.98rem;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}
