:root {
    --white: #fffdfd;
    --soft: #fff7f9;
    --pink: #f5dce5;
    --rose: #c88a9e;
    --deep-rose: #8d5369;
    --wine: #593442;
    --champagne: #c9a875;
    --muted: #927d85;
    --line: #eadde1;
    --shadow: 0 20px 60px rgba(89, 52, 66, .10);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--white);
    color: var(--wine);
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
    border: 0;
}

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

/* NAV */

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    background: rgba(255,253,253,.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(234,221,225,.7);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--pink);
    display: grid;
    place-items: center;
    color: var(--deep-rose);
    font-family: "Playfair Display", serif;
    font-size: 20px;
}

.logo-text strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    letter-spacing: .04em;
}

.logo-text span {
    font-size: 9px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
}

.open-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--muted);
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #79a886;
}

.nav-btn {
    background: var(--wine);
    color: white;
    padding: 11px 19px;
    border-radius: 30px;
    font-size: 13px;
    transition: .25s;
}

.nav-btn:hover {
    transform: translateY(-2px);
}

/* HERO */
.hero {
    min-height: 580px;
    margin: 0 6% 30px;
    border-radius: 30px;
    padding: 70px 20px;
    background:
        linear-gradient(rgba(89,52,66,.65), rgba(89,52,66,.65)),
        url("../img/banner.jpeg")
        center/cover no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f4dfe6;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
}

.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--champagne);
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.03em;
    margin-bottom: 20px;
}

.hero h1 em {
    color: #f5dce5;
    font-style: italic;
}

.hero p {
    color: #eadce1;
    max-width: 500px;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-btn {
    background: var(--wine);
    color: white;
    padding: 14px 23px;
    border-radius: 30px;
    font-size: 13px;
    transition: .25s;
}

.primary-btn:hover {
    background: var(--deep-rose);
    transform: translateY(-2px);
}

.secondary-btn {
    padding: 13px 22px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 30px;
    color: white;
    font-size: 13px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(5px);
    transition: .25s;
}

.secondary-btn:hover {
    background: rgba(255,255,255,.2);
}

/* INTRO */

.intro {
    padding: 35px 6%;
    background: var(--wine);
    color: white;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.intro-item {
    padding: 15px 25px;
    border-right: 1px solid rgba(255,255,255,.15);
}

.intro-item:last-child {
    border-right: 0;
}

.intro-item strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    margin-bottom: 5px;
}

.intro-item span {
    color: #d8c7cd;
    font-size: 12px;
}

/* MENU */

.menu-section {
    padding: 95px 6%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 35px;
}

.section-heading small {
    display: block;
    color: var(--deep-rose);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: 43px;
    font-weight: 500;
}

.section-heading p {
    max-width: 350px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 13px;
}

/* SEARCH */

.controls {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.search {
    width: 280px;
    position: relative;
}

.search input {
    width: 100%;
    border: 1px solid var(--line);
    padding: 13px 18px;
    border-radius: 30px;
    outline: none;
    background: white;
    color: var(--wine);
}

.categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.category {
    flex: 0 0 auto;
    padding: 11px 17px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: white;
    color: var(--muted);
    font-size: 12px;
    transition: .2s;
}

.category.active,
.category:hover {
    background: var(--pink);
    color: var(--wine);
    border-color: var(--pink);
}

/* FEATURE */

.feature {
    background: linear-gradient(120deg, #f9e8ed, #fff6f8);
    border-radius: 30px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    overflow: hidden;
}

.feature-image {
    min-height: 310px;
    border-radius: 22px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 15px 25px;
}

.tag {
    display: inline-block;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 20px;
    background: white;
    color: var(--deep-rose);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-bottom: 15px;
}

.feature-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 12px;
}

.feature-content p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 13px;
    margin-bottom: 20px;
}

.feature-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
    font-size: 12px;
}

.feature-meta span {
    color: var(--muted);
}

.feature-meta strong {
    color: var(--wine);
}

.price {
    font-family: "Playfair Display", serif;
    font-size: 25px;
    color: var(--deep-rose);
}

/* CARDS */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.menu-card {
    border: 1px solid var(--line);
    border-radius: 23px;
    overflow: hidden;
    background: white;
    transition: .3s;
}

.menu-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.card-image {
    height: 205px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.menu-card:hover .card-image img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    background: rgba(255,255,255,.92);
    color: var(--deep-rose);
    padding: 7px 10px;
    border-radius: 20px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.card-body {
    padding: 19px;
}

.card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.card-body h3 {
    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-weight: 500;
}

.card-price {
    font-family: "Playfair Display", serif;
    color: var(--deep-rose);
    white-space: nowrap;
}

.card-body p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
    min-height: 39px;
}

