
/* =========================================
   GREENLIFE
   MODERN BOTANICAL DESIGN
========================================= */


/* =========================================
   RESET
========================================= */

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


html {
    scroll-behavior: smooth;
}


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

    background: #f4f0e8;

    color: #20382b;

    line-height: 1.6;
}


/* =========================================
   NAVIGATION
========================================= */

.navbar {
    height: 82px;

    padding: 0 6%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #f4f0e8;

    border-bottom: 1px solid #d9d3c5;

    position: sticky;

    top: 0;

    z-index: 1000;
}


.logo {
    text-decoration: none;

    color: #20382b;

    font-size: 25px;

    font-weight: bold;

    letter-spacing: -1px;
}


.logo-icon {
    color: #788c59;

    margin-right: 7px;
}


.navbar nav {
    display: flex;

    gap: 38px;
}


.navbar nav a {
    text-decoration: none;

    color: #405346;

    font-family: Arial, sans-serif;

    font-size: 13px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: 0.3s;
}


.navbar nav a:hover {
    color: #788c59;
}


.nav-button {
    text-decoration: none;

    color: #f4f0e8;

    background: #20382b;

    padding: 12px 20px;

    border-radius: 3px;

    font-family: Arial, sans-serif;

    font-size: 11px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: 0.3s;
}


.nav-button:hover {
    background: #788c59;
}


/* =========================================
   GENERAL
========================================= */

.eyebrow {
    font-family: Arial, sans-serif;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 2.5px;

    color: #788c59;

    margin-bottom: 20px;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: calc(100vh - 82px);

    padding: 70px 7%;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 70px;
}


.hero-content {
    max-width: 560px;
}


.hero h1 {
    font-size: clamp(50px, 6vw, 82px);

    line-height: 0.98;

    letter-spacing: -4px;

    font-weight: normal;

    color: #20382b;

    margin-bottom: 30px;
}


.hero h1 em {
    color: #788c59;

    font-weight: normal;
}


.hero-description {
    font-family: Arial, sans-serif;

    color: #697269;

    font-size: 16px;

    line-height: 1.8;

    max-width: 480px;

    margin-bottom: 35px;
}


.hero-button {
    display: inline-flex;

    align-items: center;

    gap: 20px;

    text-decoration: none;

    background: #20382b;

    color: #f4f0e8;

    padding: 16px 22px;

    font-family: Arial, sans-serif;

    font-size: 11px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: 0.3s;
}


.hero-button span {
    font-size: 18px;
}


.hero-button:hover {
    background: #788c59;

    transform: translateY(-3px);
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-image {
    height: 590px;

    position: relative;

    overflow: hidden;
}


.hero-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(18, 35, 25, 0.5)
        );
}


.hero-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}


.image-label {
    position: absolute;

    bottom: 25px;

    left: 30px;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 15px;

    color: white;

    font-family: Arial, sans-serif;
}


.image-label span {
    font-size: 11px;

    opacity: 0.7;
}


.image-label p {
    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 2px;
}


/* =========================================
   INTRODUCTION
========================================= */

.introduction {
    background: #20382b;

    color: #f4f0e8;

    padding: 100px 10%;

    display: grid;

    grid-template-columns: 0.3fr 1fr 0.4fr;

    align-items: center;

    gap: 50px;
}


.intro-number {
    font-family: Arial, sans-serif;

    font-size: 12px;

    letter-spacing: 2px;

    color: #94a578;
}


.intro-content {
    max-width: 700px;
}


.intro-content .eyebrow {
    color: #94a578;
}


.intro-content h2 {
    font-size: 50px;

    font-weight: normal;

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 30px;
}


.intro-content h2 span {
    color: #a8b88c;
}


.intro-content > p:not(.eyebrow) {
    font-family: Arial, sans-serif;

    color: #c1c9bd;

    font-size: 15px;

    max-width: 620px;

    margin-bottom: 15px;
}


.intro-stat {
    border-left: 1px solid #4b5d4c;

    padding-left: 40px;

    display: flex;

    align-items: center;

    gap: 20px;
}


.intro-stat strong {
    font-size: 65px;

    font-weight: normal;

    color: #a8b88c;
}


