/* =========================================================
   SAROKHÁZ KÁVÉZÓ ÉS CUKRÁSZDA — style.css
   Visual direction: Bold Joy / Dopamine Utility
   ========================================================= */

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

:root {
  /* Color palette */
  --cream:       #FFF8F0;
  --coffee:      #3B1F0E;
  --coffee-mid:  #6B3A20;
  --coffee-light:#C07A45;
  --raspberry:   #D63A5A;
  --pistachio:   #4A8C5C;
  --vanilla:     #F5D87A;
  --ice-blue:    #5BBCD6;
  --cta:         #D63A5A;
  --cta-hover:   #B52E4A;
  --text-dark:   #1A1008;
  --text-mid:    #4A3020;
  --text-light:  #FFF8F0;
  --border:      rgba(59,31,14,0.12);

  /* Typography */
  --font-head: 'Georgia', 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
}

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

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

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

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--coffee);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section-title--light { color: var(--cream); }

/* ---- LAYOUT ---- */
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.85em 1.8em;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}
.btn--primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); }

.btn--secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn--secondary:hover { background: rgba(255,255,255,0.15); }

.btn--outline {
  background: transparent;
  color: var(--coffee);
  border-color: var(--coffee);
}
.btn--outline:hover { background: var(--coffee); color: var(--cream); }

.btn--promo {
  background: var(--coffee);
  color: var(--cream);
  border-color: var(--coffee);
}
.btn--promo:hover { background: var(--coffee-mid); border-color: var(--coffee-mid); }

.btn--large { padding: 1em 2.4em; font-size: 1.1rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--coffee);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.logo-link {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vanilla);
  letter-spacing: -0.02em;
}
.logo-sub {
  font-size: 0.72rem;
  color: var(--coffee-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.main-nav a {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--vanilla); }
.main-nav .nav-cta {
  background: var(--cta);
  color: #fff;
  padding: 0.45em 1.1em;
  border-radius: var(--r-sm);
  font-weight: 700;
}
.main-nav .nav-cta:hover { background: var(--cta-hover); color: #fff; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--coffee);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-sm) var(--space-md);
  gap: var(--space-xs);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.6em 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.15s;
}
.mobile-nav-link:hover { color: var(--vanilla); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  background: var(--coffee);
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg) var(--space-xl) clamp(1.5rem, 6vw, 5rem);
  gap: var(--space-md);
}

.hero-h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--vanilla);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--coffee-light);
  max-width: 480px;
  line-height: 1.55;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-block;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.chip--ice     { background: var(--ice-blue);    color: #fff; }
.chip--coffee  { background: var(--coffee-light); color: var(--coffee); }
.chip--sweet   { background: var(--vanilla);      color: var(--coffee); }
.chip--burger  { background: var(--raspberry);    color: #fff; }
.chip--drink   { background: var(--pistachio);    color: #fff; }

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.hero-visual {
  position: relative;
  background: var(--coffee-mid);
  display: flex;
  align-items: stretch;
}

.hero-photo-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 12px
  );
  padding: var(--space-md);
  text-align: center;
}

.placeholder-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  line-height: 1.6;
  border: 1px dashed rgba(255,255,255,0.2);
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--r-md);
  max-width: 320px;
}

/* =========================================================
   THREE FAVOURITES
   ========================================================= */
.favourites {
  background: var(--cream);
  padding: 0;
}

