* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    color: #2b2118;
    background: #e8dfcf;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: center;
    gap: 55px;
    padding: 35px 20px;
}

nav a {
    color: #2b2118;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 15px;
    transition: 0.3s;
}

nav a:hover {
    color: #a27b38;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
        linear-gradient(
            rgba(255, 250, 240, 0.28),
            rgba(255, 250, 240, 0.28)
        ),
        url("bible-background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    width: min(700px, 90%);
    padding: 45px 55px;
    margin-top: 80px;
    background: rgba(255, 250, 240, 0.72);
    border-radius: 4px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 14px;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(45px, 7vw, 82px);
    font-weight: normal;
    letter-spacing: 3px;
    margin: 0;
}

.gold-line {
    width: 90px;
    height: 2px;
    background: #a27b38;
    margin: 30px auto;
}

.subtitle {
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.7;
    font-style: italic;
}

.sermon-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 17px 35px;
    background: #a27b38;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    border-radius: 3px;
    transition: 0.3s;
}

.sermon-button:hover {
    background: #806029;
    transform: translateY(-2px);
}

.sermon-button span {
    font-size: 20px;
}

@media (max-width: 700px) {

    nav {
        gap: 18px;
        padding: 25px 10px;
    }

    nav a {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .hero-content {
        width: 88%;
        padding: 35px 20px;
        margin-top: 70px;
    }

    h1 {
        letter-spacing: 1px;
    }
}
    /* Sermons page */

.page {
    min-height: 100vh;
    padding: 150px 7% 80px;
    background:
        linear-gradient(
            rgba(255, 250, 240, 0.88),
            rgba(255, 250, 240, 0.88)
        ),
        url("bible-background.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-heading {
    max-width: 850px;
    margin: 0 auto 70px;
    text-align: center;
}

.page-heading h1 {
    font-size: clamp(50px, 7vw, 80px);
    font-weight: normal;
    margin: 10px 0;
}

.page-heading > p:last-child {
    font-size: 20px;
    font-style: italic;
}

.latest-sermon {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.latest-sermon h2,
.sermon-library h2 {
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 30px;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #2b2118;
    color: white;
    border-radius: 6px;
    margin-bottom: 25px;
}

.video-placeholder span {
    font-size: 28px;
}

.video-placeholder p {
    color: #d8c6a5;
}

.latest-sermon h3 {
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 10px;
}

.sermon-library {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.sermon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sermon-card {
    background: rgba(255, 250, 240, 0.9);
    padding: 30px;
    border-radius: 5px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(60, 40, 20, 0.1);
}

.sermon-card h3 {
    font-size: 22px;
    font-weight: normal;
}

.sermon-card p {
    color: #6b5a47;
}

.sermon-card a {
    color: #8c6828;
    text-decoration: none;
    font-weight: bold;
}

.sermon-card a:hover {
    text-decoration: underline;
}

@media (max-width: 800px) {

    .sermon-grid {
        grid-template-columns: 1fr;
    }

    .page {
        padding-left: 20px;
        padding-right: 20px;
    }
}