.intro-stat span {
    font-family: Arial, sans-serif;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    color: #c1c9bd;
}


/* =========================================
   ENCYCLOPEDIA
========================================= */

.encyclopedia {
    padding: 120px 7%;
}


.section-heading {
    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 70px;
}


.section-heading h2 {
    font-size: 65px;

    font-weight: normal;

    line-height: 1;

    letter-spacing: -3px;
}


.section-heading h2 em {
    color: #788c59;
}


.section-description {
    max-width: 330px;

    font-family: Arial, sans-serif;

    font-size: 13px;

    line-height: 1.8;

    color: #747b72;
}


/* =========================================
   FEATURED PLANT
========================================= */

.plant-feature {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    min-height: 600px;

    margin-bottom: 80px;
}


.plant-photo {
    position: relative;

    overflow: hidden;
}


.plant-photo img {
    width: 100%;

    height: 100%;

    min-height: 600px;

    object-fit: cover;

    display: block;

    transition: transform 0.6s ease;
}


.plant-feature:hover .plant-photo img {
    transform: scale(1.03);
}


.plant-number {
    position: absolute;

    top: 25px;

    left: 25px;

    background: #f4f0e8;

    color: #20382b;

    width: 45px;

    height: 45px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-family: Arial, sans-serif;

    font-size: 11px;

    font-weight: bold;
}


.plant-details {
    background: #e6e1d5;

    padding: 70px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.plant-type {
    font-family: Arial, sans-serif;

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 2px;

    color: #788c59;

    margin-bottom: 12px;
}


.plant-details h3 {
    font-size: 65px;

    font-weight: normal;

    line-height: 1;

    letter-spacing: -3px;

    color: #20382b;
}


.scientific {
    font-family: Georgia, serif;

    color: #7b8279;

    margin-top: 8px;
}


.line {
    width: 50px;

    height: 1px;

    background: #9ba18f;

    margin: 30px 0;
}


.plant-description {
    font-family: Arial, sans-serif;

    font-size: 14px;

    color: #5e675f;

    line-height: 1.8;

    max-width: 400px;
}


.plant-meta {
    display: flex;

    gap: 50px;

    margin-top: 40px;

    padding-top: 20px;

    border-top: 1px solid #cbc6b9;
}


.plant-meta div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.plant-meta span {
    font-family: Arial, sans-serif;

    font-size: 8px;

    letter-spacing: 1.5px;

    color: #8a9086;
}


.plant-meta strong {
    font-family: Arial, sans-serif;

    font-size: 12px;

    color: #35483a;
}


/* =========================================
   PLANT GRID
========================================= */

.plant-grid {
    display: grid;

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

    gap: 35px;
}


/* =========================================
   PLANT CARD
========================================= */

.plant-card {
    background: #e9e4d9;

    transition: 0.35s;

    overflow: hidden;
}


.plant-card:hover {
    transform: translateY(-8px);
}


.card-image {
    height: 320px;

    position: relative;

    overflow: hidden;
}


.card-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.6s ease;
}


.plant-card:hover .card-image img {
    transform: scale(1.05);
}


.card-image span {
    position: absolute;

    top: 18px;

    right: 18px;

    width: 38px;

    height: 38px;

    background: #f4f0e8;

    display: flex;

    align-items: center;

    justify-content: center;

    font-family: Arial, sans-serif;

    font-size: 10px;

    color: #20382b;
}


.card-body {
    padding: 30px;
}


.card-body h3 {
    font-size: 32px;

    font-weight: normal;

    line-height: 1;

    color: #20382b;
}


.card-body .scientific {
    font-size: 13px;

    margin-top: 5px;
}


.card-description {
    font-family: Arial, sans-serif;

    color: #687168;

    font-size: 13px;

    line-height: 1.7;

    margin-top: 18px;
}


/* =========================================
   ABOUT
========================================= */

.about {
    background: #ded9cc;

    padding: 120px 10%;

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 100px;

    align-items: center;
}


.about-image {
    height: 550px;

    overflow: hidden;
}


