/* ------------------------------
   Postcards from Ben
   Main Website Styles
------------------------------ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f6f4ef;
    color: #1f1f1f;
    line-height: 1.6;
}

/* Header */

header {
    padding: 80px 24px;
    text-align: center;
    background: #17212b;
    color: white;
}

header h1 {
    margin: 0;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -2px;
}

header p {
    margin: 15px auto 0;
    max-width: 600px;
    font-size: 1.15rem;
    color: #d6dce1;
}

/* Main content */

main {
    width: min(1100px, 90%);
    margin: 0 auto;
    padding: 60px 0;
}

section {
    margin-bottom: 70px;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

/* Cards */

article {
    background: white;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);
}

article h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.6rem;
}

article p {
    color: #555;
}

/* Links / buttons */

article a {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 20px;
    background: #17212b;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.2s ease;
}

article a:hover {
    background: #314253;
    transform: translateY(-1px);
}

/* Footer */

footer {
    padding: 40px 20px;
    text-align: center;
    background: #17212b;
    color: #bbc3ca;
}

/* Mobile */

@media (max-width: 600px) {

    header {
        padding: 60px 20px;
    }

    header h1 {
        letter-spacing: -1px;
    }

    main {
        width: 92%;
        padding: 40px 0;
    }

    article {
        padding: 24px;
        border-radius: 14px;
    }
}

/* =====================================
   INDIVIDUAL TRIP DAY PAGES
===================================== */

.day-page {
    background: #f6f4ef;
}

/* Day Hero */

.day-hero {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;

    padding: 50px max(6vw, 24px);

    background: #17212b;
    color: white;

    text-align: left;
}

.day-hero h1 {
    margin: 8px 0;
    max-width: 900px;

    font-size: clamp(2.7rem, 7vw, 5rem);
    line-height: 1.05;
    letter-spacing: -2px;
}

/* Day Number and Date */

.day-label {
    margin: 0;

    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;

    color: #c8d1d8;
}

/* Route shown underneath title */

.day-route {
    margin: 10px 0 0;

    max-width: 900px;

    font-size: 1.15rem;
    color: #dbe1e6;
}

/* Back to trip link */

.back-link {
    margin-bottom: auto;

    color: white;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}


/* =====================================
   DAY CONTENT
===================================== */

.day-page main {
    width: min(900px, 90%);
    margin: 0 auto;
    padding: 60px 0;
}

.day-page section {
    margin-bottom: 55px;
}

.day-page section h2 {
    margin-bottom: 15px;

    font-size: 1.7rem;
    letter-spacing: -0.5px;
}

.day-page section p {
    color: #444;
}


/* =====================================
   DAY HIGHLIGHTS
===================================== */

.day-page ul {
    padding-left: 22px;
}

.day-page li {
    margin-bottom: 10px;
}


/* =====================================
   PREVIOUS / OVERVIEW / NEXT
===================================== */

.day-page nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin: 70px 0 20px;
    padding-top: 30px;

    border-top: 1px solid #d7d3ca;
}

.day-page nav a {
    color: #17212b;
    text-decoration: none;
    font-weight: 700;
}

.day-page nav a:hover {
    text-decoration: underline;
}


/* =====================================
   MOBILE DAY PAGES
===================================== */

@media (max-width: 600px) {

    .day-hero {
        min-height: 360px;
        padding: 30px 22px;
    }

    .day-hero h1 {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }

    .day-label {
        font-size: 0.8rem;
    }

    .day-route {
        font-size: 1rem;
    }

    .day-page main {
        width: 90%;
        padding: 40px 0;
    }

    .day-page section {
        margin-bottom: 45px;
    }

    .day-page nav {
        gap: 10px;
        font-size: 0.85rem;
    }
}

/* =====================================
   TRIP OVERVIEW — DAY GRID
===================================== */

.day-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.day-card {
    display: block;

    background: white;
    padding: 26px;

    border-radius: 16px;

    color: #1f1f1f;
    text-decoration: none;

    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.day-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.11);
}

.day-card-number {
    display: block;

    font-size: 0.8rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.3px;

    color: #68737d;
}

.day-card-date {
    display: block;
    margin-top: 3px;

    font-size: 0.9rem;
    color: #777;
}

.day-card h3 {
    margin: 16px 0 6px;

    font-size: 1.35rem;
    line-height: 1.2;
}

.day-card p {
    margin: 0;

    color: #555;
    font-size: 0.95rem;
}


/* Tablet */

