/* =========================================
   MELLOGRAM
   Ancient Wellness. Modern Living.
========================================= */

:root {
    --cream: #f5f0e5;
    --cream-light: #fbf8f0;
    --cream-dark: #e9e1d0;

    --green: #53663b;
    --green-dark: #34452a;

    --brown: #5b4634;
    --brown-light: #806b55;

    --black: #1d1d19;
    --white: #ffffff;

    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
}


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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--cream);
    color: var(--black);
    font-family: var(--sans);
    line-height: 1.6;
}


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


a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    height: 90px;

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

    padding: 0 6%;

    background: rgba(245, 240, 229, 0.92);

    position: sticky;
    top: 0;

    z-index: 1000;

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(80, 70, 50, 0.08);
}


.logo {
    display: flex;
    flex-direction: column;
}


.logo span {
    font-family: var(--serif);
    font-size: 26px;
    color: var(--green-dark);
}


.logo small {
    font-size: 8px;
    letter-spacing: 1px;
}


nav {
    display: flex;
    gap: 30px;
}


nav a {
    font-size: 13px;
    position: relative;
}


nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 1px;

    background: var(--green);

    transition: 0.3s;
}


nav a:hover::after {
    width: 100%;
}


.nav-button {
    background: var(--green);

    color: white;

    padding: 12px 20px;

    border-radius: 30px;

    font-size: 13px;
}


.nav-button span {
    margin-left: 8px;
}


.menu-button {
    display: none;

    background: none;
    border: none;

    font-size: 24px;
}


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

.mobile-menu {
    display: none;

    position: fixed;

    top: 90px;
    left: 0;

    width: 100%;

    background: var(--cream-light);

    z-index: 999;

    padding: 25px;
}


.mobile-menu.active {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


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

.eyebrow {
    color: var(--brown);

    font-size: 11px;

    letter-spacing: 3px;

    font-weight: bold;

    margin-bottom: 15px;
}


h1,
h2,
h3 {
    font-family: var(--serif);

    font-weight: normal;

    line-height: 1.05;
}


h2 {
    font-size: clamp(38px, 5vw, 64px);
}


.primary-button {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    background: var(--green);

    color: white;

    padding: 15px 25px;

    border-radius: 40px;

    font-size: 13px;

    transition: 0.3s;
}


.primary-button:hover {
    background: var(--green-dark);

    transform: translateY(-3px);
}


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


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

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

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    overflow: hidden;
}


.hero-content {
    padding: 80px 8%;
}


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

    margin-bottom: 30px;
}


.hero h1 em {
    color: var(--green);

    font-style: normal;
}


.hero-description {
    max-width: 550px;

    color: #514d45;

    font-size: 16px;

    margin-bottom: 25px;
}


.hero-values {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    margin-bottom: 30px;

    font-weight: bold;

    font-size: 13px;
}


.hero-values span:not(:last-child)::after {
    content: "•";

    margin-left: 20px;

    color: var(--green);
}


.hero-image {
    height: calc(100vh - 90px);

    position: relative;
}


.hero-image img {
    height: 100%;

    object-fit: cover;
}


.floating-card {
    position: absolute;

    bottom: 35px;
    right: 35px;

    display: flex;

    align-items: center;

    gap: 15px;

    background: rgba(255,255,255,0.9);

    padding: 15px 20px;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}


.leaf-icon {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: #dce3c9;

    display: grid;
    place-items: center;
}


.floating-card div:nth-child(2) {
    display: flex;

    flex-direction: column;
}


.floating-card span {
    font-size: 11px;

    color: #777;
}


.card-arrow {
    font-size: 20px;

    color: var(--green);
}


/* =========================================
   NAME SECTION
========================================= */

.name-section {
    position: relative;

    display: grid;

    grid-template-columns: 1fr 1.3fr;

    gap: 80px;

    padding: 110px 10%;

    background: var(--cream-light);

    overflow: hidden;
}


.name-title {
    text-align: center;

    padding-top: 20px;
}


.name-title h2 {
    font-size: 70px;

    color: var(--green-dark);
}


.name-title p:last-child {
    margin-top: 25px;

    color: var(--brown);
}


.name-story {
    max-width: 650px;

    font-family: var(--serif);

    font-size: 18px;

    color: #514a40;
}


.name-story p {
    margin-bottom: 20px;
}


.name-story strong {
    color: var(--green-dark);
}


.name-story .highlight {
    color: var(--green-dark);

    font-weight: bold;

    border-left: 3px solid var(--green);

    padding-left: 20px;

    margin-top: 30px;
}


/* =========================================
   PRINCIPLES
========================================= */

.principles {
    padding: 110px 7%;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(140,150,100,0.08),
            transparent 30%
        ),
        var(--cream);
}


.section-heading {
    text-align: center;

    max-width: 750px;

    margin: auto;

    margin-bottom: 65px;
}


.section-heading > p:last-child {
    max-width: 600px;

    margin: 20px auto 0;

    color: #686157;
}


.principle-grid {
    display: grid;

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

    gap: 20px;
}


.principle-card {
    position: relative;

    background: rgba(255,255,255,0.55);

    border: 1px solid rgba(100,90,60,0.12);

    border-radius: 20px;

    padding: 45px 25px;

    text-align: center;

    transition: 0.4s;
}


