/* style.css - shared styles for all pages */

/* Reset-ish */
* {box-sizing: border-box; margin: 0; padding: 0;}
html,body {height: 100%; font-family: "Segoe UI", Roboto, Arial, sans-serif; scroll-behavior: smooth;}

/* Color variables */
:root{
  --dark: #6B3B00;
  --cream: #F3E9DE;
  --olive: #2F4F2F;
  --accent: #D9C4A6;
  --white: #FFFFFF;
  --max-width: 1100px;
}

/* Page layout */
body {
  background: linear-gradient(180deg, var(--cream) 0%, #FFF 100%);
  color: var(--dark);
  line-height: 1.45;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 60px; /* space for footer on small screens */
}

/* Container */
.container {max-width: var(--max-width); margin: 0 auto; padding: 40px 24px;}

/* Header */
.header {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
  display:flex; align-items:center; justify-content:space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Logo */
.logo {display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--dark);}
.logo img {height:100px; width:auto; display:block; border-radius:6px;}
.logo h1 {font-size:1.15rem; letter-spacing:0.6px; margin:0; font-weight:700;}

/* Navigation - desktop */
.nav {
  display:flex; gap:18px; align-items:center;
}
.nav a {
  text-decoration:none; color:var(--dark); padding:6px 8px; border-radius:6px; font-weight:600;
}
.nav a:hover {background: var(--accent); color: var(--dark);}

/* Social icons */
.socials {display:flex; gap:8px; align-items:center;}
.icon-btn {
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:8px; background:transparent;
  border:1px solid rgba(0,0,0,0.08); text-decoration:none; color:var(--dark);
}
.icon-btn svg {width:18px; height:18px;}

/* Hamburger (mobile) */
.hamburger {
  display:none; background:transparent; border:0; width:44px; height:44px; align-items:center; justify-content:center;
}
.hamburger .bar {width:22px; height:2px; background:var(--dark); margin:3px 0; transition:0.2s;}

/* Mobile nav overlay */
.mobile-nav {
  display:none;
  position:fixed; inset:0; background: rgba(0,0,0,0.5);
  z-index:60; padding:80px 20px 20px;
}
.mobile-nav .panel {
  background:var(--white); border-radius:10px; padding:20px; max-width:420px; margin:0 auto;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
}
.mobile-nav a {display:block; padding:10px 0; border-bottom:1px solid #f0f0f0; color:var(--dark); text-decoration:none; font-weight:700;}

/* Hero */
.hero {
  display:flex; gap:20px; align-items:center; justify-content:space-between;
  padding:40px 0;
}
.hero-left {flex:1;}
.hero img {max-width: 520px; width:100%; border-radius:12px; box-shadow:0 8px 30px rgba(0,0,0,0.12);}

/* Cards / Menu sections */
.section {scroll-margin-top: 140px; padding: 40px 0;}
.section:first-of-type {padding-top: 20px;}
.section:last-of-type {padding-bottom: 60px;}
.section h2 {margin-bottom:14px; color:var(--olive); font-size:1.5rem;}
.menu-grid {display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.menu-item {background: var(--white); padding:12px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,0.06);}
.menu-item h3 {margin-bottom:6px; font-size:1.05rem; color:var(--dark);}
.price {font-weight:800; color:var(--olive);}

/* Gallery grid */
.gallery-grid {display:grid; grid-template-columns:repeat(3,1fr); gap:8px;}
.gallery-grid img {width:100%; height:160px; object-fit:cover; border-radius:8px; cursor:pointer;}

/* Contact form */
.contact-form {max-width:700px; background:var(--white); padding:18px; border-radius:10px; box-shadow:0 6px 20px rgba(0,0,0,0.06);}
.form-row {display:flex; gap:10px; margin-bottom:10px;}
.form-row .col {flex:1;}
input, textarea {
  width:100%; padding:10px; border-radius:8px; border:1px solid #e6e6e6; font-size:0.95rem;
}
button.cta {
  background:var(--olive); color:var(--white); border:0; padding:10px 14px; border-radius:8px; cursor:pointer; font-weight:700;
}

/* Footer */
.footer {
  background:var(--dark); color:var(--white); padding:28px 20px; margin-top:40px;
}
.footer-inner {max-width:var(--max-width); margin:0 auto; display:flex; gap:20px; justify-content:space-between; flex-wrap:wrap;}
.footer .col {min-width:200px;}
.footer a {color:var(--white); text-decoration:none;}
.secondary-nav {display:flex; gap:12px; margin-bottom:8px; flex-wrap:wrap;}
.footer small {display:block; margin-top:8px; opacity:0.9;}

/* Downloadable menu button */
.download-btn {background:var(--accent); color:var(--dark); padding:8px 10px; border-radius:8px; text-decoration:none; font-weight:700;}

/* Utility */
.flex {display:flex; gap:12px; align-items:center;}
.center {text-align:center;}

/* Modal for gallery */
.modal {display:none; position:fixed; inset:0; background:rgba(0,0,0,0.8); z-index:70; align-items:center; justify-content:center;}
.modal img {max-width:90%; max-height:80vh; border-radius:8px;}

/* Responsiveness */
@media (max-width:900px) {
  .menu-grid {grid-template-columns:1fr;}
  .gallery-grid {grid-template-columns:repeat(2,1fr);}
  .hero {flex-direction:column-reverse;}
  .hero img {max-width:100%;}
}
@media (max-width:700px) {
  .container {padding: 24px 16px;}
  .nav {display:none;}
  .hamburger {display:flex;}
  .gallery-grid img {height:120px;}
  .mobile-nav {display:none;} /* JS toggles display */
  .footer-inner {flex-direction:column;}
}

/* Submenu bar for categories */
.submenu {
  display: flex;
  justify-content: center;
  gap: 16px;
  background: var(--accent);
  padding: 10px 0;
  position: sticky;
  top: 70px; /* sits below the main header */
  z-index: 40;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.submenu a {
  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
}

.submenu a:hover {
  background: var(--olive);
  color: var(--white);
}

/* Smaller spacing on mobile */
@media (max-width: 700px) {
  .submenu {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
  }
}