/* ====================================================
   Omelet Factory – Pembroke, MA
   Palette: Warm Cream · Burnt Amber · Espresso Dark
   Fonts: Lora (headings) + Nunito (body)
   ==================================================== */

:root {
  --amber:    #C4692A;
  --amber-lt: #E8924D;
  --espresso: #1C1108;
  --dark:     #2A1A0E;
  --cream:    #FAF7F2;
  --warm-bg:  #F5EDE0;
  --mid:      #7A4E2D;
  --text:     #3A2510;
  --text-lt:  #6B4C35;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Lora', serif;
}

.section-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-lt);
  margin-bottom: 0;
}

/* ── Navbar ── */
#mainNav {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

#mainNav.scrolled {
  background: var(--espresso);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-icon { font-size: 1.3rem; }

.brand-text {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem !important;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--amber-lt) !important; }

.btn-order {
  background: var(--amber);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 0.45rem 1.2rem;
  transition: background 0.2s, transform 0.2s;
  border: none;
}

.btn-order:hover {
  background: var(--amber-lt);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  #mainNav {
    background: rgba(28,17,8,0.97) !important;
  }
  #navbarNav {
    padding: 1rem 0 0.5rem;
  }
  .nav-link { padding: 0.5rem 0 !important; }
  .btn-order { margin-top: 0.75rem; }
}

/* ── Hero ── */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('img/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2.5rem 2rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 4px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-lt);
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-family: 'Lora', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

.btn-hero-primary {
  background: var(--amber);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  border: none;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-hero-primary:hover {
  background: var(--amber-lt);
  color: #fff;
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  border: 2px solid rgba(255,255,255,0.7);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
  color: #fff;
  transform: translateY(-2px);
}

/* ── About ── */
.about-section {
  padding: 7rem 0;
  background: var(--cream);
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1rem;
}

.about-body {
  color: var(--text-lt);
  margin-bottom: 2rem;
}

.about-stats {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(196,105,42,0.2);
}

.stat-num {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-lt);
  font-weight: 600;
  margin-top: 0.25rem;
}

.about-dishes { }

.dish-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(28,17,8,0.12);
}

.dish-card--wide .dish-img { height: 220px; }
.dish-card .dish-img { height: 160px; }

.dish-img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.dish-card:hover .dish-img { transform: scale(1.04); }

.dish-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(28,17,8,0.75) 0%, transparent 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.5rem 0.75rem 0.6rem;
}

/* ── Menu ── */
.menu-section {
  padding: 7rem 0;
  background: var(--warm-bg);
}

.menu-tabs {
  border-bottom: 2px solid rgba(196,105,42,0.2);
  gap: 0.25rem;
  flex-wrap: wrap;
}

.menu-tabs .nav-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-lt) !important;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.6rem 1.1rem;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.menu-tabs .nav-link:hover {
  color: var(--amber) !important;
}

.menu-tabs .nav-link.active {
  color: var(--amber) !important;
  border-bottom-color: var(--amber);
  background: transparent;
}

.menu-tab-content {
  background: #fff;
  border-radius: 0 0 12px 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(28,17,8,0.06);
}

.menu-intro {
  font-style: italic;
  color: var(--text-lt);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.menu-item {
  padding: 0.55rem 0.75rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  transition: background 0.15s;
}

.menu-item:hover { background: var(--warm-bg); }

.mi-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

.menu-item.mi-specialty { border-left: 3px solid var(--amber); padding-left: 0.85rem; }
.menu-item.mi-highlight { border: 2px solid var(--amber); background: rgba(196,105,42,0.06); border-radius: 6px; }

.menu-category-block {
  background: var(--cream);
  border-radius: 10px;
  padding: 1.5rem;
  height: 100%;
}

.menu-cat-title {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(196,105,42,0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-cat-title .bi {
  color: var(--amber);
  font-size: 1rem;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--amber);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 0.8rem 2.2rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(196,105,42,0.3);
}

.btn-primary-cta:hover {
  background: var(--amber-lt);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,105,42,0.4);
}

/* ── Gallery ── */
.gallery-section {
  padding: 7rem 0;
  background: var(--espresso);
}

.gallery-section .section-label { color: var(--amber-lt); }
.gallery-section .section-heading { color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 4px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(196,105,42,0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 160px);
  }
}

/* ── Reviews ── */
.reviews-section {
  padding: 7rem 0;
  background: var(--cream);
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(28,17,8,0.07);
  border-top: 3px solid var(--amber);
  transition: transform 0.25s, box-shadow 0.25s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(28,17,8,0.12);
}

.review-stars {
  color: var(--amber);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  gap: 2px;
  display: flex;
}

.review-text {
  font-size: 0.97rem;
  color: var(--text-lt);
  font-style: italic;
  line-height: 1.7;
  flex: 1;
}

.review-author {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
  margin-top: 1.25rem;
}

/* ── Contact ── */
.contact-section {
  padding: 7rem 0;
  background: var(--warm-bg);
}

.contact-info-block {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--amber);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 0.97rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

.contact-value a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-value a:hover { color: var(--amber); }

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(28,17,8,0.14);
}

.map-wrapper iframe { display: block; }

/* ── Footer ── */
.site-footer {
  background: var(--espresso);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-brand {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--amber-lt); }

.footer-contact {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.6;
}

.footer-contact a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.footer-divider {
  border-color: rgba(255,255,255,0.08);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom { }

.copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.powered-by {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.powered-by:hover { color: var(--amber-lt); }
.powered-by strong { color: rgba(255,255,255,0.65); }

/* ── Responsive ── */
@media (max-width: 767px) {
  .about-section { padding: 5rem 0; }
  .menu-section   { padding: 5rem 0; }
  .gallery-section { padding: 5rem 0; }
  .reviews-section { padding: 5rem 0; }
  .contact-section { padding: 5rem 0; }

  .menu-tab-content { padding: 1.5rem 1rem; }
  .menu-tabs .nav-link { font-size: 0.74rem; padding: 0.5rem 0.7rem; }

  .hero-content { padding: 1.75rem 1.25rem; }
  .hero-title { font-size: 2.4rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
}
