/* ============================================================
   YEMEX BAKEHOUSE — style.css
   ============================================================
   HOW TO EDIT:
   · Colors   → update CSS custom properties in :root
   · Fonts    → see fonts/README.txt for self-hosting instructions
   · Sections → each block is clearly labeled
   ============================================================ */

/* ── SELF-HOSTED FONTS (uncomment once files are in /fonts/) ──

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-300-italic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Josefin Sans';
  src: url('../fonts/josefin-sans-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Josefin Sans';
  src: url('../fonts/josefin-sans-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Josefin Sans';
  src: url('../fonts/josefin-sans-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
*/

/* ─────────────────────────────────────────────
   CSS CUSTOM PROPERTIES (design tokens)
   ───────────────────────────────────────────── */
:root {
  /* Colors */
  --color-bg:        #492b2a;
  --color-surface:   rgba(22, 22, 18, 0.88); /* semi-transparent — lets the body gradient bleed through */
  --color-border:    rgba(255, 255, 255, 0.08);
  --color-text:      #f0ede6;
  --color-muted:     rgba(240, 237, 230, 0.55);
  --color-accent:    #c8a96e;   /* gold — swap to your brand color */
  --color-accent-dk: #9e7d46;
  --color-yemex-neutral: #ede6d9;
  --color-yemex-red: #77382f;
    --color-yemex-dark-red: #492b2a;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Palatino Linotype', Palatino,
                  'Book Antiqua', Georgia, serif;
  --font-body:    'Josefin Sans', 'Gill Sans', 'Gill Sans MT',
                  Calibri, 'Trebuchet MS', sans-serif;

  /* Layout */
  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1200px;
  --gutter:      clamp(24px, 5vw, 80px);
}

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

html { scroll-behavior: smooth; }

body {
  /*
   * PAGE-WIDE BACKGROUND GRADIENT
   * The signature warm amber radial glow that bleeds up from the bottom-center.
   *
   * Two layered radials:
   *   1. A wide, diffuse amber/gold bloom at the bottom-center (~40% warm glow)
   *   2. A tighter, slightly brighter core just above center-bottom for depth
   * Both fade fully to the dark background colour outside their radius.
   *
   * EDIT: tweak the colour stops or percentages to adjust warmth / spread.
   */
  background-color: var(--color-bg);
  background-image:
    radial-gradient(
      ellipse 120% 60% at 50% 100%,
      rgba(160, 100, 30, 0.28) 0%,
      rgba(140, 80, 20, 0.12) 40%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 70% 40% at 50% 105%,
      rgba(200, 130, 40, 0.18) 0%,
      rgba(180, 110, 30, 0.08) 45%,
      transparent 70%
    );
  background-attachment: fixed;   /* gradient stays put while page scrolls */

  color:        var(--color-text);
  font-family:  var(--font-body);
  font-weight:  300;
  font-size:    15px;
  line-height:  1.7;
  overflow-x:   hidden;
}

#welcome p,
#faqs p{
  font-size: 17px;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

.container {
  max-width:      var(--container);
  margin-inline:  auto;
  padding-inline: var(--gutter);
}

/* ─────────────────────────────────────────────
   SHARED HELPERS
   ───────────────────────────────────────────── */
.section-label {
  display:         block;
  font-size:       10px;
  letter-spacing:  0.3em;
  text-transform:  uppercase;
  color:           var(--color-accent);
  margin-bottom:   20px;
}

.section-title {
  font-family:   var(--font-display);
  font-size:     clamp(2.4rem, 5vw, 3.8rem);
  font-weight:   400;
  line-height:   1.1;
  margin-bottom: 32px;
}

.body-text {
  color:       var(--color-muted);
  line-height: 1.85;
  max-width:   520px;
}
.body-text + .body-text { margin-top: 16px; }

/* ─────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────── */
.btn {
  display:        inline-block;
  font-family:    var(--font-body);
  font-size:      11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding:        14px 34px;
  border:         1px solid var(--color-accent);
  color:          var(--color-accent);
  transition:     background 0.25s, color 0.25s;
  cursor:         pointer;
}
.btn:hover { background: var(--color-accent); color: var(--color-bg); }

.btn-solid {
  background: var(--color-accent);
  color:      var(--color-bg);
}
.btn-solid:hover {
  background:   var(--color-accent-dk);
  border-color: var(--color-accent-dk);
}

