:root {
    --sand: #d9b98d;
    --sand-light: #ead6b8;
    --cream: #f7efe2;

    --coffee: #211511;
    --coffee-2: #33221b;

    --caramel: #a65f3f;
    --gold: #c99b58;

    --text: #2b1d17;
    --muted: #746258;

    --white: #fffaf2;

    --border: rgba(43, 29, 23, .16);

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    --max: 1240px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--cream);
    color: var(--text);
    font-family: var(--sans);
    overflow-x: hidden;
}


img {
    display: block;
    width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


p {
    color: var(--muted);
    line-height: 1.8;
}


/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 1000;

    transition: .3s ease;
}


.header.scrolled {
    background: rgba(247,239,226,.94);
    backdrop-filter: blur(18px);

    box-shadow: 0 8px 35px rgba(33,21,17,.08);
}


.nav-wrap {
    max-width: var(--max);
    min-height: 94px;

    margin: auto;
    padding: 0 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo img {
    width: 155px;
    height: 68px;

    object-fit: contain;
}


nav {
    display: flex;
    align-items: center;
    gap: 28px;
}


nav > a {
    font-size: 12px;
    font-weight: 600;

    color: var(--text);
}


nav > a:not(.nav-button):hover {
    color: var(--caramel);
}


.nav-button {
    padding: 13px 22px;

    background: var(--coffee);
    color: white;

    transition: .3s ease;
}


.nav-button:hover {
    background: var(--caramel);
}


.menu-button {
    display: none;

    border: 0;
    background: none;
}


.menu-button span {
    display: block;

    width: 26px;
    height: 2px;

    background: var(--coffee);

    margin: 5px;
}


/* ================= COMMON ================= */

.small-label {
    color: var(--caramel);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}


h2 {
    font-family: var(--serif);

    font-size: clamp(45px, 5.5vw, 76px);

    line-height: 1;

    font-weight: 600;
}


h2 em {
    display: block;

    color: var(--caramel);

    font-style: normal;
}


.button {
    min-height: 52px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    font-size: 11px;
    font-weight: 700;

    transition: .3s ease;
}


.button b {
    font-size: 16px;
}


.dark-button {
    background: var(--coffee);
    color: white;
}


.dark-button:hover {
    background: var(--caramel);
    transform: translateY(-3px);
}


.line-button {
    border: 1px solid var(--coffee);
}


.line-button:hover {
    background: var(--coffee);
    color: white;
}


.cream-button {
    background: var(--cream);
    color: var(--coffee);
}


.cream-button:hover {
    background: white;
    transform: translateY(-3px);
}


/* ================= HERO ================= */

.hero {
    min-height: 100vh;

    padding: 140px 28px 0;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(255,255,255,.35),
            transparent 30%
        ),
        var(--sand);

    position: relative;
}


.hero-inner {
    max-width: var(--max);
    min-height: 720px;

    margin: auto;

    display: grid;
    grid-template-columns: .85fr 1.15fr;

    align-items: center;

    gap: 65px;
}


.hero-text {
    position: relative;
    z-index: 2;
}


.hero-text h1 {
    margin-top: 24px;

    font-family: var(--serif);

    font-size: clamp(65px, 7vw, 105px);

    line-height: .88;

    letter-spacing: -4px;

    font-weight: 600;
}


.hero-text h1 span {
    display: block;

    color: var(--caramel);

    font-style: italic;
}


.hero-text > p {
    max-width: 470px;

    margin-top: 30px;

    color: #5d483d;

    font-size: 15px;
}


.hero-actions {
    display: flex;
    gap: 13px;

    margin-top: 35px;
}


.hero-photo {
    height: 650px;

    position: relative;

    overflow: visible;
}


.hero-photo::before {
    content: "";

    position: absolute;

    inset: -18px 18px 18px -18px;

    border: 1px solid rgba(255,255,255,.55);
}


.hero-photo img {
    height: 100%;

    object-fit: cover;

    position: relative;
    z-index: 2;
}


.photo-tag {
    position: absolute;

    right: 20px;
    top: 20px;

    z-index: 4;

    background: var(--cream);

    padding: 12px 15px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}


.hero-card {
    position: absolute;

    z-index: 5;

    left: -55px;
    bottom: 35px;

    width: 175px;

    padding: 22px;

    background: var(--coffee);

    color: white;

    box-shadow: 0 20px 50px rgba(33,21,17,.2);
}


.hero-card span {
    color: var(--gold);

    font-size: 9px;
}


.hero-card strong {
    display: block;

    margin-top: 13px;

    font-family: var(--serif);

    font-size: 22px;

    line-height: 1.15;
}


.hero-card i {
    color: var(--sand-light);
    font-style: italic;
}


