/* ==========================
   Variables
========================== */

:root {

    --primary: #8B9786;
    --primary-dark: #6F796B;
    --secondary: #B8ACA3;
    --accent: #A8B39D;

    --text: #444444;
    --text-light: #777777;

    --background: #FAF8F5;
    --white: #FFFFFF;
    --border: #E7E2DC;

}


/* ==========================
   Reset
========================== */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


/* ==========================
   General
========================== */

body {

    font-family: Arial, Helvetica, sans-serif;

    background: var(--background);

    color: var(--text);

}

a {

    text-decoration: none;

    color: inherit;

}

ul {

    list-style: none;

}

img {

    max-width: 100%;

    display: block;

}


/* ==========================
   Typography
========================== */

h1,
h2,
h3,
.logo-text .title {

    font-family: "Cormorant Garamond", serif;

}


/* ==========================
   Header
========================== */

.site-header {

    background: var(--white);

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

}


/* ==========================
   Navbar
========================== */

.navbar {

    max-width: 1400px;

    margin: 0 auto;

    padding: 18px 30px;

    display: flex;

    align-items: center;

}


/* ==========================
   Logo
========================== */

.logo {

    display: flex;

    align-items: center;

    gap: 14px;

    flex-shrink: 0;

}

.logo img {

    height: 80px;

    width: auto;

    flex-shrink: 0;

}

.logo-text {

    display: flex;

    flex-direction: column;

    justify-content: center;

    line-height: 1.15;

}

.logo-text .title {

    font-size: 1.7rem;

    font-weight: 700;

    color: var(--primary-dark);

    letter-spacing: .5px;

}

.logo-text .subtitle {

    font-size: .82rem;

    color: var(--text-light);

    white-space: nowrap;

}


/* ==========================
   Navigation
========================== */

.nav-links {

    display: flex;

    align-items: center;

    gap: 27px;

    margin-left: auto;

    margin-right: 30px;

}

.nav-links a {

    font-size: 15px;

    color: var(--text);

    white-space: nowrap;

    transition: color .25s ease;

}

.nav-links a:hover {

    color: var(--primary);

}


/* ==========================
   Booking Button
========================== */

.btn-book {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: auto;

    flex-shrink: 0;

    white-space: nowrap;

    background: var(--primary);

    color: var(--white);

    padding: 12px 22px;

    border-radius: 8px;

    font-weight: 600;

    transition: background .25s ease;

}

.btn-book:hover {

    background: var(--primary-dark);

}


/* ==========================
   Hamburger
========================== */

.nav-toggle {

    display: none;

    font-size: 34px;

    background: none;

    border: none;

    cursor: pointer;

    color: var(--primary);

    transition: color .25s ease;

}


/* ==========================
   Main
========================== */

main {

    max-width: 1200px;

    margin: 0 auto;

    padding: 60px 30px;

}


/* ==========================
   Footer
========================== */

footer {

    background: var(--white);

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

    padding: 30px;

    text-align: center;

}


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

@media (max-width: 1100px) {

    .navbar {

        padding: 18px 24px;

    }

    .nav-links {

        gap: 20px;

        margin-right: 20px;

    }

    .nav-links a {

        font-size: 14px;

    }

    .btn-book {

        width: auto;

        padding: 11px 18px;

    }

}


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

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

/* ==================================================
   MOBILE
================================================== */
/* ==================================================
   MOBILE
====================/* ==================================================
   FINAL MOBILE NAVBAR FIX
================================================== */

@media (max-width: 992px) {

    .navbar {

        position: relative;

        width: 100%;
        max-width: 1200px;

        min-height: 96px;

        padding: 14px 18px;

        display: flex;
        align-items: center;

        gap: 0;

    }


    /* ==========================
       LOGO
    ========================== */

    .logo {

        display: flex;
        align-items: center;

        gap: 8px;

        flex: 1 1 auto;

        min-width: 0;

        overflow: visible;

    }

    .logo img {

        height: 52px;

        width: auto;

        flex-shrink: 0;

    }


    /* ==========================
       LOGO TEXT
    ========================== */

    .logo-text {

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

        min-width: 0;

        flex: 1 1 auto;

        overflow: visible;

        line-height: 1.15;

    }

    .logo-text .title {

        font-size: 1.25rem;

        line-height: 1;

        white-space: nowrap;

    }

    .logo-text .subtitle {

        font-size: .62rem;

        line-height: 1.25;

        white-space: normal;

        overflow: visible;

        word-break: normal;

        overflow-wrap: normal;

    }


    /* ==========================
       DESKTOP NAVIGATION HIDDEN
    ========================== */

    .nav-links {

        display: none;

    }


    /* ==========================
       BOOKING BUTTON
    ========================== */

    .btn-book {

        order: 2;

        display: inline-flex !important;

        align-items: center;
        justify-content: center;

        width: auto !important;

        flex: 0 0 auto;

        margin: 0 9px 0 10px;

        padding: 10px 13px;

        border-radius: 8px;

        font-size: .76rem;

        line-height: 1.1;

        white-space: nowrap;

    }


    /* ==========================
       HAMBURGER
    ========================== */

    .nav-toggle {

        order: 3;

        display: block;

        flex: 0 0 auto;

        width: 32px;
        height: 32px;

        margin: 0;
        padding: 0;

        font-size: 31px;

        line-height: 32px;

        text-align: center;

        background: none;

        border: none;

        cursor: pointer;

        color: var(--primary);

        z-index: 1001;

    }


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

    .nav-links.active {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        margin: 0;

        background: var(--white);

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

        box-shadow:
            0 10px 25px rgba(0, 0, 0, .08);

        z-index: 1000;

    }

    .nav-links li {

        width: 100%;

    }

    .nav-links a {

        display: block;

        width: 100%;

        padding: 18px 30px;

        text-align: center;

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

        white-space: normal;

        transition:
            background .25s ease,
            color .25s ease;

    }

    .nav-links a:hover {

        background: #F6F4F1;

        color: var(--primary);

    }

}


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

@media (max-width: 420px) {

    .navbar {

        min-height: 96px;

        padding: 12px 14px;

    }


    /* ==========================
       LOGO
    ========================== */

    .logo {

        gap: 7px;

    }

    .logo img {

        height: 47px;

    }

    .logo-text {

        min-width: 0;

    }

    .logo-text .title {

        font-size: 1.12rem;

        line-height: 1;

    }

    .logo-text .subtitle {

        font-size: .56rem;

        line-height: 1.25;

        white-space: normal;

        max-width: 155px;

    }


    /* ==========================
       BOOKING
    ========================== */

    .btn-book {

        margin-left: 7px;

        margin-right: 6px;

        padding: 9px 10px;

        font-size: .70rem;

    }


    /* ==========================
       HAMBURGER
    ========================== */

    .nav-toggle {

        width: 29px;

        height: 29px;

        font-size: 28px;

        line-height: 29px;

    }

}