/* Itachi Teppanyaki & Ramen — stylesheet */

:root {
  --ink: #1c1512;
  --ink-soft: #4a3f3a;
  --cream: #faf5ec;
  --cream-dim: #f0e6d6;
  --paper: #ffffff;
  --line: #e7dbc7;
  --gold: #c99a3f;
  --red: #e0432b;
  --red-dark: #b8331d;
  --shadow: 0 20px 45px -20px rgba(28, 21, 18, 0.35);
  --radius: 16px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(224, 67, 43, 0.65);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(224, 67, 43, 0.75);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #000; }

/* Topbar */
.topbar {
  background: var(--ink);
  color: #f4ead9;
  font-size: 0.85rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
}
.topbar a { color: #f4ead9; font-weight: 600; }
.topbar .stars { color: var(--gold); letter-spacing: 1px; margin-right: 6px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 245, 236, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 1.1rem;
}
.brand .accent { color: var(--red); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:not(.btn) { color: var(--ink-soft); }
.nav-links a:not(.btn):hover { color: var(--red); }
.nav-links .btn { padding: 11px 24px; font-size: 0.9rem; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(20, 14, 10, 0.72) 0%, rgba(20, 14, 10, 0.55) 45%, rgba(20, 14, 10, 0.88) 100%),
    url("../images/photo-04.jpg") center 30% / cover no-repeat;
  padding: 120px 0 90px;
}
.hero-inner { max-width: 720px; }
.hero .eyebrow {
  color: #f4c98d;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  color: #fff;
  margin-bottom: 20px;
}
.hero .tagline {
  font-size: 1.08rem;
  color: #eee3d5;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 34px;
}
.hero-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.hero-actions .btn-outline:hover { background: #fff; color: var(--ink); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.92rem;
  color: #e9dfd0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 20px;
}
.hero-meta span { min-width: 0; }
.hero-meta strong { color: #fff; }

/* Section heading */
.eyebrow {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.section-heading { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
main section { padding: 84px 0; }
main section:nth-of-type(even) { background: var(--paper); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-stats {
  display: grid;
  gap: 16px;
  align-content: start;
}
.stat-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
}
.stat-card .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  color: #f4c98d;
}
.stat-card .label {
  font-size: 0.85rem;
  color: #d9cbb8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Menu */
.menu-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.menu-group {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.menu-group h3 {
  font-size: 1.15rem;
  color: var(--red);
}
.group-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.menu-item {
  padding: 14px 0;
  border-top: 1px dashed var(--line);
}
.menu-item:first-of-type { border-top: none; padding-top: 0; }
.menu-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.menu-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}
.menu-note {
  text-align: center;
  margin: 32px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.menu-note a { color: var(--red); font-weight: 700; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid a {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid a:hover img { transform: scale(1.06); }

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.review-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.review-card p:not(.stars) { font-size: 0.95rem; color: var(--ink-soft); }
.review-card cite { font-weight: 700; font-style: normal; color: var(--ink); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}
.contact-line strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
}
.contact-line a { font-size: 1.05rem; font-weight: 600; }
.hours-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.hours-list li.closed span:last-child { color: var(--red); font-weight: 600; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

/* Footer */
footer {
  background: var(--ink);
  color: #e9dfd0;
  padding: 40px 0;
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
footer p { margin: 0 0 4px; font-size: 0.9rem; }
footer a { color: #f4c98d; }

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 10, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
}
.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.modal-top h2 { margin: 0; font-size: 1.3rem; }
.modal-close {
  background: var(--cream-dim);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.modal-close:hover { background: var(--line); }
.modal-card p { color: var(--ink-soft); }
.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.modal-actions .btn { padding: 12px 20px; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .menu-groups { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .topbar .wrap { flex-direction: column; gap: 4px; padding: 10px 24px; text-align: center; }
  .nav-links { display: none; }
  .nav .wrap { height: 64px; }
  .hero { padding: 90px 0 70px; }
  main section { padding: 60px 0; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-cta { display: inline-flex; }
  footer .wrap { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
