/**
 * Destination Hub Directory Stylesheet
 * File: assets/css/04-pages/destination-hub.css
 * Theme: Florist Starter Theme (Akila Florist Atelier)
 * Version: 2.0.0 (Master Unified Specification - design-system.md)
 */

/* ── BASE & TYPOGRAPHY ────────────────────────────────────────────────────── */
.dest-hub-page {
    background-color: var(--st-canvas, #FCFAF9);
    color: var(--st-charcoal-700, #374151);
    font-family: var(--font-body, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── HERO HEADER ──────────────────────────────────────────────────────────── */
.dest-hub-hero {
    background: linear-gradient(180deg, var(--st-canvas, #FCFAF9) 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--st-stone-200, #E7E5E4);
    padding-top: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.dest-hub-breadcrumb {
    margin-bottom: 1.25rem;
}

.dest-hub-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.813rem;
    color: var(--st-charcoal-500, #6B7280);
    flex-wrap: wrap;
}

.dest-hub-breadcrumb-list a {
    color: var(--st-charcoal-500, #6B7280);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dest-hub-breadcrumb-list a:hover {
    color: var(--st-brand-700, #BE0038);
}

.dest-hub-breadcrumb-sep {
    color: var(--st-stone-300, #D6D3D1);
}

.dest-hub-hero-inner {
    max-width: 860px;
}

.dest-hub-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: #FFFFFF;
    border: 1px solid var(--st-stone-200, #E7E5E4);
    border-radius: var(--st-radius-full, 9999px);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--st-charcoal-700, #374151);
    letter-spacing: 0.03em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    margin-bottom: 1rem;
}

.dest-hub-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--st-brand-700, #BE0038);
    display: inline-block;
}

.dest-hub-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--st-charcoal-900, #111827);
    line-height: 1.2;
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.02em;
}

.dest-hub-lead {
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.7;
    color: var(--st-charcoal-600, #4B5563);
    margin: 0 0 1.75rem 0;
}

.dest-hub-actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.st-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--st-whatsapp, #25D366);
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.938rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--st-radius-full, 9999px);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.st-btn-wa:hover {
    background-color: var(--st-whatsapp-hover, #1FB855);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.st-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    color: var(--st-charcoal-900, #111827) !important;
    border: 1px solid var(--st-stone-200, #E7E5E4);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.938rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--st-radius-full, 9999px);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.st-btn-secondary:hover {
    border-color: var(--st-charcoal-900, #111827);
    background-color: var(--st-stone-50, #FAFAF9);
    transform: translateY(-1px);
}

.dest-hub-trust-bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.813rem;
    color: var(--st-charcoal-600, #4B5563);
    padding-top: 1.25rem;
    border-top: 1px solid var(--st-stone-200, #E7E5E4);
}

.dest-hub-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dest-hub-trust-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--st-stone-400, #A8A29E);
    display: inline-block;
}

/* ── DIRECTORY & FILTER SYSTEM ────────────────────────────────────────────── */
.dest-hub-section {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.dest-hub-radio {
    display: none;
}

.dest-hub-filter-wrap {
    margin-bottom: 2.25rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.dest-hub-filter-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--st-stone-100, #F5F5F4);
    padding: 0.375rem;
    border-radius: var(--st-radius-full, 9999px);
    border: 1px solid var(--st-stone-200, #E7E5E4);
    white-space: nowrap;
}

.dest-hub-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--st-charcoal-600, #4B5563);
    border-radius: var(--st-radius-full, 9999px);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.dest-hub-filter-tab:hover {
    color: var(--st-charcoal-900, #111827);
}

.dest-hub-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Radio button active states */
#cat-all:checked ~ .dest-hub-filter-wrap #tab-all,
#cat-kampus:checked ~ .dest-hub-filter-wrap #tab-kampus,
#cat-hotel:checked ~ .dest-hub-filter-wrap #tab-hotel,
#cat-resto:checked ~ .dest-hub-filter-wrap #tab-resto,
#cat-duka:checked ~ .dest-hub-filter-wrap #tab-duka {
    background: #FFFFFF;
    color: var(--st-brand-700, #BE0038);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#cat-all:checked ~ .dest-hub-filter-wrap #tab-all .dest-hub-tab-count,
#cat-kampus:checked ~ .dest-hub-filter-wrap #tab-kampus .dest-hub-tab-count,
#cat-hotel:checked ~ .dest-hub-filter-wrap #tab-hotel .dest-hub-tab-count,
#cat-resto:checked ~ .dest-hub-filter-wrap #tab-resto .dest-hub-tab-count,
#cat-duka:checked ~ .dest-hub-filter-wrap #tab-duka .dest-hub-tab-count {
    background: var(--st-brand-50, #FFF1F2);
    color: var(--st-brand-700, #BE0038);
}

/* Card Filtering by Selected Radio */
#cat-kampus:checked ~ .dest-hub-grid .dest-hub-card:not(.dest-hub-item-kampus) {
    display: none;
}
#cat-hotel:checked ~ .dest-hub-grid .dest-hub-card:not(.dest-hub-item-hotel) {
    display: none;
}
#cat-resto:checked ~ .dest-hub-grid .dest-hub-card:not(.dest-hub-item-resto) {
    display: none;
}
#cat-duka:checked ~ .dest-hub-grid .dest-hub-card:not(.dest-hub-item-duka) {
    display: none;
}

/* ── VENUES CARD GRID ─────────────────────────────────────────────────────── */
.dest-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.dest-hub-card {
    background: #FFFFFF;
    border: 1px solid var(--st-stone-200, #E7E5E4);
    border-radius: var(--st-radius-lg, 12px);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dest-hub-card:hover {
    transform: translateY(-3px);
    border-color: var(--st-stone-300, #D6D3D1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07);
}

.dest-hub-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.dest-hub-card-category {
    font-size: 0.688rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.625rem;
    border-radius: var(--st-radius-full, 9999px);
    background: var(--st-stone-100, #F5F5F4);
    color: var(--st-charcoal-600, #4B5563);
}

.dest-hub-item-kampus .dest-hub-card-category {
    background: #EFF6FF;
    color: #1D4ED8;
}
.dest-hub-item-hotel .dest-hub-card-category {
    background: #FDF2F8;
    color: #BE185D;
}
.dest-hub-item-resto .dest-hub-card-category {
    background: #ECFDF5;
    color: #047857;
}
.dest-hub-item-duka .dest-hub-card-category {
    background: #F3F4F6;
    color: #374151;
}

.dest-hub-card-badge {
    font-size: 0.688rem;
    font-weight: 600;
    color: var(--st-brand-700, #BE0038);
    background: var(--st-brand-50, #FFF1F2);
    padding: 0.2rem 0.5rem;
    border-radius: var(--st-radius-sm, 6px);
}

.dest-hub-card-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.5rem 0;
}

.dest-hub-card-title a {
    color: var(--st-charcoal-900, #111827);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dest-hub-card-title a:hover {
    color: var(--st-brand-700, #BE0038);
}

.dest-hub-card-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.813rem;
    color: var(--st-charcoal-500, #6B7280);
    margin-bottom: 0.75rem;
}

.dest-hub-card-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--st-charcoal-600, #4B5563);
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.dest-hub-card-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.dest-hub-chip {
    font-size: 0.688rem;
    background: var(--st-canvas, #FCFAF9);
    border: 1px solid var(--st-stone-200, #E7E5E4);
    padding: 0.2rem 0.5rem;
    border-radius: var(--st-radius-sm, 6px);
    color: var(--st-charcoal-600, #4B5563);
}

.dest-hub-card-footer {
    padding-top: 0.875rem;
    border-top: 1px solid var(--st-stone-100, #F5F5F4);
}

.dest-hub-card-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: var(--st-stone-50, #FAFAF9);
    color: var(--st-charcoal-800, #1F2937);
    border: 1px solid var(--st-stone-200, #E7E5E4);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.813rem;
    padding: 0.625rem 0.875rem;
    border-radius: var(--st-radius-md, 8px);
    transition: all 0.2s ease;
}

.dest-hub-card-btn:hover {
    background: var(--st-brand-700, #BE0038);
    color: #FFFFFF !important;
    border-color: var(--st-brand-700, #BE0038);
}

.dest-hub-card-btn:hover svg {
    transform: translateX(3px);
}

.dest-hub-card-btn svg {
    transition: transform 0.2s ease;
}

/* ── COVERAGE / AREA SECTION ──────────────────────────────────────────────── */
.dest-hub-coverage-section {
    background: #FFFFFF;
    border-top: 1px solid var(--st-stone-200, #E7E5E4);
    border-bottom: 1px solid var(--st-stone-200, #E7E5E4);
}

.dest-hub-section-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(1.625rem, 3vw, 2.125rem);
    font-weight: 800;
    color: var(--st-charcoal-900, #111827);
    line-height: 1.25;
    margin: 0 0 0.75rem 0;
}

.dest-hub-section-subtitle {
    font-size: 0.938rem;
    color: var(--st-charcoal-600, #4B5563);
    line-height: 1.6;
    margin: 0;
}

.dest-hub-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dest-hub-area-card {
    background: var(--st-canvas, #FCFAF9);
    border: 1px solid var(--st-stone-200, #E7E5E4);
    border-radius: var(--st-radius-lg, 12px);
    padding: 1.75rem 1.5rem;
}

.dest-hub-area-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid var(--st-stone-200, #E7E5E4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-brand-700, #BE0038);
    margin-bottom: 1.25rem;
}

.dest-hub-area-name {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--st-charcoal-900, #111827);
}

.dest-hub-area-desc {
    font-size: 0.875rem;
    color: var(--st-charcoal-600, #4B5563);
    margin: 0 0 1rem 0;
}

.dest-hub-area-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.813rem;
    line-height: 1.6;
    color: var(--st-charcoal-700, #374151);
}

.dest-hub-area-list li {
    padding: 0.35rem 0;
    border-top: 1px dashed var(--st-stone-200, #E7E5E4);
}

.dest-hub-policy-box {
    background: var(--st-stone-50, #FAFAF9);
    border: 1px solid var(--st-stone-200, #E7E5E4);
    border-left: 4px solid var(--st-brand-700, #BE0038);
    border-radius: var(--st-radius-md, 8px);
    padding: 1.25rem 1.5rem;
}

.dest-hub-policy-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.938rem;
    color: var(--st-charcoal-900, #111827);
    margin-bottom: 0.5rem;
}

.dest-hub-policy-header svg {
    color: var(--st-brand-700, #BE0038);
}

.dest-hub-policy-box p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--st-charcoal-600, #4B5563);
    margin: 0;
}

/* ── STEPPER SECTION ──────────────────────────────────────────────────────── */
.dest-hub-stepper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.dest-hub-step-card {
    background: #FFFFFF;
    border: 1px solid var(--st-stone-200, #E7E5E4);
    border-radius: var(--st-radius-lg, 12px);
    padding: 2rem 1.5rem;
    position: relative;
}

.dest-hub-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--st-brand-700, #BE0038);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.dest-hub-step-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--st-charcoal-900, #111827);
    margin: 0 0 0.5rem 0;
}

.dest-hub-step-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--st-charcoal-600, #4B5563);
    margin: 0;
}

/* ── FAQ ACCORDION ────────────────────────────────────────────────────────── */
.dest-hub-faq-section {
    background: #FFFFFF;
    border-top: 1px solid var(--st-stone-200, #E7E5E4);
}

.dest-hub-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.dest-hub-faq-item {
    background: var(--st-canvas, #FCFAF9);
    border: 1px solid var(--st-stone-200, #E7E5E4);
    border-radius: var(--st-radius-md, 8px);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.dest-hub-faq-item[open] {
    border-color: var(--st-stone-300, #D6D3D1);
    background: #FFFFFF;
}

.dest-hub-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    font-size: 0.938rem;
    font-weight: 700;
    color: var(--st-charcoal-900, #111827);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.dest-hub-faq-question::-webkit-details-marker {
    display: none;
}

.dest-hub-faq-chevron {
    width: 18px;
    height: 18px;
    color: var(--st-charcoal-400, #9CA3AF);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.dest-hub-faq-item[open] .dest-hub-faq-chevron {
    transform: rotate(180deg);
    color: var(--st-brand-700, #BE0038);
}

.dest-hub-faq-answer {
    padding: 0 1.25rem 1.125rem 1.25rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--st-charcoal-600, #4B5563);
}

.dest-hub-faq-answer p {
    margin: 0;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .dest-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dest-hub-area-grid,
    .dest-hub-stepper-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dest-hub-grid,
    .dest-hub-area-grid,
    .dest-hub-stepper-grid {
        grid-template-columns: 1fr;
    }
    .dest-hub-trust-bar {
        gap: 0.75rem;
    }
    .dest-hub-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .dest-hub-actions a {
        width: 100%;
        text-align: center;
    }
}
