/* ============================================
   Flash Ramen — Shared Styles
   Colors: #e63946 (hot red), #1d1d1d (dark), #faf5f0 (off-white)
   Fonts:  Bebas Neue (headings), Nunito Sans (body)
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #e63946;
  --dark: #1d1d1d;
  --off-white: #faf5f0;
  --red-dark: #c62e3a;
  --gray: #6b6b6b;
  --light-gray: #e0dcd8;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--dark);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--dark);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--off-white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar__logo span {
  color: var(--red);
}

.navbar__links {
  display: flex;
  gap: 2rem;
}

.navbar__links a {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--off-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--red);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--off-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: calc(var(--nav-height) + 1rem) 0 0.5rem;
  font-size: 0.85rem;
  color: var(--gray);
}

.breadcrumbs a {
  color: var(--red);
  transition: opacity 0.2s ease;
}

.breadcrumbs a:hover {
  opacity: 0.7;
}

.breadcrumbs span {
  margin: 0 0.4rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark);
  color: var(--off-white);
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(29, 29, 29, 0.85));
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
}

.hero__content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 1rem;
}

.hero__content h1 span {
  color: var(--red);
}

.hero__content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn--outline {
  background: transparent;
  color: var(--off-white);
  border-color: var(--off-white);
}

.btn--outline:hover {
  background: var(--off-white);
  color: var(--dark);
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn--outline-dark:hover {
  background: var(--dark);
  color: var(--off-white);
}

/* ---------- Section ---------- */
.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--dark);
  color: var(--off-white);
}

.section--red {
  background: var(--red);
  color: var(--off-white);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.section__header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section--dark .section__header p {
  color: var(--light-gray);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--light-gray);
}

.card__body {
  padding: 1.5rem;
}

.card__body h3 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.card__body .price {
  color: var(--red);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card__body p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* ---------- About / Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.feature-item {
  padding: 2rem 1rem;
}

.feature-item .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: var(--light-gray);
  aspect-ratio: 4/3;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--off-white);
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--gray);
}

.contact-info a {
  color: var(--red);
  transition: opacity 0.2s ease;
}

.contact-info a:hover {
  opacity: 0.7;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  background: #fff;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

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

.map-embed {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
  margin-top: 1.5rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: var(--off-white);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__col h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--red);
}

.footer__col p,
.footer__col a {
  font-size: 0.9rem;
  color: var(--light-gray);
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--red);
}

.footer__bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Fade-in animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  background: var(--dark);
  color: var(--off-white);
  padding: 2rem 0;
  margin-top: var(--nav-height);
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-banner p {
  color: var(--light-gray);
  margin-top: 0.5rem;
}

/* ---------- Menu Category ---------- */
.menu-category {
  margin-bottom: 3rem;
}

.menu-category h3 {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

/* ---------- Testimonial ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: var(--off-white);
  color: var(--dark);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--red);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 0.8rem;
}

.testimonial .author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray);
}

/* ---------- CTA Strip ---------- */
.cta-strip {
  text-align: center;
  padding: 4rem 0;
}

.cta-strip h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.cta-strip p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .navbar__links {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    width: 260px;
    height: calc(100vh - var(--nav-height));
    background: var(--dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .navbar__links.open {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 70vh;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
