/* =========================================================
   Turkish Food Festival - base styles
   ========================================================= */

:root {
  --color-cream:    #FBF6EC;
  --color-cream-2:  #F3E9D6;
  --color-charcoal: #2B2420;
  --color-charcoal-soft: #5b5148;
  --color-red:      #C1442D;
  --color-red-dark: #9C3423;
  --color-teal:     #2F6F72;
  --color-teal-dark:#204F52;
  --color-gold:     #D99B3F;
  --color-gold-dark:#B87E27;
  --color-green:    #6E9B4F;
  --color-blue:     #2F6FA8;
  --color-white:    #FFFFFF;

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 6px 20px rgba(43, 36, 32, 0.10);
  --container-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-cream);
  line-height: 1.6;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--color-charcoal);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--color-teal); text-decoration: none; }
a:hover { color: var(--color-red); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-charcoal);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--accent {
  background: var(--color-gold);
  color: var(--color-charcoal);
}
.btn--accent:hover { background: var(--color-gold-dark); color: var(--color-charcoal); }

.btn--outline {
  background: transparent;
  border-color: #ffffffaa;
  color: #fff;
}
.btn--outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

.btn--teal {
  background: var(--color-teal);
  color: #fff;
}
.btn--teal:hover { background: var(--color-teal-dark); color: #fff; }

/* ---------------------------------------------------------
   Header / Nav
   --------------------------------------------------------- */
.site-header {
  background: var(--color-white);
  border-bottom: 4px solid var(--color-gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__logo { width: 48px; height: 48px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--color-charcoal); }
.brand__subtitle { font-size: 0.75rem; color: var(--color-charcoal-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--color-charcoal);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: var(--color-charcoal);
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
}
.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}
.nav-cta { white-space: nowrap; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    box-shadow: var(--shadow);
    display: none;
    gap: 16px;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 4px; }
  .primary-nav a { display: block; padding: 10px 4px; }
  .nav-cta { text-align: center; }
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--color-teal-dark), var(--color-red-dark));
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../../images/hero-pattern.svg');
  background-size: 240px 240px;
  opacity: 0.5;
}
.hero__inner {
  position: relative;
  padding: 90px 20px 70px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero__logo {
  width: 96px;
  height: 96px;
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  margin: 0 auto 22px;
  box-shadow: var(--shadow);
}
.hero__edition {
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 6px;
}
.hero h1 { color: #fff; }
.hero__tagline { font-size: 1.15rem; opacity: 0.95; margin-bottom: 1.6em; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  margin-bottom: 2em;
  font-weight: 600;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------
   Sections
   --------------------------------------------------------- */
.section { padding: 64px 0; }
.section--alt { background: var(--color-cream-2); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section__eyebrow {
  display: inline-block;
  color: var(--color-red);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.info-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  text-align: center;
  border-top: 4px solid var(--color-gold);
}
.info-card h3 { margin-bottom: 6px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-teal); }
.info-card p { margin: 0; font-weight: 600; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.preview-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
}
.preview-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.preview-card__body { padding: 20px; }

.cta-banner {
  background: var(--color-teal);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { opacity: 0.9; }

.cta-banner--raffle { background: var(--color-red); }
.cta-banner__note {
  margin: 18px 0 0;
  font-size: 0.85rem;
  opacity: 0.85;
  font-style: italic;
}

/* ---------------------------------------------------------
   Page header (non-home pages)
   --------------------------------------------------------- */
.page-header {
  background: linear-gradient(120deg, var(--color-teal-dark), var(--color-red-dark));
  color: #fff;
  padding: 56px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../../images/hero-pattern.svg');
  background-size: 240px 240px;
  opacity: 0.35;
}
.page-header__inner { position: relative; max-width: 700px; margin: 0 auto; }
.page-header h1 { color: #fff; }
.page-header p { opacity: 0.95; margin: 0; }

/* ---------------------------------------------------------
   Menu page
   --------------------------------------------------------- */
.menu-tabs {
  position: sticky;
  top: 73px;
  background: var(--color-cream);
  z-index: 50;
  border-bottom: 1px solid #e6dcc8;
  padding: 14px 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.menu-tabs__inner { display: inline-flex; gap: 10px; padding: 0 20px; }
.menu-tabs a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e6dcc8;
  color: var(--color-charcoal);
  font-weight: 600;
  font-size: 0.9rem;
}
.menu-tabs a:hover { border-color: var(--color-red); color: var(--color-red); }

.menu-note {
  background: #fff3de;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 30px auto 10px;
  max-width: 780px;
  text-align: center;
  font-size: 0.95rem;
}

.menu-category { padding: 46px 0 10px; scroll-margin-top: 140px; }
.menu-category h2 {
  border-bottom: 3px solid var(--color-gold);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 24px;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 40px;
}
@media (max-width: 700px) {
  .menu-list { grid-template-columns: 1fr; }
}
.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0 18px;
  border-bottom: 1px dashed #ddcfb2;
}
.menu-item__photo {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-cream-2);
}
@media (max-width: 480px) {
  .menu-item__photo { width: 90px; height: 90px; }
}
.menu-item__info { flex: 1; min-width: 0; }
.menu-item__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.menu-item__name { font-weight: 600; }
.menu-item__price {
  white-space: nowrap;
  font-weight: 700;
  color: var(--color-red);
  background: #fbeee2;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}
.menu-item__ingredients {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--color-charcoal-soft);
}

/* ---------------------------------------------------------
   Map page
   --------------------------------------------------------- */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: none;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-embed img { width: 100%; display: block; }

.find-us-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.find-us-grid .map-embed iframe { height: 100%; min-height: 320px; }
.find-us-grid .venue-card { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 780px) {
  .find-us-grid { grid-template-columns: 1fr; }
}

.venue-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  border-left: 5px solid var(--color-teal);
}

/* ---------------------------------------------------------
   Program page (timeline)
   --------------------------------------------------------- */
.timeline { max-width: 760px; margin: 0 auto; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 96px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--color-gold);
}
@media (max-width: 560px) {
  .timeline::before { left: 20px; }
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  position: relative;
  padding: 0 0 34px 0;
}
@media (max-width: 560px) {
  .timeline-item { grid-template-columns: 1fr; padding-left: 40px; }
}
.timeline-item__time {
  font-weight: 700;
  color: var(--color-teal);
  text-align: right;
  padding-top: 2px;
}
@media (max-width: 560px) {
  .timeline-item__time { text-align: left; }
}
.timeline-item__dot {
  position: absolute;
  left: 91px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-red);
  border: 3px solid var(--color-cream);
}
@media (max-width: 560px) {
  .timeline-item__dot { left: 15px; }
}
.timeline-item__body {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
}
.timeline-item__body h3 { margin-bottom: 4px; }
.timeline-item__body p { margin: 0; color: var(--color-charcoal-soft); }

