/* =========================================================
   ZYRICO WEBSITE
   MAIN STYLESHEET
========================================================= */


/* =========================================================
   1. BASIC SETTINGS
========================================================= */

:root {

    --black: #111111;
    --dark: #181818;

    --white: #ffffff;
    --off-white: #f7f6f2;

    --light-gray: #e8e7e3;
    --gray: #777777;
    --dark-gray: #444444;

    --accent: #b58b5a;

    --max-width: 1240px;

}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--black);

    background: var(--white);

    line-height: 1.6;

}


img {

    width: 100%;

    display: block;

    object-fit: cover;

}


a {

    text-decoration: none;

    color: inherit;

}


button,
a {

    -webkit-tap-highlight-color: transparent;

}


.container {

    width: 90%;

    max-width: var(--max-width);

    margin: 0 auto;

}


.section {

    padding: 110px 0;

}


.light-section {

    background: var(--off-white);

}


/* =========================================================
   2. TYPOGRAPHY
========================================================= */

h1,
h2,
h3 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 500;

    line-height: 1.08;

}


h2 {

    font-size:
        clamp(42px, 5vw, 68px);

}


h2 span,
h1 span {

    color: var(--accent);

}


p {

    color: var(--gray);

}


.section-label {

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.5px;

    color: var(--black);

    margin-bottom: 20px;

}


/* =========================================================
   3. HEADER / NAVIGATION
========================================================= */

.header {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 100;

    color: var(--white);

}


.nav {

    min-height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo {

    font-size: 26px;

    font-weight: 700;

    letter-spacing: 3px;

    color: var(--white);

}


.logo span {

    color: var(--accent);

}


nav {

    display: flex;

    align-items: center;

    gap: 38px;

}


nav a {

    position: relative;

    font-size: 13px;

    color: rgba(255,255,255,.75);

    transition: .3s ease;

}


nav a:hover {

    color: var(--white);

}


nav a.active {

    color: var(--white);

}


nav a.active::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 100%;

    height: 1px;

    background: var(--accent);

}


/* =========================================================
   4. HERO SECTION
========================================================= */

.hero {

    min-height: 780px;

    position: relative;

    display: flex;

    align-items: center;

    color: var(--white);

    background-image:
        url(
            "https://images.unsplash.com/photo-1485230895905-ec40ba36b9bc?auto=format&fit=crop&w=2200&q=85"
        );

    background-size: cover;

    background-position: center;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.55) 45%,
            rgba(0,0,0,.18) 100%
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    padding-top: 70px;

}


.eyebrow {

    color: rgba(255,255,255,.85);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 25px;

}


.hero h1 {

    max-width: 850px;

    font-size:
        clamp(60px, 8vw, 108px);

    margin-bottom: 30px;

    color: var(--white);

}


.hero-description {

    max-width: 570px;

    font-size: 18px;

    line-height: 1.7;

    color: rgba(255,255,255,.78);

    margin-bottom: 38px;

}


.hero-buttons {

    display: flex;

    align-items: center;

    gap: 15px;

}


/* =========================================================
   5. BUTTONS
========================================================= */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 25px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .5px;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;

}


.button:hover {

    transform: translateY(-2px);

}


.primary {

    background: var(--white);

    color: var(--black);

}


.primary:hover {

    background: var(--accent);

    color: var(--white);

}


.secondary {

    border: 1px solid rgba(255,255,255,.5);

    color: var(--white);

}


.secondary:hover {

    background: var(--white);

    color: var(--black);

}


/* =========================================================
   6. INTRO / ABOUT SECTION
========================================================= */

.intro-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;

}


.intro-grid h2 {

    max-width: 650px;

}


.section-description {

    max-width: 560px;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 25px;

}


.text-link {

    display: inline-block;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .5px;

    padding-bottom: 5px;

    border-bottom: 1px solid var(--black);

    transition: .3s ease;

}


.text-link:hover {

    color: var(--accent);

    border-color: var(--accent);

}


/* =========================================================
   7. SECTION HEADING
========================================================= */

.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 55px;

}


.section-heading h2 {

    max-width: 700px;

}


/* =========================================================
   8. PRODUCT GRID
========================================================= */

.product-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

}


.product-card {

    display: block;

}


.product-image {

    width: 100%;

    height: 500px;

    overflow: hidden;

    background: #eeeeee;

}


.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .6s ease;

}


.product-card:hover
.product-image img {

    transform: scale(1.05);

}


.product-info {

    padding: 22px 0;

}


.product-info p {

    font-size: 10px;

    letter-spacing: 1.5px;

    color: var(--gray);

    margin-bottom: 7px;

}


.product-info h3 {

    font-size: 26px;

    margin-bottom: 10px;

}


.product-info span {

    font-size: 12px;

    font-weight: 600;

}


/* =========================================================
   9. CATEGORY SECTION
========================================================= */

.category-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.category-card {

    height: 500px;

    position: relative;

    overflow: hidden;

    color: var(--white);

}


.category-card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .6s ease;

}


.category-card:hover img {

    transform: scale(1.06);

}


.category-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 30%,
            rgba(0,0,0,.85)
        );

}