.card-bottom {
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.duration {
    color: var(--muted);
    font-size: 11px;
}

.view-btn {
    background: var(--soft);
    color: var(--deep-rose);
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 10px;
}

/* RITUAL BANNER */

.ritual {
    margin: 10px 6% 90px;
    border-radius: 30px;
    min-height: 420px;
    padding: 60px 20px;
    background:
        linear-gradient(rgba(89,52,66,.75), rgba(89,52,66,.75)),
        url("../img/serenity.jpeg")
        center/cover no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ritual .logo-mark {
    margin: 0 auto 15px auto;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.ritual small {
    text-transform: uppercase;
    letter-spacing: .25em;
    font-size: 10px;
    color: #f4dfe6;
    margin-bottom: 8px;
}

.ritual h2 {
    font-family: "Playfair Display", serif;
    font-size: 43px;
    font-weight: 500;
    margin: 0 0 12px 0;
}

.ritual p {
    max-width: 530px;
    margin: 0 auto;
    color: #eadce1;
    font-size: 13px;
    line-height: 1.7;
}

.ritual .primary-btn {
    display: inline-block;
    margin-top: 25px;
    background: white;
    color: var(--wine);
}

.ritual .primary-btn:hover {
    background: var(--pink);
}

/* FOOTER */

footer {
    background: #fff7f9;
    padding: 50px 6% 30px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 35px;
    padding-bottom: 35px;
}

.footer-brand p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    max-width: 280px;
    margin-top: 12px;
}

footer h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-bottom: 15px;
}

footer li {
    list-style: none;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 9px;
}

.copyright {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    color: var(--muted);
    font-size: 10px;
    display: flex;
    justify-content: space-between;
}

/* MODAL */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(48,28,36,.55);
    backdrop-filter: blur(8px);
    display: none;
    place-items: center;
    z-index: 100;
    padding: 20px;
}

.modal.show {
    display: grid;
}

.modal-box {
    width: min(520px, 100%);
    background: white;
    border-radius: 27px;
    padding: 30px;
    position: relative;
    box-shadow: 0 30px 90px rgba(0,0,0,.2);
}

.close {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--wine);
    font-size: 18px;
    display: grid;
    place-items: center;
    transition: .2s;
}

.close:hover {
    background: var(--pink);
}

.modal-box h2 {
    font-family: "Playfair Display", serif;
    font-size: 31px;
    margin-bottom: 10px;
}

.modal-box p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 13px;
    margin-bottom: 15px;
}

.modal-details {
    background: var(--soft);
    border-radius: 17px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.modal-details span {
    font-size: 11px;
    color: var(--muted);
}

.modal-details strong {
    display: block;
    color: var(--wine);
    margin-top: 3px;
}

.modal-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.field-group {
    background: var(--soft);
    border-radius: 14px;
    padding: 10px 14px;
}

.field-group label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    margin-bottom: 4px;
}

.field-group input {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--wine);
    outline: none;
    font-size: 13px;
    font-weight: 500;
}

.hours-hint {
    font-size: 11px;
    color: var(--deep-rose);
    margin-bottom: 15px;
    text-align: center;
    background: var(--soft);
    padding: 8px;
    border-radius: 10px;
}

/* RESPONSIVE */

@media(max-width: 900px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media(max-width: 650px) {
    .navbar {
        padding: 0 5%;
    }

    .open-status {
        display: none;
    }

    .nav-btn {
        padding: 9px 13px;
        font-size: 11px;
    }

    .hero {
        margin: 0 4% 25px;
        min-height: 480px;
        padding: 50px 18px;
    }

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

    .intro {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 25px 5%;
    }

    .intro-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.15);
        padding: 13px 0;
    }

    .intro-item:last-child {
        border-bottom: 0;
    }

    .menu-section {
        padding: 65px 5%;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2 {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .controls {
        display: block;
    }

    .search {
        width: 100%;
        margin-bottom: 15px;
    }

    .feature {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .feature-image {
        min-height: 230px;
    }

    .feature-content {
        padding: 5px;
    }

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

    .ritual {
        margin: 0 5% 65px;
        padding: 40px 22px;
    }

    .ritual h2 {
        font-size: 34px;
    }

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

    .copyright {
        display: block;
        line-height: 1.7;
    }
}