/* ============================================
   Oak & Smoke - Global Styles
   Color Palette: #4a2c0a (dark wood) / #d4762c (flame orange)
   Fonts: Alfa Slab One + Saira
   ============================================ */

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

:root {
  --color-dark-wood: #4a2c0a;
  --color-flame: #d4762c;
  --color-flame-light: #e89a5a;
  --color-cream: #faf6f0;
  --color-charcoal: #1a1a1a;
  --color-smoke: #2d2d2d;
  --color-ash: #8a8279;
  --color-gold: #c9a84c;
  --color-white: #ffffff;
  --color-overlay: rgba(26, 26, 26, 0.7);
  --font-display: 'Alfa Slab One', serif;
  --font-body: 'Saira', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --transition-fast: 0.2s ease;
  --transition-med: 0.4s ease;
  --transition-slow: 0.6s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-dark-wood);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-ash);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--color-flame);
  margin: 1rem auto;
  border-radius: 2px;
}

/* --- Fade-In Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-med), box-shadow var(--transition-med);
  height: var(--nav-height);
}

.navbar.scrolled {
  background: var(--color-dark-wood);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

.nav-logo span {
  color: var(--color-flame);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-flame);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-flame);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 0.75rem 0;
  margin-top: var(--nav-height);
  background: var(--color-dark-wood);
}

.breadcrumbs ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--color-flame-light);
}

.breadcrumbs a:hover {
  color: var(--color-flame);
  text-decoration: underline;
}

.breadcrumbs .separator {
  color: var(--color-ash);
}

.breadcrumbs .current {
  color: var(--color-cream);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.5) 0%,
    rgba(74, 44, 10, 0.7) 100%
  );
}

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

.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.4);
}

.hero-content h1 span {
  color: var(--color-flame);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-badge {
  display: inline-block;
  background: var(--color-flame);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.9rem 2.2rem;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--color-flame);
}

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

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

.btn-dark {
  background: var(--color-dark-wood);
  color: var(--color-white);
  border-color: var(--color-dark-wood);
}

.btn-dark:hover {
  background: transparent;
  color: var(--color-dark-wood);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero .hero-bg::after {
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.6) 0%,
    rgba(74, 44, 10, 0.8) 100%
  );
}

.page-hero .hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p {
  color: var(--color-ash);
  font-size: 0.95rem;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-med);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(74, 44, 10, 0);
  transition: background var(--transition-med);
}

.gallery-item:hover::after {
  background: rgba(74, 44, 10, 0.3);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  color: var(--color-white);
  font-weight: 600;
  z-index: 1;
  transform: translateY(100%);
  transition: transform var(--transition-med);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

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

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2001;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 1rem;
  z-index: 2001;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* --- Footer --- */
.footer {
  background: var(--color-dark-wood);
  color: var(--color-cream);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-brand h3 span {
  color: var(--color-flame);
}

.footer-brand p {
  color: var(--color-ash);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--color-flame);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.footer-links a {
  display: block;
  color: var(--color-ash);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

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

.footer-contact p {
  color: var(--color-ash);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--color-flame-light);
}

.footer-contact a:hover {
  color: var(--color-flame);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-ash);
  border-radius: 50%;
  color: var(--color-ash);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-flame);
  border-color: var(--color-flame);
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--color-ash);
  font-size: 0.8rem;
}

/* --- About Page --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-intro img {
  border-radius: 4px;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--color-smoke);
}

.chef-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.chef-card {
  text-align: center;
}

.chef-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.chef-card h3 {
  margin-bottom: 0.25rem;
}

.chef-card .role {
  color: var(--color-flame);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.chef-card p {
  color: var(--color-ash);
  font-size: 0.9rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

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

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

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

/* --- Menu Page --- */
.menu-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.menu-nav-btn {
  background: transparent;
  border: 2px solid var(--color-dark-wood);
  color: var(--color-dark-wood);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.menu-nav-btn:hover,
.menu-nav-btn.active {
  background: var(--color-dark-wood);
  color: var(--color-white);
}

.menu-category {
  margin-bottom: 3rem;
}

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

.menu-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  background: var(--color-white);
  border-radius: 4px;
  border-left: 3px solid var(--color-flame);
}

.menu-item-info h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark-wood);
  margin-bottom: 0.25rem;
}

.menu-item-info p {
  color: var(--color-ash);
  font-size: 0.85rem;
}

.menu-item-price {
  font-family: var(--font-display);
  color: var(--color-flame);
  font-size: 1.1rem;
  white-space: nowrap;
  margin-left: 1rem;
}

.menu-pdf-link {
  text-align: center;
  margin-top: 2rem;
}

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

.contact-info-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.contact-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--color-ash);
}

.contact-info-card a {
  color: var(--color-flame);
  font-weight: 600;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

.contact-map {
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.social-links-large {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-links-large a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-dark-wood);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--color-dark-wood);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.social-links-large a:hover {
  background: var(--color-dark-wood);
  color: var(--color-white);
}

/* --- Highlight Band --- */
.highlight-band {
  background: var(--color-dark-wood);
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
}

.highlight-band h2 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.highlight-band p {
  color: var(--color-ash);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.highlight-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-flame);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-ash);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3,
  .features-grid,
  .chef-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-dark-wood);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    transition: right var(--transition-med);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

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

  .about-intro img {
    height: 350px;
  }

  .grid-2,
  .menu-items {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .features-grid,
  .chef-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .highlight-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-links-large {
    flex-direction: column;
  }

  .hero {
    min-height: 85vh;
  }

  .page-hero {
    height: 40vh;
  }

  .menu-nav {
    gap: 0.5rem;
  }

  .menu-nav-btn {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
}

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

  .section {
    padding: 3rem 0;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}