.hero-bottom {
    max-width: var(--max);

    margin: auto;

    min-height: 65px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 25px;

    color: #654d40;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* ================= WELCOME ================= */

.welcome {
    max-width: var(--max);

    margin: auto;

    padding: 150px 28px;

    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 60px;
}


.welcome-label {
    color: var(--gold);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}


.welcome-content {
    max-width: 850px;
}


.welcome-content h2 {
    font-size: clamp(48px, 5vw, 72px);
}


.welcome-content p {
    max-width: 650px;

    margin-top: 35px;

    font-size: 16px;
}


/* ================= FEATURE ================= */

.feature {
    max-width: var(--max);

    margin: auto;

    padding: 0 28px 150px;

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 90px;

    align-items: center;
}


.feature-image {
    height: 620px;

    position: relative;
}


.feature-image img {
    height: 100%;

    object-fit: cover;
}


.image-note {
    position: absolute;

    left: 0;
    bottom: 30px;

    padding: 15px 22px;

    background: var(--caramel);
    color: white;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}


.feature-content .number {
    color: var(--gold);

    display: block;

    margin-bottom: 20px;

    font-size: 12px;
}


.feature-content h2 {
    margin-top: 20px;
}


.feature-content p {
    margin-top: 25px;

    font-size: 14px;
}


.arrow-link {
    display: inline-flex;

    gap: 16px;

    margin-top: 30px;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--coffee);

    font-size: 11px;
    font-weight: 700;
}


.arrow-link span {
    color: var(--caramel);
}


/* ================= MENU ================= */

.menu-section {
    padding: 140px 28px;

    background: var(--coffee);

    color: white;
}


.section-top {
    max-width: var(--max);

    margin: auto auto 65px;

    display: grid;

    grid-template-columns: 1fr 350px;

    gap: 70px;

    align-items: end;
}


.menu-section h2 {
    color: white;

    margin-top: 20px;
}


.section-top > p {
    color: #cbbdb5;

    font-size: 14px;
}


.menu-items {
    max-width: var(--max);

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


.menu-item {
    background: #302019;

    padding: 16px;

    transition: .35s ease;
}


.menu-item:hover {
    transform: translateY(-8px);
}


.featured-item {
    background: var(--caramel);
}


.menu-number {
    color: var(--gold);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;

    padding: 8px 0 15px;
}


.menu-photo {
    height: 330px;

    overflow: hidden;
}


.menu-photo img {
    height: 100%;

    object-fit: cover;

    transition: .6s ease;
}


.menu-item:hover .menu-photo img {
    transform: scale(1.05);
}


.menu-details {
    padding: 25px 8px 15px;
}


.menu-details h3 {
    font-family: var(--serif);

    font-size: 32px;
}


.menu-details p {
    color: #cbbdb5;

    font-size: 13px;

    margin: 10px 0 20px;
}


.featured-item .menu-details p {
    color: #f0ded5;
}


.menu-details a {
    font-size: 10px;
    font-weight: 700;

    border-bottom: 1px solid currentColor;

    padding-bottom: 5px;
}


/* ================= CAKE SHOWCASE ================= */

.cake-showcase {
    max-width: var(--max);

    margin: auto;

    padding: 150px 28px;

    display: grid;

    grid-template-columns: .7fr 1.3fr;

    gap: 80px;
}


.cake-intro {
    padding-top: 30px;
}


.cake-intro h2 {
    margin-top: 20px;
}


.cake-intro p {
    margin: 30px 0;

    max-width: 400px;
}


.cake-collage {
    display: grid;

    grid-template-columns: 1.1fr .9fr .9fr;

    grid-template-rows: 250px 250px;

    gap: 12px;
}


.cake-main {
    grid-row: 1 / 3;

    position: relative;
    overflow: hidden;
}


.cake-photo {
    position: relative;

    overflow: hidden;
}


.cake-main img,
.cake-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .6s ease;
}


.cake-main:hover img,
.cake-photo:hover img {
    transform: scale(1.05);
}


.cake-main::after,
.cake-photo::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        transparent 50%,
        rgba(20,12,9,.7)
    );
}


.cake-main span,
.cake-photo span {
    position: absolute;

    z-index: 2;

    bottom: 15px;
    left: 15px;

    color: white;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* ================= OCCASIONS ================= */

.occasions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    background: var(--caramel);

    color: white;
}


.occasion-photo {
    min-height: 650px;
}


.occasion-photo img {
    height: 100%;

    object-fit: cover;
}


