/* ============================================================
   Dora Dora Café — stylesheet
   ============================================================ */

@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');

/* ----- tokens ----- */
:root {
  --espresso:   #2C1810;
  --oat:        #F5ECD7;
  --sage:       #8A9E7E;
  --parchment:  #E8D9B5;
  --cream:      #FBF6EE;
  --mid:        #5A3E2B;
  --text:       #2C1810;
  --muted:      #7A6455;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;

  --radius: 3px;
  --max-w:  1100px;
  --section-gap: 6rem;
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  /* subtle grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }

/* ----- nav ----- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--espresso);
  color: var(--oat);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  letter-spacing: .02em;
  color: var(--oat);
  text-decoration: none;
}

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

.nav-links a {
  font-size: .875rem;
  font-weight: 300;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--parchment);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--oat); }

.nav-reserve {
  background: var(--sage) !important;
  color: var(--cream) !important;
  padding: .35rem .9rem;
  border-radius: var(--radius);
}

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--oat);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ----- hero ----- */
.hero {
  min-height: 92vh;
  background: var(--espresso);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

.hero-text {
  padding: 5rem 4rem 5rem 5vw;
  color: var(--oat);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--oat);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--parchment);
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--parchment);
  max-width: 38ch;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--sage);
  color: var(--cream);
}
.btn-primary:hover { background: #7a8e6e; }

.btn-outline {
  background: transparent;
  color: var(--oat);
  border: 1.5px solid var(--parchment);
  margin-left: 1rem;
}
.btn-outline:hover {
  background: var(--oat);
  color: var(--espresso);
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 92vh;
  background: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* decorative coffee-ring SVG motif */
.coffee-ring {
  position: absolute;
  opacity: .12;
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-card {
  position: relative;
  z-index: 2;
  background: var(--parchment);
  padding: 2.5rem;
  border-radius: var(--radius);
  width: 280px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}

.hero-card-label {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}

.hero-card-item {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: .25rem;
}

.hero-card-sub {
  font-size: .875rem;
  color: var(--muted);
  font-weight: 300;
}

.hero-card-divider {
  height: 1px;
  background: var(--parchment);
  border: none;
  border-top: 1px solid var(--espresso);
  opacity: .2;
  margin: 1.25rem 0;
}

/* ----- section wrapper ----- */
.section {
  padding: var(--section-gap) clamp(1.5rem, 5vw, 5rem);
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-full {
  padding: var(--section-gap) clamp(1.5rem, 5vw, 5rem);
}

.section-tag {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 400;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--espresso);
  margin-bottom: 1.5rem;
}

.section-title em { font-style: italic; }

.section-body {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.85;
}

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

.about-image-wrap {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--parchment);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-image-placeholder svg {
  opacity: .18;
  width: 120px;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--espresso);
  color: var(--oat);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.3;
  max-width: 160px;
  text-align: center;
}

.about-facts {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-fact-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--espresso);
  line-height: 1;
}

.about-fact-label {
  font-size: .85rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* ----- menu ----- */
.menu-bg {
  background: var(--espresso);
  color: var(--oat);
}

.menu-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) clamp(1.5rem, 5vw, 5rem);
}

.menu-inner .section-tag { color: var(--sage); }
.menu-inner .section-title { color: var(--oat); }

.menu-tabs {
  display: flex;
  gap: .5rem;
  margin: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 0;
}

.menu-tab {
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--parchment);
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem 1.25rem .75rem;
  position: relative;
  transition: color .2s;
  opacity: .6;
}

.menu-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transition: transform .2s;
}

.menu-tab.active {
  opacity: 1;
  color: var(--oat);
}
.menu-tab.active::after { transform: scaleX(1); }

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-list {
  columns: 2;
  column-gap: 4rem;
  margin-top: 1rem;
}

.menu-item {
  break-inside: avoid;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
}

.menu-item-desc {
  font-size: .8rem;
  font-weight: 300;
  color: var(--parchment);
  opacity: .7;
  margin-top: .15rem;
}