/* ─────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────── */
nav {
  position:        fixed;
  top: 0; left: 0; right: 0;
  z-index:         100;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         28px var(--gutter);
  background:      linear-gradient(to bottom, rgba(13,13,11,0.95) 0%, transparent 100%);
  backdrop-filter: blur(6px);
  transition:      background 0.4s;
}

.nav-logo {
  /* font-family:    var(--font-display);
  font-size:      1.6rem;
  font-weight:    500;
  letter-spacing: 0.12em; */
  color: var(--color-text);
  width: 3.5em;
  overflow: none;
  color: white;
  filter: invert(100%);
}

.hero-logo {
    color: var(--color-text);
  /* width: 3.5em; */
  overflow: none;
  color: white;
  filter: invert(100%);
  padding: 2em;
}

.footerLogo{
    color: var(--color-text);
  width: 3.5em;
  overflow: none;
  color: white;
  filter: invert(100%);
}

.nav-links {
  display:    flex;
  gap:        36px;
  list-style: none;
}

.nav-links a {
  font-size:      11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--color-muted);
  transition:     color 0.25s;
}
.nav-links a:hover { color: var(--color-accent); }

.nav-cta {
  font-size:      11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color:          var(--color-accent);
  border:         1px solid var(--color-accent);
  padding:        10px 22px;
  transition:     background 0.25s, color 0.25s;
}
.nav-cta:hover { background: var(--color-accent); color: var(--color-bg); }

.hamburger {
  display:    none;
  flex-direction: column;
  gap:        5px;
  cursor:     pointer;
  background: none;
  border:     none;
  padding:    4px;
}
.hamburger span {
  width:      26px;
  height:     1.5px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
#hero {
  position:   relative;
  height:     100vh;
  min-height: 640px;
  display:    grid;
  place-items: center;
  overflow:   hidden;
}

.hero-bg {
  position: absolute;
  inset:    0;
  overflow: hidden;
}
.hero-bg img {
  width:           100%;
  height:          100%;
  object-fit:      cover;
  object-position: center;
}
.hero-bg::after {
  content:    '';
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,11,0.40) 0%,
    rgba(13,13,11,0.55) 60%,
    rgba(13,13,11,0.95) 100%
  );
}

.hero-content {
  position:       relative;
  text-align:     center;
  z-index:        1;
  padding-inline: var(--gutter);
}

.hero-tagline {
  font-size:      15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color:          var(--color-display);
  margin-bottom:  20px;
}

.hero-title {
  font-family:   var(--font-display);
  font-size:     clamp(5rem, 14vw, 11rem);
  font-weight:   300;
  line-height:   0.9;
  letter-spacing: -0.01em;
  color:         var(--color-text);
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size:      13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color:          var(--color-display);
  margin-bottom:  48px;
}

.scroll-indicator {
  position:       absolute;
  bottom:         40px;
  left:           50%;
  transform:      translateX(-50%);
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            8px;
  color:          var(--color-muted);
  font-size:      10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation:      bounce 2s ease-in-out infinite;
}
.scroll-indicator::after {
  content:    '';
  width:      1px;
  height:     48px;
  background: var(--color-muted);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ─────────────────────────────────────────────
   TICKER / MARQUEE
   ───────────────────────────────────────────── */
.ticker {
  overflow:      hidden;
  white-space:   nowrap;
  border-top:    1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding:       18px 0;
  background:    var(--color-surface);
}
.ticker-track {
  display:   inline-block;
  animation: ticker 22s linear infinite;
}
.ticker-track span {
  font-size:      11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color:          var(--color-muted);
  padding:        0 48px;
}
.ticker-track span.sep {
  color:          var(--color-accent);
  padding:        0;
  letter-spacing: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────
   WELCOME
   ───────────────────────────────────────────── */
#welcome { padding: var(--section-pad) 0; }

.welcome-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           center;
}

.welcome-img {
  width:        100%;
  /* aspect-ratio: 4 / 3; */
  object-fit:   cover;
}

/* ─────────────────────────────────────────────
   PULL QUOTE
   ───────────────────────────────────────────── */
#quote {
  padding:       var(--section-pad) 0;
  border-top:    1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align:    center;
}
.quote-source {
  font-size:      10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color:          var(--color-accent);
  margin-bottom:  32px;
}
.quote-mark {
  font-family:   var(--font-display);
  font-size:     5rem;
  color:         var(--color-accent);
  line-height:   0.5;
  margin-bottom: 28px;
}
.pull-quote {
  font-family:   var(--font-display);
  font-size:     clamp(2rem, 4.5vw, 3.2rem);
  font-weight:   300;
  font-style:    italic;
  max-width:     800px;
  margin-inline: auto;
  line-height:   1.3;
}