.principle-card:hover {
    transform: translateY(-10px);

    box-shadow: 0 20px 40px rgba(70,60,40,0.12);
}


.principle-number {
    position: absolute;

    top: 18px;
    left: 20px;

    font-size: 11px;

    letter-spacing: 2px;

    color: var(--brown);
}


.principle-icon {
    width: 65px;
    height: 65px;

    margin: auto;

    display: grid;
    place-items: center;

    background: #e3e8d4;

    border-radius: 50%;

    font-size: 25px;

    margin-bottom: 25px;
}


.card-label {
    font-size: 10px;

    letter-spacing: 3px;

    color: var(--brown);

    margin-bottom: 10px;
}


.principle-card h3 {
    color: var(--green-dark);

    font-size: 27px;

    margin-bottom: 15px;
}


.principle-card > p:last-child {
    font-size: 13px;

    color: #625e55;
}


/* =========================================
   PHILOSOPHY
========================================= */

.philosophy {
    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 600px;
}


.philosophy-image {
    min-height: 500px;
}


.philosophy-image img {
    height: 100%;

    object-fit: cover;
}


.philosophy-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 80px 9%;

    background: #eee7d8;
}


.philosophy-content h2 {
    font-size: clamp(40px, 4vw, 62px);

    margin-bottom: 30px;
}


.philosophy-content h2 em {
    color: var(--green);

    font-style: normal;
}


.philosophy-content p {
    max-width: 600px;

    color: #5d584e;

    margin-bottom: 20px;
}


.philosophy-content strong {
    color: var(--green-dark);

    margin-top: 10px;
}


/* =========================================
   PROMISE
========================================= */

.promise {
    padding: 100px 7%;

    background: var(--cream-light);
}


.promise .section-heading h2 {
    font-size: clamp(32px, 4vw, 52px);

    max-width: 900px;

    margin: auto;
}


.promise-grid {
    display: grid;

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

    gap: 20px;

    max-width: 1200px;

    margin: auto;
}


.promise-item {
    text-align: center;

    padding: 20px;
}


.promise-item span {
    width: 50px;
    height: 50px;

    border: 1px solid var(--green);

    border-radius: 50%;

    display: grid;
    place-items: center;

    margin: auto auto 15px;

    color: var(--green);

    font-size: 20px;
}


.promise-item p {
    font-size: 13px;

    color: #4d493f;
}


/* =========================================
   COMMUNITY
========================================= */

.community {
    display: grid;

    grid-template-columns: 1fr 1fr;

    background: var(--green-dark);

    color: white;
}


.community-content {
    padding: 100px 10%;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.community-content .eyebrow {
    color: #d6cba9;
}


.community-content h2 {
    font-size: clamp(45px, 5vw, 70px);

    margin-bottom: 30px;
}


.community-content > p {
    max-width: 600px;

    color: #d9d8cd;

    margin-bottom: 15px;
}


.community-values {
    margin: 25px 0 30px;

    font-size: 12px;

    letter-spacing: 2px;

    font-weight: bold;
}


.community-values span {
    margin: 0 8px;

    color: #c8b97c;
}


.community-content .primary-button {
    align-self: flex-start;

    background: #e8e0cc;

    color: var(--green-dark);
}


.community-image {
    min-height: 600px;
}


.community-image img {
    height: 100%;

    object-fit: cover;
}


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

footer {
    padding: 35px 7%;

    background: #283620;

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    font-size: 12px;
}


.footer-logo {
    display: flex;

    flex-direction: column;
}


.footer-logo strong {
    font-family: var(--serif);

    font-size: 22px;
}


.footer-logo span {
    font-size: 9px;

    letter-spacing: 1px;
}


.socials {
    display: flex;

    gap: 20px;
}


.socials a {
    opacity: 0.7;

    transition: 0.2s;
}


.socials a:hover {
    opacity: 1;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    nav {
        display: none;
    }

    .nav-button {
        display: none;
    }

    .menu-button {
        display: block;
    }


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

    .hero-content {
        padding: 70px 8%;
    }

    .hero-image {
        height: 550px;
    }


    .name-section {
        grid-template-columns: 1fr;

        gap: 40px;
    }


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


    .promise-grid {
        grid-template-columns: repeat(3, 1fr);
    }


    .philosophy,
    .community {
        grid-template-columns: 1fr;
    }


    .community-image {
        min-height: 450px;
    }

}


@media (max-width: 600px) {

    .navbar {
        height: 75px;

        padding: 0 6%;
    }


    .mobile-menu {
        top: 75px;
    }


    .hero-content {
        padding: 65px 7%;
    }


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


    .hero-description {
        font-size: 14px;
    }


    .hero-values {
        flex-direction: column;

        gap: 8px;
    }


    .hero-values span::after {
        display: none;
    }


    .hero-image {
        height: 400px;
    }


    .floating-card {
        bottom: 20px;
        right: 20px;
    }


    .name-section {
        padding: 75px 7%;
    }


    .name-title h2 {
        font-size: 52px;
    }


    .name-story {
        font-size: 16px;
    }


    .principles,
    .promise {
        padding: 75px 6%;
    }


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


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


    .philosophy-content {
        padding: 70px 7%;
    }


    .community-content {
        padding: 75px 7%;
    }


    .community-image {
        min-height: 350px;
    }


    footer {
        flex-direction: column;

        text-align: center;
    }

}
