:root {
    /* Colors */
    --bg-sand: #f8f4ec;         /* Warm background base */
    --bg-camel: #e6dac6;        /* Deeper warm tone for boxes/footer */
    --text-brown: #3e2723;      /* Main typography color based on silk sample */
    --accent-terracotta: #cc6c55; /* Playful accent and buttons based on pot sample */
    --accent-terracotta-hover: #b35944;
    --accent-sage: #9baf93;     /* Green from the swatches for subtle highlights */
    --white: #ffffff;
    
    /* Variables */
    --card-shadow: 0 12px 35px rgba(62, 39, 35, 0.08); /* Soft brown shadow */
}

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

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-sand);
    color: var(--text-brown);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.handwritten-title, .font-handwritten {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    color: var(--accent-terracotta);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Base button styles */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.05rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 10px 25px rgba(204, 108, 85, 0.35);
}

.btn-primary {
    background-color: var(--accent-terracotta);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-terracotta-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-terracotta);
    border: 2px solid var(--accent-terracotta);
}

.btn-outline:hover {
    background-color: var(--accent-terracotta);
    color: var(--white);
}

/* =========================================================================
   Navbar
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(248, 244, 236, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(62, 39, 35, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Caveat', cursive;
    font-size: 2.4rem;
    color: var(--text-brown);
}

.logo-text {
    position: relative;
    top: 2px;
    transition: color 0.3s ease;
}

.logo:hover .logo-text {
    color: var(--accent-terracotta);
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent-terracotta);
    animation: wiggle 3s infinite ease-in-out alternate;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    background-color: var(--accent-sage);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    background: var(--bg-camel);
    padding: 5px 15px;
    border-radius: 30px;
}

.lang-toggle-container button {
    background: none;
    border: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-brown);
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-toggle-container button.active {
    opacity: 1;
    color: var(--accent-terracotta);
}

.lang-toggle-container button:hover {
    opacity: 0.8;
}

/* =========================================================================
   Hero Section
   ========================================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 500px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 .highlight {
    font-family: 'Caveat', cursive;
    color: var(--accent-terracotta);
    font-size: 5rem;
    display: inline-block;
    transform: rotate(-4deg);
    margin-top: -10px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Organic background blobs */
.blob {
    position: absolute;
    filter: blur(50px);
    z-index: 0;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 8s ease-in-out infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background-color: var(--accent-sage);
    top: -100px;
    right: 5%;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background-color: var(--accent-terracotta);
    bottom: -50px;
    left: -50px;
    animation-delay: -3s;
    opacity: 0.2;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(40px) scale(1.05); }
}

.hero-image-container {
    position: relative;
    width: 500px;
    height: 500px;
    z-index: 1;
    margin-left: 50px;
}

.hero-card {
    position: absolute;
    background: var(--white);
    padding: 12px;
    padding-bottom: 40px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s ease;
}

.hero-card[class*="hero-card-left"]::after,
.hero-card[class*="hero-card-top"]::after,
.hero-card[class*="hero-card-right"]::after {
    content: '★';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-sage);
    font-size: 1.2rem;
    opacity: 0.5;
}

.hero-card:hover {
    transform: translateY(-15px) rotate(0deg) !important;
    z-index: 10;
}

.hero-card img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.hero-card-left {
    top: 60px;
    left: -20px;
    transform: rotate(-8deg);
}

.hero-card-top {
    top: -10px;
    right: 40px;
    transform: rotate(6deg);
    z-index: 2;
}

.hero-card-right {
    bottom: 40px;
    right: -10px;
    transform: rotate(10deg);
}

/* =========================================================================
   Craft / About Section
   ========================================================================= */
.craft-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.craft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.craft-images {
    position: relative;
}

.main-craft-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 300px 300px 30px 30px; /* Playful arch shape */
    box-shadow: var(--card-shadow);
    border: 15px solid var(--white);
}

.floating-badge {
    position: absolute;
    bottom: 20px;
    right: -30px;
    background-color: var(--accent-sage);
    color: var(--text-brown);
    padding: 20px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.1;
    box-shadow: 0 10px 20px rgba(155, 175, 147, 0.4);
    transform: rotate(15deg);
    animation: badgeWiggle 4s ease-in-out infinite alternate;
}

@keyframes badgeWiggle {
    0% { transform: rotate(10deg) scale(1); }
    100% { transform: rotate(20deg) scale(1.05); }
}

.craft-text h2 {
    font-size: 4rem;
    margin-bottom: 5px;
}

.craft-text h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--accent-sage);
}

.craft-text p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* =========================================================================
   Highlights
   ========================================================================= */
.highlights-section {
    padding: 100px 20px;
    background-color: var(--white);
    border-radius: 60px;
    max-width: 1300px;
    margin: 0 auto 100px;
    box-shadow: 0 20px 50px rgba(220, 208, 188, 0.3);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 60px;
    font-family: 'Caveat', cursive;
    color: var(--accent-terracotta);
}

