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

:root {
    --serif-font: "Playfair Display", serif;
    /* --serif-numbers-font: "PT Serif", serif; */
    /* --serif-numbers-font: "Noto Serif Display", serif; */
    --serif-numbers-font: "Fraunces", serif;
    --sans-serif-font: "Quicksand", sans-serif;
    --cursive-font: "Parisienne", cursive;
    --dark: #121212;
    --light: #F9F6EC;
    --accent: #3F4E3C;
    --accent-light: #7F886B;

    /* --accent: #523727; */
    /* --accent: #9D493F; */
    /* --accent: #491B1D; */
}


/*****************************
        TEXT
******************************/

h1,
h2 {
    font-family: var(--serif-font);
    font-weight: 400;
}

h3 {
    font-family: var(--sans-serif-font);
    font-weight: 600;
    font-size: 20px;
}

h4 {
    font-family: var(--sans-serif-font);
    font-weight: 300;
    font-size: 20px;
}

h5 {
    font-size: 19px;
    font-family: var(--sans-serif-font);
    font-weight: 300;
}

h6 {
    font-size: 16px;
    font-family: var(--sans-serif-font);
    font-weight: 300;
}

body {
    font-family: var(--sans-serif-font);
    color: var(--dark);
    line-height: 1.6;
    background: var(--light);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

p {
    padding: 10px 0;
    font-size: 17px;
}

a {
    color: var(--accent-light);
}

.cursive {
    font-family: var(--cursive-font);
}

.serif {
    font-family: var(--serif-font);
}

.serif-numbers {
    font-family: var(--serif-numbers-font);
}


/*****************************
        HEADER
******************************/

header {
    position: fixed;
    width: 100%;
    z-index: 10;
    color: var(--light);
    background-color: transparent;
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        color 0.3s ease;
}

header.scrolled {
    background-color: var(--light);
    color: var(--accent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled .nav a {
    color: var(--accent);
}

header.scrolled .nav ul a:hover {
    border-bottom: 1px solid var(--accent);
}

.nav {
    width: min(1500px, 100%);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
}

.nav ul {
    display: flex;
    gap: 50px;
    list-style: none;
}

.nav a {
    text-decoration: none;
    color: var(--light);
}

.nav ul a {
    font-size: 15px;
    padding: 3px 0;
}

.nav ul a:hover {
    border-bottom: 1px solid var(--light);
}

.logo {
    font-family: var(--serif-font);
    font-size: 22px;
}


/*****************************
        HAMBURGER
******************************/

.hamburger {
    display: none;

    width: 32px;
    height: 32px;

    padding: 4px;
    margin: 0;

    border: none;
    border-radius: 0;
    background: transparent;

    color: inherit;

    cursor: pointer;

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

    gap: 5px;
}

.hamburger:hover {
    background: transparent;
    color: inherit;
}

.hamburger span {
    display: block;

    width: 22px;
    height: 1px;

    background-color: currentColor;

    transition:
        transform 0.3s ease,
        opacity 0.2s ease;
}


/* Hamburger → X */

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/*****************************
        FOOTER
******************************/

footer {
    background: var(--light);
    padding: 30px;
    text-align: center;
    font-size: 14px;
    color: #777;
    font-family: var(--serif-numbers-font);
    font-weight: 300;
}

footer div {
    font-size: 17px;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
}

footer .serif-numbers {
    font-weight: 320;
}


/*****************************
        BUTTON
******************************/

button {
    background-color: transparent;
    border: 1px solid var(--accent);
    padding: 20px 30px;
    border-radius: 100%;
    color: var(--accent);
    font-family: var(--sans-serif-font);
    font-size: 16px;
    transition:
        background-color 0.2s ease,
        color 0.3s ease;
}

button:hover {
    background-color: var(--accent);
    color: var(--light);
    cursor: pointer;
}

button.light {
    border-color: var(--light);
    color: var(--light);
}

button.light:hover {
    background-color: var(--light);
    color: var(--accent);
}


/*****************************
        GENERAL SIZING
******************************/

.container {
    width: min(1200px, 100%);
    margin: auto;
    padding: 120px 40px;
}


/*****************************
        PAGE TITLE
******************************/

.page-title {
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);

    padding: 150px 40px 0;
}

.page-title h1 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.2;
    text-align: center;
}

.page-title .cursive {
    font-size: 1.5em;
}


/*****************************
        RESPONSIVE
******************************/

/* Tablet */

@media (max-width: 1000px) {

    .container {
        padding: 60px 40px;
    }

    .nav ul {
        gap: 30px;
    }

    .page-title {
        padding-top: 130px;
    }

    footer {
        padding: 20px;
    }
}


/* Mobile */

@media (max-width: 800px) {

    /*************************
            HEADER
    *************************/

    .nav {
        padding: 15px 20px;
        position: relative;
    }

    .logo {
        font-size: 20px;
        position: relative;
        z-index: 12;
    }


    /*************************
            HAMBURGER
    *************************/

    .hamburger {
        display: flex;

        position: relative;
        z-index: 12;
    }


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

    .nav ul {
        display: none;

        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        height: 100vh;
        height: 100svh;

        padding: 80px 20px 30px;

        flex-direction: column;
        justify-content: flex-start;

        gap: 0;

        background-color: var(--light);

        overflow-y: auto;

        z-index: 11;
    }


    /* Open menu */

    .nav ul.open {
        display: flex;
    }


    /*************************
        MENU OPTIONS
    *************************/

    .nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--accent-light);
    }

    .nav ul li:first-child {
        border-top: 1px solid var(--accent-light);
    }

    .nav ul a {
        display: block;
        width: 100%;
        padding: 25px 0;
        font-size: 17px;
        color: var(--accent);
    }

    .nav ul a:hover {
        border-bottom: none !important;
    }

    .nav:has(ul.open) .logo a,
    .nav:has(ul.open) button  {
        color: var(--accent);
    }


    /*************************
            PAGE
    *************************/

    .container {
        padding: 40px 20px;
    }

    .page-title {
        padding: 110px 20px 0;
    }

    .page-title h1 {
        font-size: 42px;
    }

    .page-title .cursive {
        font-size: 1.4em;
    }


    /*************************
            FOOTER
    *************************/

    footer {
        padding: 15px;
    }
}


/*****************************
        COMING SOON
******************************/

.coming-soon-icon {
    width: 300px;
    height: 300px;

    background-color: var(--accent-light);

    rotate: -10deg;

    margin: 0 auto 70px;

    -webkit-mask:
        url("../images/icons/coming-soon.png")
        center / contain
        no-repeat;

    mask:
        url("../images/icons/coming-soon.png")
        center / contain
        no-repeat;
}


/* Mobile */

@media (max-width: 768px) {

    .coming-soon-icon {
        width: 220px;
        height: 220px;
    }
}