/* ============================================================
   FACILITIES PAGE — Elegant Content Design
   Isolated with .fc-* prefix — no impact on other pages
   ============================================================ */

:root {
    --fc-navy: #202135;
    --fc-coral: #ee472e;
    --fc-cream: #f4f1ec;
    --fc-warm: #f8f6f2;
    --fc-text: #2c3e50;
    --fc-muted: #5a6c7d;
    --fc-light: #e8e4df;
    --fc-transition: cubic-bezier(0.4, 0, 0.2, 1);
}


/* ---------- Section Intro ---------- */
.fc-intro {
    padding: 80px 0 40px;
    background: #fff;
    text-align: center;
}

.fc-intro-label {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--fc-coral);
    margin-bottom: 1rem;
}

.fc-intro-title {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--fc-navy);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.fc-intro-title span {
    color: var(--fc-coral);
}

.fc-intro-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--fc-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}


/* ---------- Facilities Grid ---------- */
.fc-grid-section {
    padding: 40px 0 100px;
    background: #fff;
}

.fc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.fc-card {
    background: var(--fc-warm);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--fc-transition),
                box-shadow 0.4s var(--fc-transition);
    /* Scroll reveal */
    opacity: 0;
    transform: translateY(40px);
}

.fc-card.fc-card--visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--fc-transition),
                transform 0.6s var(--fc-transition),
                box-shadow 0.4s var(--fc-transition);
}

.fc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--fc-coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--fc-transition);
}

.fc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.fc-card:hover::before {
    transform: scaleX(1);
}

.fc-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.2rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s var(--fc-transition),
                box-shadow 0.4s var(--fc-transition);
}

.fc-card:hover .fc-card-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(238, 71, 46, 0.15);
}

.fc-card-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.fc-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fc-navy);
    margin-bottom: 0.5rem;
}

.fc-card-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    color: var(--fc-muted);
    line-height: 1.6;
    margin: 0;
}


/* ---------- Shuttle Bus Section ---------- */
.fc-shuttle {
    background: var(--fc-cream);
    padding: 100px 0;
}

.fc-shuttle-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.fc-shuttle-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.fc-shuttle-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem;
    background: var(--fc-coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-shuttle-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.fc-shuttle-title {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--fc-navy);
    margin-bottom: 0.6rem;
}

.fc-shuttle-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--fc-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Info Chips */
.fc-schedule-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4rem;
}

.fc-info-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: var(--fc-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.fc-info-chip i { color: var(--fc-coral); font-size: 0.9rem; }
.fc-info-chip strong { font-weight: 600; }

/* Row 2: Direction + Tabs + Search (equal thirds) */
.fc-toolbar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    width: 100%;
}

.fc-direction-toggle {
    display: flex;
    gap: 0.4rem;
    flex: 1;
}

.fc-toolbar .fc-route-tabs {
    flex-shrink: 0;
}

.fc-toolbar .fc-hotel-search {
    flex: 1;
}

/* Hotel Search */
.fc-hotel-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border: 1.5px solid var(--fc-light);
    border-radius: 50px;
    padding: 0.55rem 1.1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.fc-hotel-search:focus-within {
    border-color: var(--fc-coral);
    box-shadow: 0 0 0 3px rgba(238, 71, 46, 0.08);
}

.fc-hotel-search i { color: var(--fc-muted); font-size: 0.85rem; flex-shrink: 0; }

.fc-hotel-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: var(--fc-text);
    outline: none;
    min-width: 0;
}

.fc-hotel-search input::placeholder { color: #b0b8c4; font-weight: 300; }

.fc-hotel-clear {
    border: none;
    background: none;
    color: var(--fc-muted);
    cursor: pointer;
    display: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.fc-hotel-clear.fc-hotel-clear--visible { display: block; }
.fc-hotel-clear:hover { color: var(--fc-coral); }

/* Route Tabs */
.fc-route-tabs {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.fc-route-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border: 2px solid var(--fc-light);
    border-radius: 50px;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--fc-muted);
    cursor: pointer;
    transition: all 0.3s var(--fc-transition);
}

.fc-route-tab i { font-size: 0.85rem; }

.fc-route-tab:hover {
    border-color: var(--fc-text);
    color: var(--fc-text);
}

.fc-route-tab.fc-route-tab--active {
    background: var(--fc-navy);
    border-color: var(--fc-navy);
    color: #fff;
}

/* Timetable */
.fc-timetable {
    display: none;
    animation: fcFadeIn 0.4s var(--fc-transition);
}

.fc-timetable.fc-timetable--active {
    display: block;
}

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

.fc-route-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.fc-route-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.9rem;
    background: var(--fc-coral);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.fc-route-badge--2 {
    background: var(--fc-navy);
}

.fc-route-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--fc-navy);
}

/* Table Wrapper — horizontal scroll */
.fc-table-wrap {
    background: #fff;
    border-radius: 14px;
    overflow-x: auto;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    -webkit-overflow-scrolling: touch;
}

.fc-table-wrap::-webkit-scrollbar { height: 6px; }
.fc-table-wrap::-webkit-scrollbar-track { background: transparent; }
.fc-table-wrap::-webkit-scrollbar-thumb { background: var(--fc-light); border-radius: 3px; }

.fc-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    min-width: 900px;
}

.fc-table thead th {
    background: var(--fc-navy);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.85rem 0.7rem;
    text-align: center;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
}

.fc-table thead th:first-child {
    text-align: left;
    padding-left: 1.2rem;
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--fc-navy);
    min-width: 180px;
}

.fc-table tbody td {
    padding: 0.75rem 0.7rem;
    text-align: center;
    color: var(--fc-text);
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    transition: background 0.2s ease;
}