.menu-item-price {
  font-size: .9rem;
  font-weight: 300;
  color: var(--sage);
  white-space: nowrap;
}

/* ----- reserve (multi-step form) ----- */
.reserve-bg {
  background: var(--parchment);
}

.reserve-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--section-gap) clamp(1.5rem, 5vw, 3rem);
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: 1;
}

.progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--espresso);
  background: transparent;
  flex-shrink: 0;
  transition: background .3s, color .3s;
}

.progress-step.done .progress-dot {
  background: var(--espresso);
  color: var(--oat);
}
.progress-step.active .progress-dot {
  background: var(--espresso);
  color: var(--oat);
}

.progress-label {
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.progress-step.active .progress-label,
.progress-step.done .progress-label {
  color: var(--espresso);
  font-weight: 700;
}

.progress-line {
  flex: 1;
  height: 1px;
  background: var(--espresso);
  opacity: .2;
  margin: 0 .5rem;
}

/* fieldset steps */
fieldset {
  border: none;
  padding: 0;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: .5rem;
}

.step-sub {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.form-field label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--espresso);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: .7rem 1rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--espresso);
  background: var(--cream);
  border: 1.5px solid rgba(44,24,16,.2);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--espresso);
}

.form-field textarea { resize: vertical; min-height: 100px; }

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.btn-back {
  background: none;
  border: 1.5px solid var(--espresso);
  color: var(--espresso);
  padding: .7rem 1.5rem;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-back:hover { background: var(--espresso); color: var(--oat); }

.btn-next, .btn-submit {
  background: var(--espresso);
  color: var(--oat);
  padding: .7rem 1.75rem;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s;
}
.btn-next:hover, .btn-submit:hover { background: var(--mid); }

/* ----- posts ----- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.post-card {
  background: var(--oat);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform .2s;
}
.post-card:hover { transform: translateY(-3px); }

.post-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-body {
  padding: 1.5rem;
}

.post-card-date {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .08em;
  margin-bottom: .5rem;
}

.post-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.post-card-excerpt {
  font-size: .875rem;
  color: var(--muted);
  font-weight: 300;
}

/* ----- FAQ ----- */
.faq-list {
  margin-top: 2.5rem;
  max-width: 680px;
}

.faq-item {
  border-top: 1px solid var(--parchment);
  padding: 1.5rem 0;
}

.faq-item:last-child { border-bottom: 1px solid var(--parchment); }

.faq-q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--espresso);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--espresso);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: transform .25s, background .2s;
}

.faq-item.open .faq-toggle {
  background: var(--espresso);
  color: var(--oat);
  transform: rotate(45deg);
}

.faq-a {
  font-size: .95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-top: 1rem;
}

/* ----- footer ----- */
.site-footer {
  background: var(--espresso);
  color: var(--parchment);
  padding: 4rem clamp(1.5rem, 5vw, 5rem);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--oat);
  margin-bottom: .75rem;
}

.footer-tagline {
  font-size: .875rem;
  font-weight: 300;
  color: var(--parchment);
  opacity: .7;
  max-width: 32ch;
  line-height: 1.7;
}

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

.footer-social {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--parchment);
  font-size: .8rem;
  transition: border-color .2s, color .2s;
}
.footer-social:hover { border-color: var(--sage); color: var(--sage); }

.footer-heading {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-links a {
  font-size: .875rem;
  font-weight: 300;
  text-decoration: none;
  color: var(--parchment);
  opacity: .7;
  transition: opacity .2s;
}
.footer-links a:hover { opacity: 1; }

.footer-address {
  font-size: .875rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: .7;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .75rem;
  opacity: .5;
  text-align: center;
}

/* ----- responsive ----- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-text { padding: 5rem 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { right: 0; }
  .menu-list { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-links { display: none; flex-direction: column; gap: 1rem; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--espresso);
    padding: 1.5rem 2rem 2rem;
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-title { font-size: 2.6rem; }
  .menu-tabs { flex-wrap: wrap; }
  .form-progress { gap: .25rem; }
  .progress-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
