/* GLOBAL */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #222;
    background: #F6F4EE;
    font-family: "Source Sans 3", sans-serif;
}

/* HEADINGS */

h1 {
    font-family: "Jomhuria", serif;
    font-size: 128px;
    font-weight: 400;
}

h2 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 400;
    padding-bottom: 20px;
}

p {
    font-family: "Source Sans 3", sans-serif;
    font-size: 32px;
    font-weight: 400;
}

main {
    max-width: 1200px;
    margin: auto;
    padding: 0 25px;
}

/* HERO */

.hero {
    width: 100%;
    height: 500px;

    min-height: 350px;
    background-image: url("assets/images/hero_page_background.png");
    background-size: cover;
    background-position: center 65%;
    background-repeat: no-repeat;
    background-attachment: fixed;
  

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

.hero h1 {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.75);
    text-align: center;
    /* font-size: 32px; */
    color: #52664C;
    transform: translateY(-50px);
}

/* INTRODUCTION */

.intro {
    padding: 35px 0 20px;
}

.intro h2 {
    margin-bottom: 15px;
}

.intro p {
    margin: 4px 0;
    /* font-size: 15px; */
}

/* PRODUCTS */

.products {
    padding: 40px 0 15px;
}

.products h2 {
    text-align: center;
    margin-bottom: 30px;
}

.products-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

/* PHOTO GALLERY */

.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.product-gallery img {
    width: 100%;
    aspect-ratio: 1.15;
    object-fit: cover;
    background: #ddd;
    display: block;
}

/* PRODUCT OPTIONS */

.product-options {
    display: flex;
    flex-direction: column;
    gap: 45px;
    text-align: center;
}

/* CATEGORY HEADINGS */

.shed-category h3 {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 400;
    margin: 0 0 5px;
}

.shed-size {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    color: #666;
    margin: 0 0 25px;
}

/* INDIVIDUAL PRODUCTS */

.shed-item {
    padding: 15px 0 20px;
    border-bottom: 1px solid #ddd;
}

.shed-name {
    font-family: "Source Sans 3", sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.shed-description {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    color: #666;
    margin: 3px 0 12px;
}

/* PRICES */

.shed-price {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 500;
    color: #52664C;
    text-align: center;
    margin: 0;
}

/* CUSTOM SHEDS */

.custom-shed {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-style: italic;
    text-align: center;
    margin: 10px 0;
}

/* BLURB SECTION */

.blurb {
    text-align: center;
    background-color: #E8ECE5;
    border-radius: 6px;
    padding: 20px 25px 35px;
}

.blurb p {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    margin: 5px 0;
}


/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    padding-top: 35px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1.2;
    object-fit: cover;
    display: block;
}

/* CONTACT */

.contact {
    padding: 0 0 35px;
    text-align: center;
}

.contact h2 {
    margin-bottom: 25px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
}

.contact-grid p,
.contact-grid a {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
}

.contact a {
    color: inherit;
}

.products h2::before,
.contact h2::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #A8B5A3;
    margin-bottom: 30px;
}

/* MOBILE */

@media (max-width: 700px) {

    .hero {
        min-height: 220px;
    }

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

    main {
        padding: 0 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
    }

    .gallery-grid {
        gap: 10px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .products-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-options p {
        font-size: 18px;
    }

    .shed-category h3 {
        font-size: 26px;
    }

    .shed-price {
        font-size: 23px;
    }

    .custom-shed {
        font-size: 21px;
    }
}