/* ===== BASIC SETUP ===== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #F8F4ED;
    color: #403832;
    line-height: 1.6;
}


/* ===== HEADER ===== */

header {
    min-height: 90px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    gap: 45px;

    background-color: #F8F4ED;
}

header h2 {
    margin-right: auto;

    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 3px;
}

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

nav a {
    color: #403832;
    text-decoration: none;
    font-size: 14px;
}

nav a:hover {
    opacity: 0.55;
}


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

.hero {
    min-height: 680px;

    padding: 80px 8%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    background-color: #E7D9C8;
}

.hero > p:first-child {
    font-size: 12px;
    letter-spacing: 4px;
}

.hero h1 {
    margin: 20px 0 30px;

    font-family: Georgia, serif;
    font-size: clamp(50px, 7vw, 90px);
    font-weight: normal;
    line-height: 1.05;
}

.hero > p:nth-of-type(2) {
    max-width: 600px;

    margin-bottom: 35px;

    font-size: 18px;
}

.hero div {
    display: flex;
    gap: 15px;
}

.hero a {
    padding: 14px 28px;

    border: 1px solid #403832;

    color: #403832;
    text-decoration: none;

    transition: 0.2s;
}

.hero a:first-child {
    background-color: #403832;
    color: #F8F4ED;
}

.hero a:hover {
    transform: translateY(-3px);
}


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

main > section:not(.hero) {
    padding: 120px 10%;
}

main > section:not(.hero) > p:first-child {
    font-size: 12px;
    letter-spacing: 4px;
}

main section h2 {
    font-family: Georgia, serif;

    font-size: clamp(38px, 5vw, 60px);
    font-weight: normal;
    line-height: 1.15;
}


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

#about {
    max-width: 1000px;
    margin: 0 auto;

    text-align: center;
}

#about > p:last-child {
    max-width: 650px;
    margin: 30px auto 0;

    font-size: 18px;
}


/* ===== CAFE ===== */

#cafe {
    background-color: #9BA58E;
    color: #F8F4ED;
}

#cafe > p:last-child {
    max-width: 600px;
    font-size: 18px;
}


/* ===== HEALING ===== */

#healing {
    background-color: #EEE8DF;
}

#healing article {
    display: inline-block;
    vertical-align: top;

    width: 30%;
    min-height: 280px;

    margin: 35px 1% 0;
    padding: 35px;

    background-color: #F8F4ED;
}

#healing article h3 {
    margin-top: 50px;

    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: normal;
}


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

footer {
    padding: 90px 8%;

    text-align: center;

    background-color: #403832;
    color: #F8F4ED;
}

footer h2 {
    font-family: Georgia, serif;
    font-weight: normal;
    letter-spacing: 4px;
}

footer p:last-child {
    margin-top: 45px;

    font-size: 12px;
    opacity: 0.6;
}


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

@media (max-width: 800px) {

    header {
        min-height: 75px;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: 600px;
    }

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

    .hero div {
        flex-direction: column;
    }

    main > section:not(.hero) {
        padding: 80px 8%;
    }

    #healing article {
        display: block;

        width: 100%;
        margin: 20px 0;
    }
}