/* Mallard Works - Starting Stylesheet */

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

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background-color: #111;
    color: #f5f5f5;
    line-height: 1.6;
}

/* LEFT SIDEBAR */

.sidebar_nav {
    position: fixed;
    top: 0;
    left: 0;

    width: 240px;
    height: 100vh;

    padding: 48px 32px;

    background-color: rgba(0, 0, 0, 0.92);

    display: flex;
    flex-direction: column;
    gap: 28px;

    z-index: 1000;
}

.sidebar_logo {
    margin-bottom: 40px;

    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sidebar_nav a {
    color: #f5f5f5;

    text-decoration: none;

    font-size: 18px;
    font-weight: 500;

    letter-spacing: 0.10em;
    text-transform: uppercase;

    transition: color 0.2s ease;
}

.sidebar_nav a:hover {
    color: #c8a96a;
}

/* MAIN CONTENT AREA */

.main_content {
    margin-left: 240px;
    min-height: 100vh;
    padding: 72px 80px 80px 120px;
    width: calc(100% - 240px);
}

.page_content {
    width: 100%;
    max-width: 1300px;
}

/* HERO SECTION */

.hero_wrapper {
    width: min(100%, 1150px);
    min-height: 540px;

    display: flex;
    align-items: center;

    padding: 48px;

    background-image: url("/images/hero.jpg");
    background-size: cover;
    background-position: 35% center;
    background-repeat: no-repeat;
}

.hero {
    max-width: 1000px;
    width: 100%;
}

/* MISSION STATEMENT */

.mission_statement {
    font-size: clamp(28px, 4vw, 64px);

    font-weight: 500;
    line-height: 1.05;

    color: #ffffff;

    max-width: 700px;
}

/* OPTIONAL GOLD ACCENT LINE */

.hero_line {
    width: 2px;
    height: 500px;

    background-color: #c8a96a;

    margin-right: 48px;
}

/* =========================
   PARTS PAGE
========================= */

.page_content h1 {
    font-size: clamp(42px, 6vw, 84px);
    line-height: 1;
    margin-bottom: 24px;
}

.page_intro {
    max-width: 720px;
    font-size: 22px;
    color: #cfcfcf;
    margin-bottom: 56px;
}

.parts_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    width: 100%;
}

.part_card {
    display: block;
    color: #f5f5f5;
    text-decoration: none;
    background-color: #181818;
    border: 1px solid #2a2a2a;
    padding: 18px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.part_card:hover {
    transform: translateY(-4px);
    border-color: #c8a96a;
}

.part_card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.part_card h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.part_card p {
    color: #bdbdbd;
    font-size: 16px;
}

/* =========================
   PRODUCT PAGE
========================= */

.product_page {
    display: grid;
    grid-template-columns: minmax(420px, 1.1fr) minmax(360px, 0.9fr);
    gap: 56px;
    align-items: start;
    width: 100%;
    max-width: 1300px;
}

.product_gallery {
    width: 100%;
}

.product_main_image {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    display: block;
    border: 1px solid #2a2a2a;
}

.product_thumbnail_row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    width: 100%;
}

.product_thumbnail_row img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #2a2a2a;
}

.product_details h1 {
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1;
    margin-bottom: 24px;
}

.eyebrow {
    color: #c8a96a;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 14px;
    margin-bottom: 18px;
}

.product_summary {
    font-size: 22px;
    color: #d6d6d6;
    margin-bottom: 40px;
}

.product_section {
    margin-bottom: 32px;
}

.product_section h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.product_section p,
.product_section li {
    color: #bdbdbd;
    font-size: 17px;
}

.product_section ul {
    padding-left: 20px;
}

.product_cta {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 20px;
    color: #111;
    background-color: #c8a96a;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product_shipping_note {
    margin-bottom: 32px;
}

.product_shipping_note p {
    color: #d6d6d6;
    font-size: 18px;
    line-height: 1.6;
}

.price_list {
    padding-left: 20px;
    margin-bottom: 16px;
}


/* =========================
   CONTENT PAGES
========================= */

.page_intro {
    max-width: 900px;
    margin-bottom: 80px;
}

.content_section {
    margin-bottom: 64px;
}

.content_section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.content_section p {
    max-width: 900px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #cfcfcf;
}

/* =========================
   CONTACT PAGE
========================= */

.text_link {
    color: #c8a96a;
    text-decoration: none;
    font-weight: 600;
}

.text_link:hover {
    text-decoration: underline;
}

/* =========================
   CONTENT IMAGE LAYOUT
========================= */

.content_with_image {
    display: grid;
    grid-template-columns: minmax(420px, 0.95fr) minmax(280px, 0.55fr);
    gap: 72px;
    align-items: start;
    max-width: 1300px;
}

.heritage_image_panel {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.heritage_image_panel img {
    width: 100%;
    display: block;
    border: 1px solid #2a2a2a;
    opacity: 0.9;
}