.occasion-text {
    padding: 90px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.occasion-text .small-label {
    color: var(--gold);
}


.occasion-text h2 {
    margin-top: 20px;
}


.occasion-list {
    margin: 45px 0;

    border-top: 1px solid rgba(255,255,255,.25);
}


.occasion-list div {
    padding: 18px 0;

    border-bottom: 1px solid rgba(255,255,255,.25);

    display: flex;
    gap: 35px;

    font-family: var(--serif);

    font-size: 21px;
}


.occasion-list span {
    color: var(--gold);

    font-family: var(--sans);

    font-size: 9px;
    font-weight: 700;
}


/* ================= VALUES ================= */

.values {
    max-width: var(--max);

    margin: auto;

    padding: 150px 28px;

    display: grid;

    grid-template-columns: .7fr 1.3fr;

    gap: 90px;
}


.values-heading h2 {
    margin-top: 20px;
}


.values-list {
    border-top: 1px solid var(--border);
}


.value {
    display: grid;

    grid-template-columns: 60px 1fr;

    padding: 30px 0;

    border-bottom: 1px solid var(--border);
}


.value > span {
    color: var(--gold);

    font-size: 10px;
    font-weight: 700;
}


.value h3 {
    font-family: var(--serif);

    font-size: 25px;
}


.value p {
    margin-top: 8px;

    font-size: 13px;
}


/* ================= LOCATIONS ================= */

.locations {
    max-width: var(--max);

    margin: auto;

    padding: 140px 28px;
}


.locations-heading h2 {
    margin-top: 20px;
}


.locations-grid {
    margin-top: 70px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.location {
    min-height: 230px;

    padding: 35px 28px;
}


.location + .location {
    border-left: 1px solid var(--border);
}


.location > span {
    color: var(--gold);

    font-size: 10px;
    font-weight: 700;
}


.location h3 {
    margin-top: 35px;

    font-family: var(--serif);

    font-size: 30px;
}


.location p {
    margin-top: 10px;

    font-size: 13px;
}


/* ================= ORDER ================= */

.order-section {
    display: grid;

    grid-template-columns: 1fr 1fr;

    background: var(--coffee);

    color: white;
}


.order-image {
    min-height: 600px;
}


.order-image img {
    height: 100%;

    object-fit: cover;
}


.order-content {
    padding: 80px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: flex-start;
}


.order-content .small-label {
    color: var(--gold);
}


.order-content h2 {
    margin-top: 20px;
}


.order-content p {
    color: #cbbdb5;

    max-width: 430px;

    margin: 30px 0;
}


/* ================= CONTACT ================= */

.contact {
    max-width: var(--max);

    margin: auto;

    padding: 140px 28px 110px;
}


.contact-heading h2 {
    margin-top: 20px;
}


.contact-grid {
    margin-top: 70px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.contact-column {
    min-height: 190px;

    padding: 35px 22px;
}


.contact-column + .contact-column {
    border-left: 1px solid var(--border);
}


.contact-column > span {
    display: block;

    margin-bottom: 20px;

    color: var(--gold);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}


.contact-column a,
.contact-column p {
    display: block;

    font-size: 13px;

    line-height: 2;
}


.contact-column a:hover {
    color: var(--caramel);
}


.whatsapp {
    color: var(--caramel);
    font-weight: 700;
}


/* ================= FOOTER ================= */

footer {
    background: var(--sand);

    padding: 70px 28px 25px;

    text-align: center;
}


.footer-logo img {
    width: 175px;
    height: 75px;

    object-fit: contain;

    margin: auto;
}


.footer-brand {
    margin-top: 15px;

    color: var(--coffee);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}


.footer-city {
    margin-top: 14px;

    color: var(--caramel);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}


.footer-bottom {
    max-width: var(--max);

    margin: 55px auto 0;

    padding-top: 20px;

    border-top: 1px solid rgba(33,21,17,.18);

    display: flex;

    justify-content: space-between;

    color: #70584b;

    font-size: 10px;
}


/* ================= RESPONSIVE ================= */

@media(max-width: 900px) {

    nav {
        position: fixed;

        top: 94px;
        right: -100%;

        width: 310px;

        padding: 30px;

        background: var(--cream);

        flex-direction: column;
        align-items: stretch;

        box-shadow: 0 20px 50px rgba(0,0,0,.15);

        transition: .35s ease;
    }


    nav.open {
        right: 20px;
    }


    nav > a {
        padding: 10px 0;
    }


    .nav-button {
        text-align: center;
    }


    .menu-button {
        display: block;
    }


    .hero-inner {
        grid-template-columns: 1fr;

        padding-bottom: 70px;
    }


    .hero-photo {
        height: 520px;
    }


    .hero-card {
        left: 15px;
    }


    .welcome {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .feature {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .section-top,
    .cake-showcase,
    .values {
        grid-template-columns: 1fr;
    }


    .menu-items {
        grid-template-columns: 1fr;
    }


    .cake-showcase {
        gap: 50px;
    }


    .occasions,
    .order-section {
        grid-template-columns: 1fr;
    }


    .occasion-photo,
    .order-image {
        min-height: 450px;
    }


    .values {
        gap: 50px;
    }


    .locations-grid {
        grid-template-columns: 1fr;
    }


    .location + .location {
        border-left: 0;
        border-top: 1px solid var(--border);
    }


    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }


    .contact-column:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--border);
    }


    .contact-column:nth-child(4) {
        border-top: 1px solid var(--border);
    }

}


@media(max-width: 600px) {

    .nav-wrap {
        padding: 0 20px;
    }


    .logo img {
        width: 135px;
        height: 62px;
    }


    .hero {
        padding: 120px 20px 0;
    }


    .hero-text h1 {
        font-size: 62px;
        letter-spacing: -2px;
    }


    .hero-actions {
        flex-direction: column;
    }


    .hero-actions .button {
        width: 100%;
    }


    .hero-photo {
        height: 420px;
    }


    .hero-photo::before {
        display: none;
    }


    .hero-card {
        left: 10px;
        bottom: 20px;
    }


    .hero-bottom {
        display: none;
    }


    .welcome,
    .feature,
    .cake-showcase,
    .values,
    .locations,
    .contact {
        padding-left: 20px;
        padding-right: 20px;
    }


    .welcome {
        padding-top: 100px;
        padding-bottom: 100px;
    }


    .feature {
        padding-bottom: 100px;
    }


    .feature-image {
        height: 430px;
    }


    .menu-section,
    .cake-showcase,
    .values {
        padding-top: 100px;
        padding-bottom: 100px;
    }


    .cake-collage {
        display: flex;
        flex-direction: column;
    }


    .cake-main,
    .cake-photo {
        height: 300px;
    }


    .occasion-text,
    .order-content {
        padding: 65px 25px;
    }


    .occasion-photo,
    .order-image {
        min-height: 350px;
    }


    .locations {
        padding-top: 100px;
        padding-bottom: 100px;
    }


    .contact {
        padding-top: 100px;
    }


    .contact-grid {
        grid-template-columns: 1fr;
    }


    .contact-column + .contact-column {
        border-left: 0;
        border-top: 1px solid var(--border);
    }


    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

}
/* ================= MODERN ANIMATIONS ================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.7,.2,1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Images are always visible */

img {
    opacity: 1;
    visibility: visible;
}

/* Image animation */

.image-loaded {
    animation: imageAppear .7s ease both;
}

@keyframes imageAppear {
    from {
        opacity: .7;
        transform: scale(1.015);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero entrance */

.hero-text {
    animation: heroTextIn 1s cubic-bezier(.2,.7,.2,1) both;
}

.hero-photo {
    animation: heroPhotoIn 1.1s cubic-bezier(.2,.7,.2,1) .15s both;
}

.hero-card {
    animation: heroCardIn 1s cubic-bezier(.2,.7,.2,1) .4s both;
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroPhotoIn {
    from {
        opacity: 0;
        transform: translateX(35px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes heroCardIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation animation */

nav > a {
    transition:
        color .25s ease,
        transform .25s ease;
}

nav > a:not(.nav-button):hover {
    transform: translateY(-2px);
}

/* Buttons */

.button,
.nav-button,
.arrow-link {
    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}

.button:hover,
.nav-button:hover {
    transform: translateY(-3px);
}

/* Menu cards */

.menu-item {
    transition:
        transform .45s cubic-bezier(.2,.7,.2,1),
        box-shadow .45s ease;
}

.menu-item:hover {
    box-shadow: 0 20px 45px rgba(0,0,0,.16);
}

/* Photos */

.cake-photo img,
.cake-main img,
.menu-photo img,
.hero-photo img,
.feature-image img,
.occasion-photo img,
.order-image img {
    transition:
        transform .8s cubic-bezier(.2,.7,.2,1),
        filter .5s ease;
}

/* Photo hover */

@media (hover: hover) and (pointer: fine) {

    .cake-photo:hover img,
    .cake-main:hover img,
    .menu-item:hover .menu-photo img {
        transform: scale(1.06);
    }

    .hero-photo:hover img,
    .feature-image:hover img,
    .occasion-photo:hover img,
    .order-image:hover img {
        transform: scale(1.025);
    }

}

/* Locations */

.location {
    transition:
        background-color .35s ease,
        transform .35s ease;
}

@media (hover: hover) and (pointer: fine) {

    .location:hover {
        background: rgba(166,95,63,.06);
        transform: translateY(-4px);
    }

}

/* Contact */

.contact-column {
    transition:
        background-color .3s ease,
        transform .3s ease;
}

@media (hover: hover) and (pointer: fine) {

    .contact-column:hover {
        background: rgba(166,95,63,.045);
    }

}

/* Mobile menu */

@media (max-width: 900px) {

    nav {
        transition:
            right .35s cubic-bezier(.2,.7,.2,1),
            box-shadow .35s ease;
    }

}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}