@media (max-width: 850px) {

    .day-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Phone */

@media (max-width: 600px) {

    .day-grid {
        grid-template-columns: 1fr;
    }

    .day-card {
        padding: 22px;
    }
}

/* =====================================
   TRIP OVERVIEW PAGE
===================================== */

.trip-page {
    background: #f6f4ef;
}


/* Trip Hero */

.trip-hero {
    min-height: 520px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;

    padding: 55px max(6vw, 24px);

    background: #17212b;
    color: white;

    text-align: left;
}

.trip-hero h1 {
    margin: 8px 0;

    max-width: 1000px;

    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    letter-spacing: -3px;
}

.trip-label {
    margin: 0;

    font-size: 0.9rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.6px;

    color: #c8d1d8;
}

.trip-subtitle {
    margin: 10px 0 0;

    font-size: 1.3rem;
    color: #dbe1e6;
}

.trip-stats {
    margin: 5px 0 0;

    font-size: 1rem;
    color: #aeb9c2;
}


/* Trip Introduction */

.trip-intro {
    max-width: 760px;
}

.trip-intro p {
    font-size: 1.15rem;
    color: #444;
}


/* Section Header */

.section-kicker {
    margin: 0;

    font-size: 0.8rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;

    color: #68737d;
}

.section-heading h2 {
    margin-top: 4px;
}


/* =====================================
   ROUTE MAP PLACEHOLDER
===================================== */

.map-placeholder {
    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 25px;

    padding: 30px;

    border-radius: 18px;

    background: #e8e5df;

    color: #6b6b6b;
    text-align: center;
}


/* =====================================
   DAY GRID
===================================== */

.day-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;
}


/* Individual Day Card */

