/* ============================================================
   Ember & Oak Kitchen — Restaurant Demo Stylesheet
   OC Tech Co. Industry Demo | Standalone / Self-Contained
   ============================================================ */

/* ----------------------------------------------------------
   Google Fonts Import
   ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

/* ----------------------------------------------------------
   CSS Custom Properties
   ---------------------------------------------------------- */
:root {
  --bg:           #1a1a1a;
  --bg-card:      #242424;
  --accent:       #e85d04;
  --accent-hover: #ff6a10;
  --text:         #f5f5f5;
  --text-sec:     #a3a3a3;
  --text-ter:     #737373;
  --border:       rgba(255, 255, 255, 0.08);
  --shadow:       0 4px 24px rgba(0, 0, 0, 0.5);
  --radius:       10px;
  --transition:   0.25s ease;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', 'Helvetica Neue', Arial, sans-serif;
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* ----------------------------------------------------------
   Demo Banner (OC Tech Co. sticky strip)
   ---------------------------------------------------------- */
.demo-banner {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 2rem;
  font-size: 0.8rem;
  font-family: var(--font-sans);
}

.demo-banner p {
  line-height: 1;
}

.demo-banner strong {
  font-weight: 700;
}

.demo-banner a {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: border-color var(--transition);
  white-space: nowrap;
}

.demo-banner a:hover {
  border-color: #fff;
}

/* ----------------------------------------------------------
   Navigation
   ---------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 33px; /* sits below demo-banner */
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

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

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

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sec);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-reserve {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  transition: background var(--transition) !important;
}

.nav-reserve:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    #0e0e0e 0%,
    #1a1208 40%,
    #1a1a1a 100%
  );
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(232, 93, 4, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(232, 93, 4, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2rem;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(232, 93, 4, 0.4);
  border-radius: 100px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-sec);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-ter);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(6px); }
}

/* ----------------------------------------------------------
   Section Shared Styles
   ---------------------------------------------------------- */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-sec);
  max-width: 560px;
  line-height: 1.65;
}

.section-header {
  margin-bottom: 3.5rem;
}

/* ----------------------------------------------------------
   Divider
   ---------------------------------------------------------- */
.divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

/* ----------------------------------------------------------
   Menu Section
   ---------------------------------------------------------- */
.menu-section {
  background: #111;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.dish-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 93, 4, 0.25);
}

.dish-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.dish-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.dish-desc {
  font-size: 0.88rem;
  color: var(--text-sec);
  line-height: 1.6;
  flex: 1;
}

.dish-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

.dish-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.dish-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-ter);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
}

/* ----------------------------------------------------------
   About Section
   ---------------------------------------------------------- */
.about-section {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-box {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #2a1a0a 0%, #1a1a1a 60%, #0e0e0e 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.about-image-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 40%, rgba(232, 93, 4, 0.15) 0%, transparent 65%);
}

.about-flame-icon {
  font-size: 5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 24px rgba(232, 93, 4, 0.6));
  animation: flicker 3s ease-in-out infinite;
}

@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(-2deg); opacity: 0.9; }
  25%       { transform: scale(1.04) rotate(1deg); opacity: 1; }
  50%       { transform: scale(0.98) rotate(-1deg); opacity: 0.85; }
  75%       { transform: scale(1.02) rotate(2deg); opacity: 1; }
}

.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-serif);
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.4);
}

.about-badge .badge-num {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge .badge-label {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  line-height: 1.3;
}

.about-text p {
  color: var(--text-sec);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.about-highlights {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.highlight-num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.highlight-label {
  font-size: 0.78rem;
  color: var(--text-ter);
  letter-spacing: 0.05em;
}

/* ----------------------------------------------------------
   Testimonials Section
   ---------------------------------------------------------- */
.testimonials-section {
  background: #111;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.stars {
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8b2a00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.author-detail {
  font-size: 0.78rem;
  color: var(--text-ter);
}

/* ----------------------------------------------------------
   Contact / Hours Section
   ---------------------------------------------------------- */
.contact-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.contact-block h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.contact-block p,
.contact-block address {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--text-sec);
  line-height: 1.75;
}

.contact-block a {
  color: var(--accent);
  transition: color var(--transition);
}

.contact-block a:hover {
  color: var(--accent-hover);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr td {
  padding: 0.3rem 0;
  font-size: 0.88rem;
  color: var(--text-sec);
  vertical-align: top;
}

.hours-table tr td:first-child {
  font-weight: 700;
  color: var(--text);
  padding-right: 1.25rem;
  white-space: nowrap;
}

.hours-closed {
  color: var(--text-ter) !important;
}

.contact-cta {
  padding-top: 0.75rem;
}

.contact-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
  background: #0e0e0e;
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-ter);
  text-align: center;
  flex: 1;
}

.footer-credit {
  font-size: 0.8rem;
  color: var(--text-ter);
  text-align: right;
}

.footer-credit a {
  color: var(--accent);
  font-weight: 700;
  transition: color var(--transition);
}

.footer-credit a:hover {
  color: var(--accent-hover);
}

/* ----------------------------------------------------------
   Animations / Entrance
   ---------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}

.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.35s; }
.fade-up-delay-4 { animation-delay: 0.5s; }

/* ----------------------------------------------------------
   Responsive — Tablet
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ----------------------------------------------------------
   Responsive — Mobile
   ---------------------------------------------------------- */
@media (max-width: 640px) {
  .demo-banner {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }

  .site-nav {
    top: 29px;
    padding: 0.85rem 1.25rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    border-top: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  .nav-reserve {
    margin: 0.5rem 1.5rem 0;
    text-align: center;
    border-radius: var(--radius);
    padding: 0.65rem 1rem !important;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 4rem 1.25rem;
  }

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

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

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-credit {
    text-align: center;
  }

  .about-highlights {
    gap: 1.5rem;
  }
}

@media (max-width: 400px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
