/* Reunion Board - A Free Design by Bryant Smith (bryantsmith.com)
   A navy-and-gold reunion page built on a two-column layout.
   Every colour, space and font is gathered here; use the section
   headings below to find the part you would like to change. */


/* ---- COLOUR TOKENS: the whole palette in one place ---- */

:root {
    --navy: #16304f;
    --navy-deep: #0d1f36;
    --navy-soft: #33506f;
    --gold: #c49a3f;
    --gold-dark: #8a6a24;
    --gold-light: #e6cd8b;
    --cream: #fbf6ea;
    --paper: #fffdf7;
    --ink: #262f3a;
    --muted: #636d79;
    --line: #e6dfcd;
}


/* ---- BODY: the warm backdrop behind the board ---- */

body {
    background: #efe8d8;
    background-image: radial-gradient(circle at 18% 0%, #f7f1e3 0%, #efe8d8 55%);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    line-height: 1.7;
    padding: 40px 16px;
}

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

img {
    max-width: 100%;
    height: auto;
}


/* ---- PAGE: the white board itself ---- */

#page {
    background: var(--paper);
    border-top: 6px solid var(--gold);
    box-shadow: 0 1px 2px rgba(13, 31, 54, 0.06),
                0 18px 44px rgba(13, 31, 54, 0.14);
    margin: 0 auto;
    max-width: 900px;
}


/* ---- MASTHEAD: the navy band with crest, title and menu ---- */

#masthead {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-bottom: 4px double var(--gold);
    color: var(--cream);
    padding: 44px 56px 40px 56px;
    text-align: center;
}

.crest {
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    border: 2px solid rgba(251, 246, 234, 0.55);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
    color: var(--navy-deep);
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: bold;
    height: 62px;
    letter-spacing: 1px;
    line-height: 58px;
    margin: 0 auto 20px auto;
    text-align: center;
    width: 62px;
}

.eyebrow {
    color: var(--gold-light);
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

#masthead h1 {
    color: var(--cream);
    font-size: 46px;
    font-weight: normal;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 12px 0 0 0;
}

#masthead .tagline {
    color: #c8d3e0;
    font-size: 17px;
    font-style: italic;
    margin: 14px auto 0 auto;
    max-width: 520px;
}


/* ---- MENU: the row of links under the title ---- */

#menu {
    border-top: 1px solid rgba(230, 205, 139, 0.35);
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 26px;
    padding-top: 22px;
    text-transform: uppercase;
}

#menu a,
#menu a:visited {
    border-bottom: 2px solid transparent;
    color: #dbe3ec;
    margin: 0 13px;
    padding-bottom: 3px;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

#menu a:hover,
#menu a:focus {
    border-bottom: 2px solid var(--gold);
    color: var(--gold-light);
}


/* ---- CONTENT SPACING: shared padding for the page body ---- */

.lead,
.columns,
.howto,
#footer {
    margin-left: 56px;
    margin-right: 56px;
}

.lead {
    color: #3c4653;
    font-size: 19px;
    line-height: 1.7;
    margin-top: 40px;
}

.lead::first-letter {
    color: var(--gold-dark);
    float: left;
    font-size: 3.2em;
    line-height: 0.82;
    padding: 6px 10px 0 0;
}


/* ---- COLUMNS: the two-column board (main + side rail) ---- */

.columns {
    display: flex;
    gap: 44px;
    margin-top: 34px;
}

.col-main {
    flex: 1.5;
}

.col-side {
    border-left: 1px solid var(--line);
    flex: 1;
    padding-left: 34px;
}


/* ---- HEADINGS: small gold-capped section titles ---- */

h2 {
    color: var(--navy);
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2.5px;
    margin: 34px 0 16px 0;
    text-transform: uppercase;
}

h2::after {
    background: var(--gold);
    content: "";
    display: block;
    height: 3px;
    margin-top: 9px;
    width: 34px;
}

.col-main > h2:first-child,
.col-side > h2:first-child {
    margin-top: 0;
}


/* ---- PARAGRAPHS & LINKS: readable body text ---- */

p {
    margin-bottom: 18px;
}

.col-main p:last-child,
.col-side p:last-child {
    margin-bottom: 0;
}

a,
a:visited {
    color: var(--navy);
    text-decoration: none;
}

.col-main a:hover,
.col-main a:focus {
    color: var(--gold);
    text-decoration: underline;
}


/* ---- DETAILS LIST: label-and-value lines for event facts ---- */

.details {
    border-top: 1px solid var(--line);
    list-style: none;
    margin-bottom: 20px;
}

.details li {
    border-bottom: 1px solid var(--line);
    display: flex;
    padding: 12px 0;
}

.details .label {
    color: var(--muted);
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    padding-top: 3px;
    text-transform: uppercase;
    width: 92px;
}

.details .value {
    color: var(--ink);
    flex: 1;
    font-size: 17px;
}