.program-note {
  text-align: center;
  color: var(--color-charcoal-soft);
  font-style: italic;
  margin-bottom: 40px;
}

/* ---------------------------------------------------------
   About page
   --------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  align-items: center;
}
@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; }
}
.org-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
  text-align: center;
}
.org-card img { width: 120px; margin: 0 auto 16px; }
.org-card__email { margin: 14px 0 0; font-weight: 600; }

/* ---------------------------------------------------------
   Contact page
   --------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddcfb2;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-honeypot { position: absolute; left: -9999px; top: -9999px; }

.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}
.alert--success { background: #e4f2df; color: #2f5a1a; border: 1px solid var(--color-green); }
.alert--error { background: #fbe3df; color: var(--color-red-dark); border: 1px solid var(--color-red); }

.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.contact-info-card ul { list-style: none; margin: 0; padding: 0; }
.contact-info-card li { padding: 10px 0; border-bottom: 1px dashed #ddcfb2; }
.contact-info-card li:last-child { border-bottom: none; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  background: var(--color-charcoal);
  color: #d9d2c8;
  margin-top: 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 50px 20px 30px;
}
@media (max-width: 780px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__logo { width: 56px; margin-bottom: 14px; }
.site-footer h3 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.site-footer a { color: #d9d2c8; }
.site-footer a:hover { color: var(--color-gold); }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 8px; }
.footer__social { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.footer__email { margin: 0; }
.footer__email a { font-weight: 600; }
.footer__bottom {
  border-top: 1px solid #453d36;
  padding: 18px 0;
  font-size: 0.85rem;
  text-align: center;
  color: #a89f93;
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: center;
  justify-content: center;
}
.footer__bottom-inner p { margin: 0; }
.footer__bottom-inner a { color: #a89f93; text-decoration: underline; }
.footer__bottom-inner a:hover { color: var(--color-gold); }