/* ─────────────────────────────────────────────
   GALLERY
   ───────────────────────────────────────────── */
#gallery {
   /* padding-bottom: var(--section-pad); 
    */
  padding:    var(--section-pad) 0;
  background: var(--color-yemex-neutral);
  color:  var(--color-yemex-red);
}

#gallery .section-label{
  color: var(--color-yemex-dark-red);
}

.gallery-header {
  display:         flex;
  justify-content: space-between;
  align-items:     flex-end;
  padding-bottom:  40px;
}

.gallery-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows:    300px 300px;
  gap:                   12px;
}
.gallery-grid img {
  width:      100%;
  height:     100%;
  object-fit: cover;
}
.gallery-grid .tall { grid-row: span 2; }

/* ─────────────────────────────────────────────
   CHEF
   ───────────────────────────────────────────── */
#chef {
  padding:    var(--section-pad) 0;
  background: var(--color-surface);
}

.chef-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           center;
}

.chef-img-wrap { position: relative; }

.chef-img {
  width:        100%;
  aspect-ratio: 3 / 4;
  object-fit:   cover;
}

.chef-badge {
  position:       absolute;
  bottom:         -20px;
  right:          -20px;
  background:     var(--color-accent);
  color:          var(--color-bg);
  padding:        20px 26px;
  font-size:      10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  max-width:      180px;
  line-height:    1.6;
}

.chef-name {
  font-family:   var(--font-display);
  font-size:     1.5rem;
  font-weight:   400;
  margin-bottom: 6px;
}
.chef-role {
  font-size:      10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--color-muted);
  margin-bottom:  32px;
}

/* ─────────────────────────────────────────────
   MENU PREVIEW
   ───────────────────────────────────────────── */
.section-category{
   padding: 25px 0; 

}
.categoryType {
    flex: 0 0 auto;
    width: 50%;
}

.categoryType .section-label{
  font-size: 15px;
}

.drinksMenu{
      border-top: 1px solid var(--color-border);
      padding-top:40px;
      margin-top:20px;
}

.pastriesMenu .section-category {
    display: flex;
}

#menu-preview { padding: var(--section-pad) 0; }

.menu-header {
  display:         flex;
  justify-content: space-between;
  align-items:     flex-end;
  margin-bottom:   20px;
}

.menu-grid {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   20px;
}

.menu-card img {
  width:         100%;
  aspect-ratio:  1 / 1;
  object-fit:    cover;
  margin-bottom: 16px;
}

.menu-card-name {
  font-size:      11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.drinkMenu {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

/* ─────────────────────────────────────────────
   REVIEWS
   ───────────────────────────────────────────── */
#reviews {
  padding:    var(--section-pad) 0;
  background: var(--color-surface);
}

.reviews-heading {
  text-align:    center;
  margin-bottom: 60px;
}

.reviews-track {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
}

.review-card {
  border:  1px solid var(--color-border);
  padding: 36px;
}

.review-stars {
  display:       flex;
  gap:           4px;
  margin-bottom: 20px;
}
.star { color: var(--color-accent); font-size: 14px; }

.review-text {
  font-family:   var(--font-display);
  font-size:     1.15rem;
  font-style:    italic;
  color:         var(--color-text);
  line-height:   1.6;
  margin-bottom: 24px;
}

.review-author {
  display:     flex;
  align-items: center;
  gap:         14px;
}

.review-avatar {
  width:         46px;
  height:        46px;
  border-radius: 50%;
  object-fit:    cover;
  flex-shrink:   0;
}

.review-name {
  font-size:      11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   FAQs
   ───────────────────────────────────────────── */
#faqs {
  padding:    var(--section-pad) 0;
  background: var(--color-yemex-neutral);
  color:  var(--color-yemex-red);
}

.faq-item.open .faq-a{
  color:  var(--color-yemex-red)
}

.faq-item{
  border-top: 1px solid var(--color-yemex-red) !important
}

.faqs-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   0 80px;
}

.faq-item {
  border-top: 1px solid var(--color-border);
  padding:    28px 0;
  cursor:     pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--color-border); }

