/* styles.css - responsive restaurant landing page */
:root{
  --accent: #f97316;
  --dark: #1f2937;
  --muted: #6b7280;
  --bg: #fff7ed;
  --max-width: 1100px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color:var(--dark);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.site-header{
  padding:18px 20px;
  text-align:center;
  border-bottom:1px solid rgba(0,0,0,0.06);
  background:linear-gradient(90deg, rgba(255,250,240,1), rgba(255,245,238,1));
}
.brand h1{margin:0;font-size:1.6rem;color:var(--accent)}
.brand p{margin:4px 0 0;font-size:0.95rem;color:var(--muted)}

.hero{
  position:relative;
  width:100%;
  height:60vh;
  max-height:720px;
  min-height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.carousel{
  position:absolute;
  inset:0;
  display:block;
}
.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:0;
  transform:scale(1.02);
  transition:opacity 800ms ease, transform 800ms ease;
}
.slide.active{opacity:1; transform:scale(1)}

.center-cta{
  position:relative;
  z-index:10;
  text-align:center;
  background:linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.7));
  padding:28px 30px;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(15,23,42,0.08);
  width:90%;
  max-width:520px;
  margin:auto;
}

.center-cta h2{margin:0 0 8px;font-size:1.8rem; color:var(--dark)}
.center-cta p{margin:0 0 18px;color:var(--muted)}

.btn-order{
  display:inline-block;
  text-decoration:none;
  padding:12px 26px;
  border-radius:999px;
  background:var(--accent);
  color:white;
  font-weight:600;
  box-shadow:0 8px 18px rgba(249,115,22,0.25);
}

/* menu preview */
.menu-preview{
  max-width:var(--max-width);
  margin:28px auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  padding:0 18px 48px;
}
.card{
  background:white;
  border-radius:12px;
  padding:12px;
  text-align:center;
  box-shadow:0 6px 18px rgba(15,23,42,0.06);
}
.card img{width:100%; height:160px; object-fit:cover; border-radius:8px}
.card h3{margin:12px 0 6px}
.card p{margin:0;color:var(--muted);font-size:0.95rem}

/* footer */
.site-footer{padding:18px;text-align:center;color:var(--muted);font-size:0.9rem;border-top:1px solid rgba(0,0,0,0.04)}

/* Responsive */
@media (max-width:980px){
  .menu-preview{grid-template-columns:repeat(2,1fr)}
  .hero{height:56vh; min-height:360px}
}
@media (max-width:520px){
  .menu-preview{grid-template-columns:1fr}
  .center-cta{padding:18px;border-radius:10px}
  .center-cta h2{font-size:1.3rem}
  .hero{height:50vh; min-height:300px}
}