.category-content {

    position: absolute;

    left: 30px;

    bottom: 30px;

    z-index: 2;

}


.category-content small {

    display: block;

    color: var(--accent);

    font-size: 11px;

    letter-spacing: 2px;

    margin-bottom: 8px;

}


.category-content h3 {

    font-size: 34px;

    color: var(--white);

}


/* =========================================================
   10. BUSINESS SECTION
========================================================= */

.business-section {

    padding: 110px 0;

    background: var(--dark);

    color: var(--white);

}


.business-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;

}


.business-grid .section-label {

    color: var(--white);

}


.business-grid h2 {

    color: var(--white);

}


.business-grid p:not(.section-label) {

    max-width: 560px;

    color: #aaaaaa;

    margin-bottom: 30px;

    font-size: 16px;

    line-height: 1.8;

}


.light-button {

    background: var(--white);

    color: var(--black);

}


.light-button:hover {

    background: var(--accent);

    color: var(--white);

}


/* =========================================================
   11. FOOTER
========================================================= */

footer {

    background: #0d0d0d;

    color: var(--white);

    padding-top: 70px;

}


.footer-content {

    display: flex;

    justify-content: space-between;

    gap: 50px;

    padding-bottom: 60px;

}


.footer-content p {

    margin-top: 15px;

    font-size: 12px;

    color: #777777;

}


.footer-links {

    display: flex;

    align-items: flex-start;

    gap: 30px;

}


.footer-links a {

    font-size: 12px;

    color: #888888;

    transition: .3s ease;

}


.footer-links a:hover {

    color: var(--white);

}


.copyright {

    border-top: 1px solid #2c2c2c;

    padding: 20px 0;

    font-size: 10px;

    color: #666666;

}


/* =========================================================
   12. MOBILE / TABLET
========================================================= */

@media (max-width: 900px) {


    .nav {

        min-height: 80px;

    }


    nav {

        gap: 18px;

    }


    nav a {

        font-size: 12px;

    }


    .intro-grid,
    .business-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .product-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .category-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


}


/* =========================================================
   13. MOBILE
========================================================= */

@media (max-width: 600px) {


    .container {

        width: 90%;

    }


    .nav {

        min-height: 75px;

        flex-direction: column;

        justify-content: center;

        gap: 12px;

    }


    .logo {

        font-size: 22px;

    }


    nav {

        gap: 16px;

    }


    nav a {

        font-size: 10px;

    }


    nav a.active::after {

        bottom: -5px;

    }


    .hero {

        min-height: 700px;

        background-position:
            65% center;

    }


    .hero-content {

        padding-top: 110px;

    }


    .hero h1 {

        font-size: 55px;

    }


    .hero-description {

        font-size: 15px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;

    }


    .section {

        padding: 80px 0;

    }


    .section-heading {

        display: block;

        margin-bottom: 40px;

    }


    .section-heading .text-link {

        margin-top: 20px;

    }


    .product-grid,
    .category-grid {

        grid-template-columns: 1fr;

    }


    .product-image {

        height: 450px;

    }


    .category-card {

        height: 450px;

    }


    .intro-grid,
    .business-grid {

        gap: 40px;

    }


    .footer-content {

        flex-direction: column;

        padding-bottom: 45px;

    }


    .footer-links {

        flex-wrap: wrap;

        gap: 20px;

    }

}

/* =========================================================
   INNER PAGE HERO
========================================================= */

.page-hero {

    min-height: 520px;

    position: relative;

    display: flex;

    align-items: center;

    color: var(--white);

    background-image:
        url(
            "https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=2200&q=85"
        );

    background-size: cover;

    background-position: center;

}


.page-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.78),
            rgba(0,0,0,.35)
        );

}


.page-hero-content {

    position: relative;

    z-index: 2;

    padding-top: 80px;

}


.page-hero h1 {

    max-width: 800px;

    font-size:
        clamp(55px, 7vw, 90px);

    color: var(--white);

    margin-bottom: 25px;

}


.page-hero h1 span {

    color: var(--accent);

}


.page-hero p:not(.eyebrow) {

    max-width: 550px;

    font-size: 17px;

    color: rgba(255,255,255,.75);

}


/* =========================================================
   ABOUT PAGE
========================================================= */

.about-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: start;

}


.about-feature {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    min-height: 650px;

}


.about-feature-image {

    height: 100%;

}


.about-feature-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.about-feature-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        80px
        8vw;

    background: var(--dark);

    color: var(--white);

}


.about-feature-content h2 {

    margin-bottom: 30px;

    color: var(--white);

}


.about-feature-content p {

    max-width: 500px;

    margin-bottom: 20px;

    color: #aaaaaa;

    line-height: 1.8;

}


.values-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.value-card {

    padding: 40px;

    background: var(--white);

    border: 1px solid var(--light-gray);

}


.value-card > span {

    display: block;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    color: var(--accent);

    margin-bottom: 40px;

}


.value-card h3 {

    font-size: 30px;

    margin-bottom: 15px;

}