.text-center {
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    text-align: center;
    background: var(--bg-sand);
    padding: 40px 25px 30px;
    border-radius: 40px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-img-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border: 10px solid var(--white);
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrapper {
    transform: scale(1.08) rotate(5deg);
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.product-info p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-info .price {
    font-weight: 700;
    color: var(--accent-terracotta);
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    background: var(--white);
    display: inline-block;
    padding: 2px 20px;
    border-radius: 30px;
}

/* =========================================================================
   Menu Section
   ========================================================================= */
.menu-section {
    padding: 60px 20px 100px;
    max-width: 1300px;
    margin: 0 auto;
}

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

.menu-category {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 40px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

/* Soft shape behind category title */
.menu-category::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: var(--bg-sand);
    border-radius: 50%;
    z-index: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.cat-icon {
    font-size: 2.8rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.category-header h3 {
    font-size: 2.8rem;
    font-family: 'Caveat', cursive;
    color: var(--text-brown);
}

.lunch-time {
    font-style: italic;
    opacity: 0.8;
    margin-top: -20px;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--accent-terracotta);
}

.menu-list {
    list-style: none;
    position: relative;
    z-index: 1;
}

.menu-list li {
    margin-bottom: 25px;
}

.menu-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
}

.item-name {
    font-weight: 700;
    font-size: 1.15rem;
}

.item-dots {
    flex-grow: 1;
    border-bottom: 2px dotted #d4cdc2;
    margin: 0 15px;
    position: relative;
    top: -5px;
}

.item-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-terracotta);
}

.item-desc {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-top: 6px;
    line-height: 1.4;
}

.catering-box {
    margin-top: 50px;
    padding: 30px;
    background-color: var(--bg-sand);
    border-radius: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.catering-box h4 {
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--accent-sage);
}

.catering-box p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* =========================================================================
   Visit Section
   ========================================================================= */
.visit-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto 100px;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.visit-info h2 {
    font-size: 4rem;
    margin-bottom: 40px;
}

.info-block {
    margin-bottom: 40px;
}

.info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hours-table {
    width: 100%;
    max-width: 450px;
    font-size: 1.15rem;
    border-collapse: collapse;
}

.hours-table td {
    padding: 15px 0;
    border-bottom: 2px dashed #e6dac6;
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.hours-table td:nth-child(2) {
    text-align: right;
    font-weight: 700;
    color: var(--accent-terracotta);
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.feature-item .icon {
    font-size: 2rem;
    background: var(--white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--card-shadow);
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.contact-card {
    background: var(--bg-camel);
    padding: 50px;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.contact-card h3 {
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    color: var(--text-brown);
    margin-bottom: 30px;
}

.contact-details {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-details p {
    margin-bottom: 15px;
}

.contact-details a:hover {
    color: var(--accent-terracotta);
}

.map-placeholder {
    flex-grow: 1;
    background: var(--white);
    border-radius: 30px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}

.map-inner {
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(circle, var(--accent-sage) 2px, transparent 2px),
      radial-gradient(circle, var(--accent-sage) 2px, transparent 2px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
}

.map-placeholder span {
    background: var(--text-brown);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.map-pin {
    font-size: 3rem;
    position: absolute;
    z-index: 2;
    top: 30%;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
    background-color: var(--bg-camel);
    position: relative;
    margin-top: 150px;
}

.footer-wave {
    position: absolute;
    top: -115px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    text-align: center;
}

.newsletter {
    max-width: 600px;
    margin: 0 auto 80px;
}

.newsletter h3 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 1.15rem;
    margin-bottom: 35px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.newsletter-form input {
    padding: 18px 30px;
    border-radius: 50px;
    border: none;
    width: 65%;
    font-family: inherit;
    font-size: 1.1rem;
    outline: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.newsletter-form button {
    background-color: var(--accent-terracotta);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(204, 108, 85, 0.3);
}

.newsletter-form button:hover {
    background-color: var(--accent-terracotta-hover);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 2px dashed rgba(62, 39, 35, 0.15);
}

.footer-logo {
    font-size: 2.2rem;
}

.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 16px;
    background: rgba(255,255,255,0.4);
    border-radius: 20px;
}

.social-links a:hover {
    background: var(--white);
    color: var(--accent-terracotta);
    transform: translateY(-2px);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
    .menu-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 { font-size: 3.5rem; }
    .hero h1 .highlight { font-size: 4.5rem; }
    .craft-section { padding: 60px 20px; }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 150px;
        text-align: center;
    }
    .hero-content {
        margin-bottom: 60px;
    }
    .hero-image-container {
        margin-left: 0;
        margin-bottom: 50px;
    }
    .craft-grid, .visit-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .craft-text {
        text-align: center;
    }
    .main-craft-img {
        height: 400px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-card {
        min-height: auto;
    }
    .map-placeholder {
        min-height: 200px;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero h1 .highlight {
        font-size: 3.5rem;
    }
    .products-grid, .menu-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 25px;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form input, .newsletter-form button {
        width: 100%;
    }
}
