html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    background: #FFFFFF;
    color: #2D3142;
}

h1, h2, h3 {
    margin: 0 0 0.5em 0;
    color: #4f5d75;
}

p {
    margin: 0 0 1em 0;
    line-height: 1.5em;
    max-width: 860px;
}

a {
    color: #4F5D75;
    text-decoration: underline;
}

a:hover {
    color: #EF8354;
}

/* Sticky Header */
header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #FFFFFF;
    border-bottom: 1px solid #BFC0C0;
    padding: 20px 40px;
    height: 100px;
    line-height: 120px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Section backgrounds */
section:nth-of-type(even) {
    padding: 20px 40px;
    background: #FFFFFF;
    text-align: left;
}

section:nth-of-type(odd) {
    padding: 20px 40px;
    background: #F5F5F5;
    text-align: left;
}

/* Logo */
logo img {
    height: 90px;
    float: left;
}

/* Mobile title hidden on desktop */
mobile-title h1 {
    display: none;
}

/* Navigation */
nav {
    float: left;
    padding-left: 20px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #2D3142;
}

nav a:hover {
    color: #EF8354;
}

/* Section layout */
section {
    text-align: center;
    min-height: calc(100vh - 160px);
    box-sizing: border-box;
    scroll-margin-top: 140px; /* Fixes anchor jump under sticky header */
}

/* Buttons */
section > a[href*="#promo-images"] {
    display: inline-block;
    padding: 10px 20px;
    background: #EF8354;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 4px;
}

section > a[href*="#promo-images"]:hover {
    background: #D96C3C;
}

/* Showcase Section — FIXED */
section#promo-images figure {
    display: inline-block;
    width: 30%;
    max-width: 360px;   /* prevents huge widescreen cards */
    margin: 1.5%;
    vertical-align: top;
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(0,0,0,0.08);
    text-align: left;
}

section#promo-images figure img {
    width: 100%;
    height: auto;
    display: block;
}

section#promo-images figure span {
    display: block;
    padding: 15px;
    font-size: 0.95em;
    line-height: 1.4em;
    color: #2D3142;
}

/* Headings inside sections */
section > h2 {
    margin-bottom: 30px;
}

/* Mobile */
@media screen and (max-width: 1050px) {

    header {
        height: auto;
        padding: 20px;
        text-align: center;
        line-height: normal;
    }

    logo img {
        display: none;
    }

    mobile-title h1 {
        display: block;
        font-size: 1.6em;
        margin-bottom: 15px;
    }

    #main-nav {
        float: none;
        margin-top: 10px;
    }

    /* Showcase stacks vertically */
    section#promo-images figure {
        width: 90%;
        margin: 20px auto;
        display: block;
    }
}