/* ===== CSS RESET (light touch) ===== */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 70vh; /* adjust for more/less height */
  background: url("https://images.unsplash.com/photo-1524985069026-dd778a71c7b4?q=80&w=1600&auto=format&fit=crop")
    center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 38, 0.65); /* dark overlay for readability */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--text);
  max-width: 700px;
  padding: 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-btn {
  font-size: 1rem;
  padding: 0.8rem 1.2rem;
  background: var(--accent);
  border: none;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
}

.hero-btn:hover {
  background: #5678ff;
}

/* ===== THEME ===== */
:root{
  --bg: #0f1226;
  --text: #eef2ff;
  --muted: #b9c0ff;
  --card: #15183a;
  --blue: #243cfe1a;   /* section tints */
  --green: #16a34a1a;
  --yellow:#f59e0b1a;
  --orange:#f973161a;

  --accent: #7c9dff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* ===== GLOBAL ===== */
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, #3942ff33, transparent 60%), var(--bg);
  line-height: 1.55;
}

.container{
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* ===== HEADER / NAV ===== */
.site-header{
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: linear-gradient(#0f1226cc, #0f1226cc);
  border-bottom: 1px solid #313665;
  z-index: 10;
}
.header-inner{
  display: grid;
  gap: .5rem;
  padding: 1rem 0;
}
.header-inner h1{ margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.tagline{ margin: 0; color: var(--muted); font-size: .95rem; }

.nav{
  list-style: none; padding: 0; margin: .25rem 0 0;
  display: flex; flex-wrap: wrap; gap: .75rem;
}
.nav a{
  display: inline-block;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: #1a1e43;
  color: var(--text);
  text-decoration: none;
  border: 1px solid #2a2f63;
}
.nav a:hover{ outline: 2px solid var(--accent); }

/* ===== SECTIONS ===== */
.section{ padding: 3rem 0; }
.section h2{ margin-top: 0; font-size: clamp(1.2rem, 3.2vw, 1.6rem); }
.section--blue   { background: var(--blue); }
.section--green  { background: var(--green); }
.section--yellow { background: var(--yellow); }
.section--orange { background: var(--orange); }

/* ===== MOVIES (cards) ===== */
.grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.card{
  background: var(--card);
  border: 1px solid #232656;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.card h3{ margin: 0 0 .25rem; }
.card .meta{ margin: 0 0 .5rem; color: var(--muted); font-size: .9rem; }

.card-img {
  width: 100%;
  height: 180px; /* keeps cards uniform */
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-bottom: 0.75rem;
  display: block;
}

/* ===== SNACKS (image + menu) ===== */
.snacks{
  display: grid;
  gap: 1rem;
}
.snack-hero{
  margin: 0;
  background: #101437;
  border: 1px solid #232656;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.snack-hero figcaption{
  padding: .5rem .75rem;
  color: var(--muted);
  border-top: 1px solid #232656;
  background: #0e1231;
  font-size: .9rem;
}

.menu{
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--card);
  border: 1px solid #232656;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.menu li{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: .75rem .9rem;
  border-top: 1px dashed #2a2f63;
}
.menu li:first-child{ border-top: none; }
.menu .price{ color: var(--muted); }

/* ===== SCHEDULE (table) ===== */
.table-wrap{
  background: var(--card);
  border: 1px solid #232656;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
table{
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
thead th{
  text-align: left;
  background: #1a1e43;
  color: var(--text);
}
th, td{ padding: .8rem 1rem; }
tbody tr:nth-child(even){ background: #12153a; }
tbody tr:hover{ outline: 2px solid var(--accent); outline-offset: -2px; }

/* ===== CONTACT (form) ===== */
.contact-form{
  display: grid;
  gap: .9rem;
  background: var(--card);
  border: 1px solid #232656;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.field{ display: grid; gap: .4rem; }
label{ font-weight: 600; }
input, textarea{
  background: #0f1335;
  color: var(--text);
  border: 1px solid #2a2f63;
  border-radius: 10px;
  padding: .7rem .8rem;
  font: inherit;
}
input:focus, textarea:focus{
  outline: 2px solid var(--accent);
  border-color: transparent;
}
.btn{
  cursor: pointer;
  border: 1px solid #2a2f63;
  background: #1f2552;
  color: var(--text);
  padding: .75rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}
.btn:hover{ background: #2a3180; }

/* ===== FOOTER ===== */
.site-footer{
  border-top: 1px solid #313665;
  padding: 2rem 0;
  color: var(--muted);
  text-align: center;
  font-size: .95rem;
}

/* ===== ACCESSIBILITY HELPERS ===== */
.sr-only{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px){
  .header-inner{
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .snacks{
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px){
  .grid{
    grid-template-columns: repeat(3, 1fr);
  }
}
