/* Nature-Inspired Earthy Palette */
:root {
    --vanilla: #fdfbf7;
    --dough: #e8e2d8;
    --chocolate: #3a2e22;
    --matcha: #9cac8e;
    --accent: #d88c51;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* For custom cursor */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    background-color: var(--vanilla);
    color: var(--chocolate);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--chocolate);
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(58, 46, 34, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
body:hover .cursor-outline.hovered {
    width: 60px;
    height: 60px;
    background-color: rgba(156, 172, 142, 0.2); /* Matcha tint */
    border-color: transparent;
}

/* Typography */
h1, h2, h3, .logo {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    mix-blend-mode: difference;
    color: var(--vanilla);
}

.logo {
    font-size: 2rem;
    font-style: italic;
}

.nav-links a {
    color: inherit;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 15vh 5% 10vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tactile-text {
    font-size: clamp(5rem, 10vw, 9rem);
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.tactile-text i {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 300;
    color: var(--accent);
    text-transform: lowercase;
}

.hero p {
    font-size: 1.5rem;
    max-width: 500px;
    font-weight: 400;
}

.hero-image-wrapper {
    width: 100%;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.hero-load {
    animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(58, 46, 34, 0.15);
    transition: transform 0.5s ease;
}

/* Marquee */
.marquee-container {
    position: absolute;
    bottom: 5vh;
    left: 0;
    width: 100%;
    overflow: hidden;
    background: var(--chocolate);
    color: var(--vanilla);
    padding: 1.5rem 0;
    transform: rotate(-2deg) scale(1.05);
    z-index: 10;
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 20s linear infinite;
}

.marquee span {
    font-size: 1.5rem;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    padding: 0 2rem;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Bento Grid */
.bento-grid {
    padding: 15vh 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
}

.card {
    background: #fff;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(58,46,34,0.05);
    border: 1px solid var(--dough);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-10px);
}

.bento-main {
    grid-column: span 2;
    background: var(--matcha);
    color: var(--chocolate);
    border: none;
}

.bento-main h2 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 2rem;
}

.rating {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stars { color: var(--chocolate); }

.card h3 {
    font-size: 2rem;
    margin: 1.5rem 0 1rem 0;
}

.card-img-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 20px;
}
.matcha-tint { background: var(--matcha); opacity: 0.3; }
.dough-tint { background: var(--accent); opacity: 0.2; }

/* Review Cards */
.review-card {
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.reviewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.reviewer-header strong {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.review-card p {
    font-family: 'Instrument Serif', serif;
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.2;
    color: var(--chocolate);
}

/* Menu Section */
.menu-section {
    padding: 10vh 5%;
    background: var(--dough);
    color: var(--chocolate);
    border-radius: 50px 50px 0 0;
    margin-top: -30px; /* Overlaps bento slightly for tactile feel */
    position: relative;
    z-index: 5;
}

.menu-header h2 {
    font-size: 5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.menu-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 4rem;
}

.menu-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2rem;
    margin-bottom: 5rem;
}

.highlight-card {
    background: var(--vanilla);
    border-radius: 24px;
    padding: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(58, 46, 34, 0.05);
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.highlight-card .img-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.highlight-card:hover img {
    transform: scale(1.08);
}

.highlight-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 4rem;
    padding: 3rem;
    background: var(--vanilla);
    border-radius: 30px;
}

.menu-col h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(58,46,34,0.1);
    padding-bottom: 1rem;
}

.menu-col ul {
    list-style: none;
}

.menu-col li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(58,46,34,0.05);
    font-size: 1.1rem;
    font-weight: 500;
}

.menu-col .price {
    font-family: 'Instrument Serif', serif;
    font-size: 1.3rem;
    color: var(--accent);
}

/* Visit Us */
.visit-us {
    padding: 10vh 5%;
    text-align: center;
    background: var(--chocolate);
    color: var(--vanilla);
    border-radius: 50px 50px 0 0;
}

.visit-us h2 {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    margin-top: 3rem;
    padding: 1.5rem 3rem;
    background: var(--vanilla);
    color: var(--chocolate);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

/* Animations */
.rev-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.rev-image {
    opacity: 0;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    transition: opacity 1.5s ease, clip-path 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.rev-up.animate, .rev-image.animate {
    opacity: 1;
    transform: translateY(0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

footer {
    text-align: center;
    padding: 2rem;
    background: var(--chocolate);
    color: rgba(253,251,247,0.5);
    font-size: 0.9rem;
}
footer span { color: var(--vanilla); }