.value-card p {

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   PRODUCT FILTER
========================================================= */

.product-filter {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

    margin-bottom: 55px;

    padding-bottom: 25px;

    border-bottom: 1px solid var(--light-gray);

}


.filter-button {

    appearance: none;

    border: 1px solid #d5d4d0;

    background: transparent;

    color: var(--dark);

    padding: 12px 20px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .5px;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease;

}


.filter-button:hover {

    border-color: var(--black);

}


.filter-button.active {

    background: var(--black);

    color: var(--white);

    border-color: var(--black);

}


/* =========================================================
   PRODUCTS PAGE
========================================================= */

#products-container {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 45px 30px;

}


#products-container .product-card {

    display: block;

    color: var(--black);

}


#products-container .product-image {

    height: 500px;

    overflow: hidden;

    background: #eeeeee;

}


#products-container .product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .6s ease;

}


#products-container .product-card:hover
.product-image img {

    transform: scale(1.04);

}


#products-container .product-info {

    padding: 20px 0 0;

}


#products-container .product-info p {

    margin-bottom: 8px;

    font-size: 10px;

    letter-spacing: 2px;

    color: var(--gray);

}


#products-container .product-info h3 {

    margin-bottom: 12px;

    font-size: 25px;

    color: var(--black);

}


#products-container .product-info span {

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .5px;

    transition: color .3s ease;

}


#products-container .product-card:hover
.product-info span {

    color: var(--accent);

}


/* =========================================================
   CATEGORY PAGE
========================================================= */

.category-page-grid {

    grid-template-columns:
        repeat(3, 1fr);

}


.category-page-grid .category-card {

    height: 520px;

}


.category-page-grid
.category-content p {

    margin-top: 12px;

    font-size: 11px;

    font-weight: 700;

    color: rgba(255,255,255,.8);

}


/* =========================================================
   RESPONSIVE INNER PAGES
========================================================= */

@media (max-width: 900px) {

    .about-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .about-feature {

        grid-template-columns: 1fr;

    }


    .about-feature-image {

        height: 500px;

    }


    .values-grid {

        grid-template-columns:
            1fr;

    }


    #products-container {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .category-page-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 600px) {

    .page-hero {

        min-height: 600px;

    }


    .page-hero-content {

        padding-top: 100px;

    }


    .page-hero h1 {

        font-size: 55px;

    }


    .about-feature-content {

        padding: 60px 30px;

    }


    .product-filter {

        gap: 7px;

    }


    .filter-button {

        padding: 10px 13px;

        font-size: 10px;

    }


    #products-container {

        grid-template-columns:
            1fr;

    }


    #products-container .product-image {

        height: 450px;

    }


    .category-page-grid {

        grid-template-columns:
            1fr;

    }

}

/* =========================================================
   PRODUCT DETAIL PAGE
========================================================= */

.product-detail-section {

    padding:
        100px 0 120px;

    background: var(--background);

}


.back-link {

    display: inline-block;

    margin-bottom: 55px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    color: var(--dark);

}


.back-link:hover {

    color: var(--accent);

}


/* PRODUCT LAYOUT */

.product-detail {

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    gap: 90px;

    align-items: start;

}


/* PRODUCT IMAGE */

.product-detail-image {

    width: 100%;

    height: 700px;

    overflow: hidden;

    background: #eeeeee;

}


.product-detail-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


/* PRODUCT CONTENT */

.product-detail-content {

    padding-top: 25px;

}


.product-code {

    margin-bottom: 12px;

    font-size: 10px;

    letter-spacing: 2px;

    color: var(--gray);

}


.product-category {

    margin-bottom: 20px;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: var(--accent);

}


.product-detail-content h1 {

    max-width: 650px;

    margin-bottom: 30px;

    font-size:
        clamp(48px, 5vw, 72px);

    line-height: 1;

}


.product-description {

    max-width: 550px;

    margin-bottom: 45px;

    font-size: 16px;

    line-height: 1.8;

    color: var(--gray);

}


/* SPECIFICATIONS */

.product-specifications {

    border-top:
        1px solid var(--light-gray);

    margin-bottom: 40px;

}


.spec-row {

    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding: 18px 0;

    border-bottom:
        1px solid var(--light-gray);

}


.spec-row span {

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: var(--gray);

}


.spec-row strong {

    font-size: 13px;

    text-align: right;

}


/* ENQUIRY BUTTON */

.product-enquiry-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 55px;

}


/* PRODUCT NOT FOUND */

.product-not-found {

    min-height: 400px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

}


.product-not-found h1 {

    margin-bottom: 20px;

}


.product-not-found p {

    margin-bottom: 30px;

    color: var(--gray);

}


/* =========================================================
   PRODUCT DETAIL MOBILE
========================================================= */

@media (max-width: 900px) {

    .product-detail {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .product-detail-image {

        height: 600px;

    }


    .product-detail-content {

        padding-top: 0;

    }

}


@media (max-width: 600px) {

    .product-detail-section {

        padding:
            70px 0 80px;

    }


    .product-detail-image {

        height: 450px;

    }


    .product-detail-content h1 {

        font-size: 48px;

    }


    .spec-row {

        flex-direction: column;

        gap: 8px;

    }


    .spec-row strong {

        text-align: left;

    }

}