.day-card {
    display: flex;
    flex-direction: column;

    min-height: 230px;

    padding: 26px;

    border-radius: 18px;

    background: white;

    color: #1f1f1f;
    text-decoration: none;

    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.day-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.day-card-number {
    font-size: 0.78rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.3px;

    color: #68737d;
}

.day-card-date {
    margin-top: 2px;

    font-size: 0.9rem;
    color: #888;
}

.day-card h3 {
    margin: 22px 0 7px;

    font-size: 1.4rem;
    line-height: 1.2;
}

.day-card p {
    margin: auto 0 0;

    padding-top: 14px;

    font-size: 0.92rem;
    color: #555;
}


/* Featured Scenic Days */

.featured-day {
    background: #17212b;
    color: white;
}

.featured-day .day-card-number {
    color: #b9c4cc;
}

.featured-day .day-card-date {
    color: #d2d8dd;
}

.featured-day p {
    color: #dbe1e6;
}


/* =====================================
   TABLET
===================================== */

@media (max-width: 900px) {

    .day-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =====================================
   MOBILE TRIP OVERVIEW
===================================== */

@media (max-width: 600px) {

    .trip-hero {
        min-height: 440px;

        padding: 35px 22px;
    }

    .trip-hero h1 {
        font-size: 3.1rem;
        letter-spacing: -2px;
    }

    .trip-subtitle {
        font-size: 1.1rem;
    }

    .day-grid {
        grid-template-columns: 1fr;
    }

    .day-card {
        min-height: 190px;
        padding: 22px;
    }

}

/* =====================================
   BRANCH VISIT DAYS
===================================== */

.day-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.branch-badge {
    display: inline-block;

    padding: 5px 9px;

    border-radius: 999px;

    background: #e6ecef;

    color: #17212b;

    font-size: 0.68rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Branch badge on featured dark cards */

.featured-day .branch-badge {
    background: white;
    color: #17212b;
}

/* =====================================
   DAY QUICK FACTS
===================================== */

.day-facts {
    width: min(1100px, 92%);
    margin: -35px auto 60px;

    position: relative;
    z-index: 5;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: white;

    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);

    overflow: hidden;
}

.fact {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 22px;

    border-right: 1px solid #ece9e3;
}

.fact:last-child {
    border-right: none;
}

.fact-icon {
    font-size: 1.4rem;
}

.fact div {
    display: flex;
    flex-direction: column;
}

.fact-label {
    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;

    color: #899198;
}

.fact-value {
    margin-top: 2px;

    font-size: 0.95rem;
    font-weight: 700;

    color: #17212b;
}



/* =====================================
   DAY INTRODUCTION
===================================== */

.day-intro {
    max-width: 760px;
}

.day-intro h2 {
    margin-top: 5px;

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.day-lead {
    font-size: 1.15rem;
    line-height: 1.8;
}



/* =====================================
   DAY STOP CARDS
===================================== */

.stop-list {
    display: flex;
    flex-direction: column;

    gap: 18px;

    margin-top: 25px;
}

.stop-card {
    display: flex;

    gap: 24px;

    padding: 26px;

    margin: 0;

    box-shadow: none;

    border: 1px solid #e4e0d8;
}

.stop-number {
    flex-shrink: 0;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #17212b;
    color: white;

    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.stop-content {
    flex: 1;
}

.stop-type {
    margin: 0 0 3px !important;

    font-size: 0.72rem;

    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.2px;

    color: #899198 !important;
}

.stop-content h3 {
    margin: 0 0 6px;

    font-size: 1.4rem;
}

.stop-content p:last-child {
    margin-bottom: 0;
}



/* =====================================
   DAY MAP
===================================== */

.day-map-placeholder {
    min-height: 320px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 25px;

    border-radius: 18px;

    background: #e8e5df;

    color: #707070;

    text-align: center;

    padding: 30px;
}



/* =====================================
   PHOTO AREA
===================================== */

.photo-placeholder {
    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 25px;

    border: 2px dashed #d5d0c7;

    border-radius: 18px;

    background: #faf9f6;

    text-align: center;

    padding: 30px;
}



/* =====================================
   JOURNAL
===================================== */

.journal-card {
    padding: 30px;

    margin-top: 20px;

    border-left: 4px solid #17212b;

    background: white;

    border-radius: 0 16px 16px 0;

    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
}

.journal-card p:first-child {
    margin-top: 0;
}

.journal-card p:last-child {
    margin-bottom: 0;
}



/* =====================================
   VIDEO AREA
===================================== */

.video-placeholder {
    min-height: 280px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    margin-top: 25px;

    border-radius: 18px;

    background: #17212b;

    color: white;

    text-align: center;

    padding: 30px;
}

.video-placeholder span {
    font-size: 2.5rem;
}

.video-placeholder p {
    color: #dbe1e6 !important;
}



/* =====================================
   DAY NAVIGATION
===================================== */

.day-navigation {
    display: grid !important;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    margin-top: 90px !important;
}

.overview-link {
    text-align: center;
}

.next-day {
    text-align: right;
}

.day-nav-spacer {
    min-width: 1px;
}



/* =====================================
   TABLET DAY TEMPLATE
===================================== */

@media (max-width: 850px) {

    .day-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .fact:nth-child(2) {
        border-right: none;
    }

    .fact:nth-child(-n+2) {
        border-bottom: 1px solid #ece9e3;
    }

}



/* =====================================
   MOBILE DAY TEMPLATE
===================================== */

@media (max-width: 600px) {

    .day-facts {
        width: 90%;

        margin-top: -25px;

        grid-template-columns: 1fr;
    }

    .fact {
        border-right: none;
        border-bottom: 1px solid #ece9e3;
    }

    .fact:nth-child(2) {
        border-right: none;
    }

    .fact:last-child {
        border-bottom: none;
    }

    .stop-card {
        gap: 17px;

        padding: 20px;
    }

    .stop-number {
        width: 42px;
        height: 42px;

        font-size: 0.7rem;
    }

    .day-map-placeholder,
    .photo-placeholder,
    .video-placeholder {
        min-height: 240px;
    }

    .day-navigation {
        grid-template-columns: 1fr 1fr !important;
        row-gap: 25px;
    }

    .day-nav-spacer {
        display: none;
    }

    .overview-link {
        text-align: left;
    }

    .next-day {
        text-align: right;
    }

}

/* =====================================
   INTERACTIVE MAPS
===================================== */

.interactive-map {
    width: 100%;
    height: 420px;

    margin-top: 25px;

    border-radius: 18px;
    overflow: hidden;

    border: 1px solid #ddd8cf;
}

@media (max-width: 600px) {

    .interactive-map {
        height: 340px;
        border-radius: 14px;
    }

}

/* =====================================
   PHOTO GALLERY
===================================== */

.photo-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    margin-top: 25px;
}

.photo-grid figure {
    margin: 0;
}

.photo-grid img {
    width: 100%;
    height: 260px;

    object-fit: cover;

    display: block;

    border-radius: 14px;
}

.photo-grid figcaption {
    padding: 8px 3px;

    font-size: 0.8rem;

    color: #666;
}


/* =====================================
   VIDEO
===================================== */

.video-grid {
    display: grid;
    gap: 25px;

    margin-top: 25px;
}

.video-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 18px;

    background: #17212b;
}

.video-wrapper iframe {
    position: absolute;

    width: 100%;
    height: 100%;

    border: 0;

    inset: 0;
}


/* =====================================
   MOBILE MEDIA
===================================== */

@media (max-width: 700px) {

    .photo-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .photo-grid img {
        height: 190px;
    }

}

@media (max-width: 450px) {

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid img {
        height: auto;
    }

}