.about-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.about-content h2 {
    font-size: 58px;

    line-height: 1.05;

    font-weight: normal;

    letter-spacing: -2px;

    margin-bottom: 30px;
}


.about-content h2 em {
    color: #788c59;
}


.about-content > p:not(.eyebrow):not(.project-note) {
    font-family: Arial, sans-serif;

    color: #687168;

    font-size: 15px;

    line-height: 1.8;

    max-width: 560px;

    margin-bottom: 15px;
}


.about-line {
    width: 100%;

    height: 1px;

    background: #bbb6a9;

    margin: 35px 0 20px;
}


.project-note {
    font-family: Arial, sans-serif;

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 2px;

    color: #788c59;
}


/* =========================================
   DISCLAIMER
========================================= */

.disclaimer {
    background: #f4f0e8;

    padding: 55px 10%;

    display: flex;

    align-items: center;

    gap: 25px;

    border-top: 1px solid #d5d0c3;

    border-bottom: 1px solid #d5d0c3;
}


.warning-icon {
    min-width: 35px;

    height: 35px;

    border: 1px solid #788c59;

    color: #788c59;

    display: flex;

    align-items: center;

    justify-content: center;

    font-family: Arial, sans-serif;

    font-weight: bold;
}


.disclaimer .eyebrow {
    margin-bottom: 7px;
}


.disclaimer p:last-child {
    font-family: Arial, sans-serif;

    font-size: 12px;

    color: #71776e;

    max-width: 900px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    background: #20382b;

    color: #f4f0e8;

    padding: 45px 7%;
}


.footer-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 30px;

    border-bottom: 1px solid #435648;
}


.footer-top .logo {
    color: #f4f0e8;
}


.footer-top p {
    font-family: Arial, sans-serif;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 2px;

    color: #a9b4a8;
}


.footer-bottom {
    display: flex;

    justify-content: space-between;

    padding-top: 20px;

    font-family: Arial, sans-serif;

    font-size: 10px;

    color: #849386;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .navbar {
        padding: 0 4%;
    }


    .nav-button {
        display: none;
    }


    .hero {
        grid-template-columns: 1fr;

        padding: 70px 6%;
    }


    .hero-content {
        max-width: 700px;
    }


    .hero-image {
        height: 500px;
    }


    .introduction {
        grid-template-columns: 0.2fr 1fr;

        padding: 80px 7%;
    }


    .intro-stat {
        display: none;
    }


    .plant-feature {
        grid-template-columns: 1fr;
    }


    .plant-photo img {
        min-height: 500px;
    }


    .plant-details {
        padding: 60px;
    }


    .plant-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .about {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .about-image {
        height: 450px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .navbar {
        height: auto;

        padding: 20px;

        flex-wrap: wrap;

        gap: 15px;
    }


    .navbar nav {
        order: 3;

        width: 100%;

        justify-content: center;

        gap: 20px;
    }


    .navbar nav a {
        font-size: 9px;
    }


    .hero {
        padding: 60px 20px;

        gap: 45px;
    }


    .hero h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }


    .hero-image {
        height: 400px;
    }


    .introduction {
        display: block;

        padding: 70px 25px;
    }


    .intro-number {
        margin-bottom: 30px;
    }


    .intro-content h2 {
        font-size: 40px;
    }


    .encyclopedia {
        padding: 80px 20px;
    }


    .section-heading {
        display: block;

        margin-bottom: 50px;
    }


    .section-heading h2 {
        font-size: 48px;

        margin-bottom: 25px;
    }


    .plant-feature {
        margin-bottom: 50px;
    }


    .plant-photo img {
        min-height: 400px;
    }


    .plant-details {
        padding: 45px 30px;
    }


    .plant-details h3 {
        font-size: 48px;
    }


    .plant-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .card-image {
        height: 350px;
    }


    .about {
        padding: 80px 25px;
    }


    .about-image {
        height: 350px;
    }


    .about-content h2 {
        font-size: 43px;
    }


    .disclaimer {
        padding: 40px 25px;

        align-items: flex-start;
    }


    .footer-top {
        display: block;
    }


    .footer-top p {
        margin-top: 15px;
    }

}