/* =========================================
   PENROSE RECORD ROOM
   WEEK 7 STYLESHEET
   ========================================= */

/* ---------- GENERAL ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #f1e7d5;
    color: #30251f;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

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


/* ---------- HEADER ---------- */

header {
    background-color: #30251f;
    color: #f1e7d5;
    padding: 25px 0;
    border-bottom: 6px solid #9a3f32;
}

.header-container {
    width: 90%;
    max-width: 1150px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 2px;
}

.tagline {
    margin-top: 4px;
    color: #cdbb9e;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* ---------- NAVIGATION ---------- */

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    gap: 28px;
}

nav a {
    color: #f1e7d5;
    text-decoration: none;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: color 0.2s ease;
}

nav a:hover {
    color: #c56a58;
}


/* ---------- HERO ---------- */

.hero {
    min-height: 560px;

    background-image:
        linear-gradient(
            rgba(48, 37, 31, 0.45),
            rgba(48, 37, 31, 0.45)
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;

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

    text-align: center;
    padding: 80px 20px;
}

.hero-content {
    max-width: 850px;
    color: #f1e7d5;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 72px;
    line-height: 1.05;

    margin: 0 0 25px;

    letter-spacing: 3px;
    text-shadow: 2px 2px 5px #30251f;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 35px;

    font-size: 20px;
    line-height: 1.7;
}


/* ---------- BUTTON ---------- */

.button {
    display: inline-block;

    padding: 14px 30px;

    background-color: #f1e7d5;
    color: #6f3029;

    text-decoration: none;

    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;

    border: 2px solid #f1e7d5;

    transition: 0.2s ease;
}

.button:hover {
    background-color: #6f3029;
    color: #f1e7d5;
}


/* ---------- SECTIONS ---------- */

section {
    padding: 75px 0;
}

section:nth-child(even) {
    background-color: #e8dbc6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}


/* ---------- SECTION TITLE ---------- */

.section-title {
    margin: 0 0 35px;

    text-align: center;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;

    line-height: 1.2;
    letter-spacing: 1px;
}


/* ---------- INTRO ---------- */

.intro {
    max-width: 850px;
    margin: 0 auto;

    text-align: center;
}

.intro p {
    font-size: 18px;
}


/* ---------- LARGE CONTENT ---------- */

.content-section {
    max-width: 850px;
    margin: 0 auto;
}

.content-section h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;
    line-height: 1.2;

    margin-bottom: 20px;
}

.content-section p {
    font-size: 17px;
    margin-bottom: 22px;
}


/* ---------- PAGE BANNER ---------- */

.page-banner {
    background-color: #6f3029;

    color: #f1e7d5;

    text-align: center;

    padding: 90px 20px;
}

.page-banner h1 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 60px;
    line-height: 1.1;

    letter-spacing: 2px;
}


/* ---------- IMAGES ---------- */

.container > img {
    width: 100%;

    max-height: 550px;

    object-fit: cover;

    border: 8px solid #30251f;
}


/* ---------- PRODUCT GRID ---------- */

.product-grid {
    display: grid;

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

    gap: 30px;
}

.product-card {
    background-color: #f1e7d5;

    padding: 0 0 25px;

    text-align: center;

    border-bottom: 5px solid #9a3f32;

    box-shadow: 0 3px 10px rgba(48, 37, 31, 0.15);
}

.product-card img {
    width: 100%;
    height: 260px;

    object-fit: cover;

    margin-bottom: 20px;
}

.product-card h3 {
    margin: 5px 20px 10px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 28px;
}

.product-card p {
    margin: 0 25px;

    font-size: 15px;
}


/* ---------- CONTACT ---------- */

.contact-info {
    max-width: 800px;

    margin: 0 auto;

    text-align: center;
}

.contact-info h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;

    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
}

.contact-info a {
    color: #6f3029;

    font-weight: bold;

    text-decoration: none;
}

.contact-info a:hover {
    color: #9a3f32;

    text-decoration: underline;
}

.contact-info iframe {
    margin-top: 30px;

    width: 100%;

    border: 8px solid #30251f;
}


/* ---------- FOOTER ---------- */

footer {
    background-color: #30251f;

    color: #f1e7d5;

    text-align: center;

    padding: 35px 20px;

    border-top: 5px solid #9a3f32;
}

footer p {
    margin: 5px 0;

    font-size: 14px;
}


/* ---------- MOBILE ---------- */

@media (max-width: 800px) {

    .header-container {
        flex-direction: column;

        text-align: center;
    }

    .logo {
        font-size: 32px;
    }

    nav ul {
        margin-top: 22px;

        flex-direction: column;

        gap: 12px;

        text-align: center;
    }

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 17px;
    }

    .section-title {
        font-size: 34px;
    }

    .page-banner h1 {
        font-size: 44px;
    }

    .content-section h2 {
        font-size: 32px;
    }

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

    .product-card {
        margin-bottom: 10px;
    }

}