.fc-table tbody tr:hover td {
    background: rgba(238, 71, 46, 0.04);
}

.fc-table tbody tr.fc-row--highlight td {
    background: rgba(238, 71, 46, 0.1);
    font-weight: 700;
    color: var(--fc-coral);
}

.fc-table tbody tr.fc-row--dim td {
    opacity: 0.35;
}

.fc-td-stop {
    text-align: left !important;
    padding-left: 1.2rem !important;
    font-weight: 600 !important;
    color: var(--fc-navy) !important;
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
    min-width: 180px;
}

.fc-table tbody tr:hover .fc-td-stop {
    background: rgba(238, 71, 46, 0.04);
}

.fc-table tbody tr.fc-row--highlight .fc-td-stop {
    background: rgba(238, 71, 46, 0.1);
    color: var(--fc-coral) !important;
}

.fc-td-stop i {
    color: var(--fc-coral);
    margin-right: 0.3rem;
    font-size: 0.8rem;
}

/* Origin & return rows */
.fc-row-origin .fc-td-stop,
.fc-row-return .fc-td-stop {
    color: var(--fc-coral) !important;
}

.fc-row-origin td,
.fc-row-return td {
    background: var(--fc-warm);
    font-weight: 600;
}

.fc-row-origin .fc-td-stop,
.fc-row-return .fc-td-stop {
    background: var(--fc-warm) !important;
}

/* No results */
.fc-no-results {
    text-align: center;
    padding: 2rem;
    color: var(--fc-muted);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.fc-no-results i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.8rem;
    color: var(--fc-light);
}

.fc-no-results a {
    color: var(--fc-coral);
    text-decoration: underline;
}

/* (direction toggle in .fc-toolbar) */

.fc-dir-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.3rem;
    border: 2px solid var(--fc-light);
    border-radius: 50px;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--fc-muted);
    cursor: pointer;
    transition: all 0.3s var(--fc-transition);
}

.fc-dir-btn i { font-size: 0.75rem; }

.fc-dir-hint {
    font-weight: 400;
    font-size: 0.75rem;
    opacity: 0.7;
}

.fc-dir-btn:hover {
    border-color: var(--fc-text);
    color: var(--fc-text);
}

.fc-dir-btn.fc-dir-btn--active {
    background: var(--fc-coral);
    border-color: var(--fc-coral);
    color: #fff;
}

/* Loading state */
.fc-shuttle-loading {
    text-align: center;
    padding: 3rem 0;
    color: var(--fc-muted);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.fc-shuttle-loading i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--fc-coral);
    animation: fcSpin 0.8s linear infinite;
}

@keyframes fcSpin {
    to { transform: rotate(360deg); }
}

/* Download CTA */
.fc-download-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--fc-light);
}

.fc-download-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    color: var(--fc-muted);
    margin-bottom: 1rem;
}

.fc-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.8rem;
    background: transparent;
    border: 2px solid var(--fc-coral);
    border-radius: 50px;
    color: var(--fc-coral);
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--fc-transition);
}

.fc-download-btn:hover {
    background: var(--fc-coral);
    color: #fff;
}

.fc-download-btn i { font-size: 0.95rem; }


/* ---------- First Aid Note ---------- */
.fc-note {
    background: #fff;
    padding: 60px 0;
}

.fc-note-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--fc-warm);
    border-radius: 16px;
    padding: 2rem 2.5rem;
}

.fc-note-icon {
    width: 56px;
    height: 56px;
    background: rgba(238, 71, 46, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fc-note-icon img {
    width: 28px;
    height: 28px;
}

.fc-note-text h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--fc-navy);
    margin: 0 0 0.3rem;
}

.fc-note-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    color: var(--fc-muted);
    margin: 0;
    line-height: 1.6;
}


/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .fc-intro { padding: 60px 1.5rem 30px; }

    .fc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .fc-card { padding: 1.8rem 1.2rem 1.5rem; }

    .fc-card-icon { width: 56px; height: 56px; }
    .fc-card-icon img { width: 28px; height: 28px; }

    .fc-card-title { font-size: 0.95rem; }
    .fc-card-desc { font-size: 0.8rem; }

    .fc-shuttle { padding: 60px 0; }
    .fc-shuttle-inner { padding: 0 1rem; }

    .fc-schedule-info { gap: 0.6rem; }
    .fc-info-chip { font-size: 0.78rem; padding: 0.5rem 0.9rem; }

    .fc-toolbar {
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .fc-hotel-search { width: 100%; order: 3; }

    .fc-direction-toggle { order: 1; }

    .fc-route-tabs { order: 2; justify-content: center; gap: 0.4rem; flex-wrap: wrap; }
    .fc-route-tab { font-size: 0.78rem; padding: 0.5rem 0.9rem; }

    .fc-route-label { flex-direction: column; gap: 0.4rem; align-items: flex-start; }

    .fc-note-inner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .fc-grid-section { padding: 30px 0 60px; }
}

@media (max-width: 480px) {
    .fc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }

    .fc-card {
        padding: 1.5rem 0.8rem 1.2rem;
        border-radius: 12px;
    }

    .fc-card-icon { width: 48px; height: 48px; margin-bottom: 0.8rem; }
    .fc-card-icon img { width: 24px; height: 24px; }

    .fc-card-title { font-size: 0.85rem; }
    .fc-card-desc { font-size: 0.75rem; }

    .fc-route-tab { font-size: 0.72rem; padding: 0.45rem 0.7rem; gap: 0.25rem; }
    .fc-route-tab i { font-size: 0.65rem; }
    .fc-dir-btn { font-size: 0.72rem; padding: 0.45rem 0.8rem; }
}