.faq-q {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  gap:             20px;
  font-size:       12px;
  letter-spacing:  0.12em;
  text-transform:  uppercase;
  transition:      color 0.2s;
  user-select:     none;
}
.faq-q:hover { color: var(--color-accent); }

.faq-toggle {
  font-size:   22px;
  color:       var(--color-accent);
  flex-shrink: 0;
  line-height: 1;
  transition:  transform 0.3s;
}

.faq-a {
  display:     none;
  color:       var(--color-muted);
  font-size:   13px;
  line-height: 1.8;
  padding-top: 16px;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-item.open .faq-a      { display: block; }

/* ─────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────── */
#contact {
  padding:    var(--section-pad) 0;
  background: var(--color-surface);
}

.contact-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           start;
}

.contact-detail-group { margin-bottom: 36px; }

.contact-label {
  font-size:      10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color:          var(--color-accent);
  margin-bottom:  10px;
}

.contact-value { color: var(--color-text); line-height: 1.7; }
.contact-value a { color: var(--color-text); transition: color 0.2s; }
.contact-value a:hover { color: var(--color-accent); }

.contact-img {
  width:        100%;
  /* aspect-ratio: 4 / 3; */
  object-fit:   cover;
}

.contact-actions {
  display:        flex;
  flex-direction: column;
  gap:            12px;
  margin-top:     36px;
}

/* ─────────────────────────────────────────────
   CTA BAND
   ───────────────────────────────────────────── */
#cta-band {
  padding:   var(--section-pad) 0;
  text-align: center;
  position:  relative;
  overflow:  hidden;
}

.cta-band-bg {
  position: absolute;
  inset:    0;
  overflow: hidden;
}
.cta-band-bg img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  opacity:    0.15;
}

.cta-band-content {
  position:       relative;
  padding-inline: var(--gutter);
}

.cta-band-title {
  font-family:   var(--font-display);
  font-size:     clamp(2.5rem, 6vw, 4.5rem);
  font-weight:   300;
  margin-bottom: 16px;
}

.cta-band-sub {
  font-size:      11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--color-muted);
  margin-bottom:  48px;
}

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--color-border);
  padding:    60px var(--gutter) 40px;
}

.footer-top {
  display:         flex;
  justify-content: space-between;
  align-items:     flex-start;
  gap:             60px;
  margin-bottom:   30px;
}

.footer-logo {
  font-family:    var(--font-display);
  font-size:      2.8rem;
  font-weight:    300;
  letter-spacing: 0.06em;
}

.footer-links { display: flex; gap: 80px; }
.footer-links .footerLink {
    display: inline-block;
    padding:  0 20px;
}

.footer-col-title {
  font-size:      10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color:          var(--color-accent);
  margin-bottom:  20px;
}

.footer-col ul {
  list-style:     none;
  display:        flex;
  flex-direction: column;
  gap:            12px;
}

.footer-col a {
  font-size:      12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          var(--color-muted);
  transition:     color 0.2s;
}
.footer-col a:hover { color: var(--color-text); }

.footer-hours {
  font-size:      11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          var(--color-muted);
  line-height:    1.9;
}

.footer-bottom {
  /* border-top:      1px solid var(--color-border);
  padding-top:     28px; */
  display:         flex;
  justify-content: space-between;
  align-items:     center;
}

.footer-copy {
  font-size:      10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color:          var(--color-muted);
}

.back-top {
  width:      40px;
  height:     40px;
  border:     1px solid var(--color-border);
  display:    grid;
  place-items: center;
  font-size:  18px;
  color:      var(--color-muted);
  transition: border-color 0.2s, color 0.2s;
}
.back-top:hover { border-color: var(--color-accent); color: var(--color-accent); }
.backToTop{
  float: right;
  padding-bottom: 50px;
}

/* ─────────────────────────────────────────────
   SCROLL-REVEAL (injected by main.js)
   ───────────────────────────────────────────── */
.reveal {
  opacity:    0;
  transform:  translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity:   1;
  transform: none;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  .welcome-grid,
  .chef-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

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

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows:    auto;
  }
  .gallery-grid .tall { grid-row: span 1; }

  .chef-badge { position: static; margin-top: 20px; max-width: 100%; }

  .footer-top   { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .menu-header,
  .gallery-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

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


.noPictures .menu-card img {
    display: none !important;
  }

  .noPictures .menu-card p {
    font-size: 20px
  }
