/* Modern Theme Styles */
:root {
    color-scheme: light;
    --bg: #f8f6f2;
    --surface: #ffffff;
    --surface-strong: #fcfdff;
    --text: #13233f;
    --muted: #57637b;
    --accent: #b3312a;
    --accent-soft: #ffead3;
    --accent-dark: #0f2346;
    --border: rgba(19, 35, 61, 0.1);
    --shadow: 0 18px 48px rgba(19, 35, 61, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Header */
.header {
    background: #b3312a;
    color: #ffffff;
    padding: 1px 0 1px;
    text-align: center;
    box-shadow: 0 18px 50px rgba(19, 35, 61, 0.18);
}

.header h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.header h4 {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* Section */
.section {
    background: var(--surface);
    margin: 20px 0;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.collapsible-section {
    padding: 0;
}

.section h4 {
    text-align: justify;
}
.section h2 {
    font-size: clamp(1.75rem, 2.2vw, 2.4rem);
    margin-bottom: 24px;
    color: #13233f;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    border-radius: 999px;
    background: var(--accent);
}

/* Collapsible Sections */
details {
    border-radius: 32px;
    overflow: hidden;
}

summary {
    cursor: pointer;
    list-style: none;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    transition: border-radius 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

summary h2 {
    margin: 0;
    flex: 1;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '▶';
    font-size: 1.5rem;
    color: var(--accent);
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

details[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 1px solid var(--border);
}

details[open] summary::after {
    transform: rotate(90deg);
}

details > :not(summary) {
    padding: 0 40px 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 32px 32px;
}

/* Guidelines */
.section-intro {
    color: var(--muted);
    max-width: 760px;
    margin: 0 0 24px;
    font-size: 0.98rem;
    line-height: 1.75;
}

.packing-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    list-style: none;
    padding: 10px;
    margin: 0;
}

.packing-list li {
    position: relative;
    background: #f7f9fc;
    border: 1px solid rgba(47, 79, 114, 0.08);
    border-radius: 20px;
    padding: 18px 18px 18px 42px;
    color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.packing-list li::before {
    content: '✓';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-weight: 700;
}

/* Map Section */
.map-container {
    width: 100%;

    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    padding: 5px;
}

.map-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
}

.map-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffab2d;
    color: #13233f;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    margin-top: 20px;
}

.map-view-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(187, 121, 23, 0.25);
}

/* Tracking Section */
.tracking-intro {
    font-size: 1.05rem;
    margin-bottom: 22px;
    color: var(--muted);
}

.bus-image-container {
    text-align: center;
    margin-bottom: 5px;
    padding: 0px;

}

.bus-image {
    width: 100%;
    height: auto;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.tracking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
        background: #ffab2d;
        color: #13233f;
        padding: 16px 40px;
        border-radius: 32px;
        text-decoration: none;
        font-weight: 700;
        letter-spacing: 0.01em;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        margin-bottom: 16px;
        margin-top: 20px;
}

.tracking-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(170, 120, 20, 0.25);
}

.info-box {
    background: #f8fafc;
    padding: 28px;

    border: 1px solid rgba(21, 35, 58, 0.1);
    box-shadow: none;
    text-align: left;
}

.info-box p {
    margin: 14px 0;
    font-size: 1rem;
    color: var(--text);
}

.info-box strong {
    color: #102a43;
}

.section.info-section {
        margin-bottom: 10px;
    }

    .footer {
        background: transparent;
        color: var(--muted);
        text-align: center;
        padding: 12px 0 20px;
        margin-top: 0;
    }
.footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        padding: 0 18px 36px;
    }

    .section {
        padding: 32px;
    }
}

@media (max-width: 680px) {
    .section {
        padding: 28px 20px;
    }

    .map-view-button,
    .tracking-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 0 10px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .section {
        border-radius: 24px;
        padding: 24px 18px;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .map-view-button,
    .tracking-button {
        padding: 14px 24px;
    }

    .info-box {
        padding: 22px;
    }
}

@media print {
    body {
        background: #fff;
    }

    .header, .footer, .tracking-section {
        display: none;
    }

    .section {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* High width adjustments */
@media (min-width: 500px) {
    .map-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .bus-image-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .bus-image {
        max-width: 100%;
    }
}