.fav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.fav-tile {
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(59,31,14,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fav-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(59,31,14,0.18);
}

.fav-tile--ice    { background: #E8F7FC; }
.fav-tile--sweet  { background: #FFF3D0; }
.fav-tile--burger { background: #FDE8EC; }

.fav-tile__photo-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(59,31,14,0.35);
  font-style: italic;
  text-align: center;
  padding: var(--space-sm);
}
.fav-tile--ice    .fav-tile__photo-placeholder { background: #BDE8F5; }
.fav-tile--sweet  .fav-tile__photo-placeholder { background: #F5D87A; }
.fav-tile--burger .fav-tile__photo-placeholder { background: #F5A0B0; }

.fav-tile__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fav-tile__q {
  font-size: 1.35rem;
  color: var(--coffee);
}

.fav-tile__a {
  font-size: 0.97rem;
  color: var(--text-mid);
  flex: 1;
}

.fav-tile__link {
  display: inline-block;
  margin-top: var(--space-xs);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--cta);
  transition: color 0.15s;
}
.fav-tile__link:hover { color: var(--cta-hover); }

/* =========================================================
   MENU BOARD
   ========================================================= */
.menu-board {
  background: var(--coffee);
}

.menu-board__intro {
  color: var(--coffee-light);
  font-size: 0.97rem;
  max-width: 680px;
  margin-bottom: var(--space-lg);
  line-height: 1.65;
}

.menu-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.menu-cat {
  border-radius: var(--r-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  transition: transform 0.2s;
}
.menu-cat:hover { transform: translateY(-3px); }

.menu-cat--coffee { background: #2A1508; border-left: 5px solid var(--coffee-light); }
.menu-cat--ice    { background: #0D3D52; border-left: 5px solid var(--ice-blue); }
.menu-cat--sweet  { background: #3D2800; border-left: 5px solid var(--vanilla); }
.menu-cat--burger { background: #4A0E1C; border-left: 5px solid var(--raspberry); }
.menu-cat--drink  { background: #0E2E1A; border-left: 5px solid var(--pistachio); }

.menu-cat__icon {
  font-size: 2rem;
  line-height: 1;
}

.menu-cat__title {
  font-size: 1.1rem;
  color: var(--cream);
  font-family: var(--font-head);
}

.menu-cat__desc {
  font-size: 0.88rem;
  color: rgba(255,248,240,0.7);
  line-height: 1.55;
  flex: 1;
}

.menu-cat__badge {
  display: inline-block;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  align-self: flex-start;
  margin-top: auto;
}
.menu-cat--coffee .menu-cat__badge { background: var(--coffee-light); color: var(--coffee); }
.menu-cat--ice    .menu-cat__badge { background: var(--ice-blue);    color: #fff; }
.menu-cat--sweet  .menu-cat__badge { background: var(--vanilla);     color: var(--coffee); }
.menu-cat--burger .menu-cat__badge { background: var(--raspberry);   color: #fff; }
.menu-cat--drink  .menu-cat__badge { background: var(--pistachio);   color: #fff; }

/* =========================================================
   PROMO ZONE
   ========================================================= */
.promo-zone {
  background: var(--vanilla);
}

.promo-zone .section-title { color: var(--coffee); }

.promo-zone__intro {
  font-size: 0.95rem;
  color: var(--coffee-mid);
  max-width: 620px;
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

.promo-card {
  background: var(--coffee);
  border-radius: var(--r-lg);
  padding: var(--space-lg) var(--space-md);
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,216,122,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.promo-card__label {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  align-self: flex-start;
}

.promo-card__title {
  font-size: 1.7rem;
  color: var(--vanilla);
  font-family: var(--font-head);
}

.promo-card__text {
  color: var(--coffee-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================================================
   WHY US
   ========================================================= */
.why-us {
  background: var(--raspberry);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.why-block {
  background: rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: var(--space-md) var(--space-md) var(--space-md) 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  transition: background 0.2s;
}
.why-block:hover { background: rgba(255,255,255,0.2); }

.why-block__num {
  font-size: 2.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  line-height: 1;
  flex-shrink: 0;
}

.why-block__text {
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.55;
  padding-top: 0.3rem;
}

/* =========================================================
   STEPS
   ========================================================= */
.steps {
  background: var(--cream);
}

.steps-row {
  display: flex;
  align-items: stretch;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.step-block {
  flex: 1;
  border-radius: var(--r-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.step-block--1 { background: var(--ice-blue); color: #fff; }
.step-block--2 { background: var(--vanilla);  color: var(--coffee); }
.step-block--3 { background: var(--pistachio); color: #fff; }

.step-num {
  font-size: 3rem;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1;
  opacity: 0.35;
}

.step-title {
  font-size: 1.15rem;
  font-family: var(--font-head);
  line-height: 1.2;
}

.step-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.85;
}

.step-arrow {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  color: var(--coffee-light);
  flex-shrink: 0;
  padding-top: 1.5rem;
}

.steps-cta { text-align: center; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-section {
  background: var(--coffee);
}

.faq-list {
  max-width: 740px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border-radius: var(--r-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: rgba(255,255,255,0.07);
  color: var(--cream);
  border: none;
  padding: 1.1em 1.4em;
  text-align: left;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  transition: background 0.15s;
}
.faq-question:hover { background: rgba(255,255,255,0.13); }
.faq-question[aria-expanded="true"] { background: rgba(255,255,255,0.15); }

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--vanilla);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  background: rgba(255,255,255,0.04);
  padding: 1em 1.4em 1.2em;
  color: var(--coffee-light);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.faq-answer[hidden] { display: none; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  background: var(--pistachio);
}

.final-cta__h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: var(--space-sm);
}

.final-cta__text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.final-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.final-cta .btn--outline {
  color: #fff;
  border-color: #fff;
}
.final-cta .btn--outline:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.contact-card {
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  backdrop-filter: blur(4px);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.5;
}

.contact-val {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-link {
  color: var(--vanilla);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-link:hover { color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--text-dark);
  padding: var(--space-md) 0;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-md);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-md);
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--vanilla);
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.72rem;
  color: var(--coffee-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}
.footer-links a {
  color: rgba(255,248,240,0.6);
  font-size: 0.88rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--cream); }

.footer-meta {
  text-align: right;
}
.footer-address {
  font-size: 0.8rem;
  color: rgba(255,248,240,0.45);
  margin-bottom: 4px;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,248,240,0.45);
}

/* =========================================================
   STICKY MOBILE CTA
   ========================================================= */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--coffee);
  border-top: 2px solid var(--coffee-mid);
  padding: 0.6rem var(--space-sm);
  gap: 0.5rem;
}

.sticky-btn {
  flex: 1;
  display: block;
  text-align: center;
  padding: 0.85em 0.5em;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s;
}
.sticky-btn--menu {
  background: var(--vanilla);
  color: var(--coffee);
}
.sticky-btn--menu:hover { background: #f0ce60; }
.sticky-btn--route {
  background: var(--cta);
  color: #fff;
}
.sticky-btn--route:hover { background: var(--cta-hover); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual {
    height: 260px;
  }
  .hero-content {
    padding: var(--space-lg) var(--space-md);
  }

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

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

  .steps-row {
    flex-direction: column;
  }
  .step-arrow {
    transform: rotate(90deg);
    align-self: center;
    padding-top: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-meta { text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .sticky-mobile-cta { display: flex; }

  /* Add bottom padding so content isn't hidden behind sticky CTA */
  body { padding-bottom: 80px; }

  .section-inner { padding: var(--space-md) var(--space-sm); }

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

@media (max-width: 480px) {
  .menu-categories {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .hero-cta-group .btn {
    text-align: center;
  }
  .final-cta__btns {
    flex-direction: column;
  }
}

/* =========================================================
   SCROLL REVEAL (subtle)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