/* ---- NOTE BOX: attendee notes in a framed gold panel ---- */

.note {
    background: var(--cream);
    border: 1px solid var(--line);
    border-left: 5px solid var(--gold);
    border-radius: 4px;
    padding: 20px 22px;
}

.note p {
    font-size: 15px;
    margin-bottom: 12px;
}

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

.note strong {
    color: var(--navy);
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
}


/* ---- SCHEDULE: an ordered list with gold numbered badges ---- */

.schedule {
    counter-reset: steps;
    list-style: none;
}

.schedule li {
    border-bottom: 1px dashed var(--line);
    padding: 0 0 14px 46px;
    position: relative;
}

.schedule li + li {
    margin-top: 14px;
}

.schedule li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule li::before {
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    border-radius: 50%;
    color: var(--navy-deep);
    content: counter(steps);
    counter-increment: steps;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    height: 30px;
    left: 0;
    line-height: 30px;
    position: absolute;
    text-align: center;
    top: 3px;
    width: 30px;
}

.schedule .time {
    color: var(--gold-dark);
    display: block;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.schedule .what {
    color: var(--ink);
    display: block;
    font-size: 16px;
    line-height: 1.45;
}


/* ---- PHOTO BOARD: CSS gradient tiles (no image files needed) ----
   Each tile keeps a steady 4:3 shape with aspect-ratio and fills it
   with background-size: cover. To use a real photo, replace the
   gradient below with: background-image: url("your-photo.jpg"); */

.photo-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.photo {
    align-items: flex-end;
    aspect-ratio: 4 / 3;
    background-position: center;
    background-size: cover;
    border: 1px solid rgba(13, 31, 54, 0.18);
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    display: flex;
    overflow: hidden;
    padding: 10px;
    position: relative;
}

.photo::after {
    background: linear-gradient(to top, rgba(13, 31, 54, 0.72), rgba(13, 31, 54, 0));
    bottom: 0;
    content: "";
    height: 60%;
    left: 0;
    position: absolute;
    right: 0;
}

.photo span {
    color: #fffdf7;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    position: relative;
    text-shadow: 0 1px 3px rgba(13, 31, 54, 0.7);
    text-transform: uppercase;
    z-index: 1;
}

.photo-one {
    background-image: linear-gradient(150deg, #e6cd8b 0%, #c49a3f 100%);
}

.photo-two {
    background-image: linear-gradient(150deg, #33506f 0%, #16304f 100%);
}

.photo-three {
    background-image: linear-gradient(150deg, #8a6d33 0%, #4a3a1d 100%);
}

.photo-four {
    background-image: linear-gradient(150deg, #6b8bb0 0%, #c49a3f 100%);
}

.caption {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin-top: 12px;
}


/* ---- HOW TO USE: a beginner note in a tinted band ---- */

.howto {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 4px;
    margin-top: 44px;
    padding: 26px 30px;
}

.howto h2 {
    margin-top: 0;
}

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


/* ---- FOOTER: the required credit link ---- */

#footer {
    border-top: 3px double var(--line);
    color: var(--muted);
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 44px;
    padding: 22px 0 30px 0;
    text-align: center;
    text-transform: uppercase;
}

#footer a,
#footer a:visited {
    color: #7d8794;
    text-decoration: none;
}

#footer a:hover,
#footer a:focus {
    color: var(--gold);
}


/* ---- SMALL SCREENS: stack the columns and tighten the padding ---- */

@media (max-width: 640px) {
    body {
        padding: 20px 10px;
    }

    #masthead {
        padding: 32px 24px 28px 24px;
    }

    #masthead h1 {
        font-size: 32px;
    }

    #masthead .tagline {
        font-size: 15px;
    }

    #menu a,
    #menu a:visited {
        display: inline-block;
        margin: 6px 9px;
    }

    .lead,
    .columns,
    .howto,
    #footer {
        margin-left: 24px;
        margin-right: 24px;
    }

    .lead {
        font-size: 17px;
        margin-top: 28px;
    }

    .columns {
        display: block;
        margin-top: 24px;
    }

    .col-side {
        border-left: none;
        border-top: 1px solid var(--line);
        margin-top: 26px;
        padding-left: 0;
        padding-top: 26px;
    }

    .details li {
        display: block;
    }

    .details .label {
        display: block;
        width: auto;
    }

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

    .howto {
        padding: 22px 20px;
    }
}


/* ---- PRINT: drop the backdrop, keep the words ---- */

@media print {
    body {
        background: #ffffff;
        padding: 0;
    }

    #page {
        border-top: none;
        box-shadow: none;
        max-width: 100%;
    }

    #masthead {
        background: #ffffff;
        color: #000000;
    }

    #masthead h1,
    .eyebrow,
    #menu a {
        color: #000000;
    }

    #menu,
    .crest {
        display: none;
    }
}
