@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --color-primary: #C05B28; /* Burnt Orange for buttons */
    --color-primary-hover: #A5491C;
    --color-text-main: #3E2723;
    --color-text-light: #F5E2D3;
    --color-bg-cream: #FDFBF7;
    --color-bg-white: #FFFFFF;
    --color-footer-bg: #1A120F;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-script: 'Dancing Script', cursive;
    
    --shadow-soft: 0 10px 30px rgba(62, 39, 35, 0.08);
    --shadow-header: 0 4px 20px rgba(0,0,0,0.3);
    
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg-cream);
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

img {
    max-width: 100%;
    display: block;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
}

.script-font {
    font-family: var(--font-script);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(192, 91, 40, 0.3);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.site-header.scrolled {
    background: rgba(30, 20, 15, 0.95);
    padding: 10px 0;
    box-shadow: var(--shadow-header);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.main-nav a {
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--color-primary);
}
.main-nav a.active{
    position: relative;
}
.main-nav a.active::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:-8px;
    height:2px;
    background: var(--color-primary);
    border-radius:2px;
}

.header-cta {
    font-size: 0.85rem;
    padding: 10px 24px;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-image: url('../images/hero-bg-wood-latte-beans.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(46, 29, 24, 0.65), rgba(46, 29, 24, 0.45));
    z-index: 1;
}

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

.hero-logo-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
    color: rgba(255,255,255,0.9);
}

.hero-logo-text {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    color: rgba(255,255,255,0.95);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--color-bg-cream);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
    position: relative;
    display: inline-block;
}

.about p {
    font-size: 1.15rem;
    color: #5D4037;
    line-height: 1.8;
}

/* Featured Menu */
.featured {
    padding: 100px 0;
    background-color: #f5f0eb; /* Slightly darker than cream */
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.menu-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}

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

.menu-card .thumb{
    width:100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 16px;
}
.menu-card .link{
    display:block;
    color:inherit;
}
.menu-card .link:hover .title{
    color: var(--color-primary);
}
.menu-card .title{
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.menu-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.menu-card p {
    color: #795548;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.price-tag {
    display: inline-block;
    background: #EFEBE9;
    color: var(--color-text-main);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Why Choose Us */
.why-us {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.95rem;
    color: #795548;
}

/* Footer */
.site-footer {
    background: linear-gradient(to right, #2C1E1A, #3E2723);
    color: #D7CCC8;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.social-links a {
    color: white;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    transition: background .2s, border-color .2s, color .2s;
}

.social-links a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(255,255,255,0.06);
}
.social-links a svg{width:18px;height:18px;display:block;fill:currentColor}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Demo toast popup */
.toast-container{
  position:fixed;bottom:24px;right:24px;z-index:2000;display:flex;flex-direction:column;gap:12px;
}
.toast{
  background:#2C1E1A;color:#F5E2D3;border:1px solid rgba(255,255,255,0.1);border-radius:8px;padding:14px 16px;min-width:280px;box-shadow:0 10px 25px rgba(0,0,0,0.35);opacity:0;transform:translateY(10px);transition:opacity .2s,transform .2s;
}
.toast .title{font-weight:700;margin-bottom:6px;color:#fff}
.toast.show{opacity:1;transform:translateY(0)}

/* Contact Page Specifics */
.page-header {
    height: 50vh;
    min-height: 400px;
    background-image: url('../images/hero-contact-beans-wood.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.page-header h1 {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 3.5rem;
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.map-placeholder {
    background: #EFEBE9;
    height: 100%;
    min-height: 300px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8D6E63;
    font-weight: bold;
}

/* Menu Page Specifics */
.menu-category {
    margin-bottom: 60px;
}

.menu-category h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--color-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    
    .menu-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #2C1E1A;
        padding-top: 80px;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    .main-nav.active { right: 0; }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .main-nav a { font-size: 1.2rem; }
    
    .header-cta { display: none; }
    
    .contact-grid { grid-template-columns: 1fr; }
}
