/* ============================================================
   AYASOFYA LOKUM — Lokum Sayfası Özel Stilleri
   MYKSoft Vizyonu © 2026
   lokum-page.css — Hero | Chapters | Cards | FAQ | Varieties
   Mobile-First | CSS3 | Vanilla
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   LOKUM HERO — Hero Özelleştirmesi
════════════════════════════════════════════════════════════ */
.lokum-hero {
  /* about-hero'dan miras alır, ek renk katmanı */
}

.lokum-hero::before {
  background:
    radial-gradient(ellipse at 20% 70%, rgba(207,169,103,0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(105,145,157,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 90%, rgba(207,169,103,0.08) 0%, transparent 40%);
}

/* ════════════════════════════════════════════════════════════
   BÖLÜM BAŞLIĞI (Ortak)
════════════════════════════════════════════════════════════ */
.lokum-section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

.lokum-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  font-weight: 700;
  color: var(--main-dark);
  line-height: 1.14;
  margin-top: 0.8rem;
}

.lokum-section-header h2 em {
  font-style: italic;
  color: var(--antique-gold);
}

.lokum-section-header p {
  margin-top: 0.9rem;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--main-dark);
  opacity: 0.7;
  line-height: 1.8;
}

/* ════════════════════════════════════════════════════════════
   BÖLÜM YAPI — lokum-chapter
════════════════════════════════════════════════════════════ */
.lokum-chapter {
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.lokum-chapter--cream  { background: var(--bg-cream); }
.lokum-chapter--beige  { background: var(--bg-light-beige); }
.lokum-chapter--dark   { background: var(--main-dark); }

/* İki kolon grid */
.lokum-chapter__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .lokum-chapter__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-xl);
  }

  .lokum-chapter__grid--reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .lokum-chapter__grid--reverse .lokum-chapter__text { order: 2; }
  .lokum-chapter__grid--reverse .lokum-chapter__visual { order: 1; }
}

/* Kaşkaval — Bölüm üst etiketi */
.lokum-chapter__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--minaret-blue);
  margin-bottom: 1rem;
}

.lokum-chapter__num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--antique-gold);
  opacity: 0.7;
  margin-left: 0.2rem;
}

/* [dir="rtl"] */
[dir="rtl"] .lokum-chapter__num { margin-left: 0; margin-right: 0.2rem; }

.lokum-chapter__heading {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--main-dark);
  margin-bottom: 1.4rem;
}

.lokum-chapter__heading em {
  font-style: italic;
  color: var(--antique-gold);
}

.lokum-chapter__body {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  font-weight: 300;
  line-height: 1.9;
  color: var(--main-dark);
  opacity: 0.85;
  margin-bottom: 1rem;
}

.lokum-chapter__body b { font-weight: 600; color: var(--main-dark); }
.lokum-chapter__body em { font-style: italic; color: var(--gold-brown); }

.lokum-chapter__text--light .lokum-chapter__body { color: rgba(238,229,211,0.82); }
.lokum-chapter__text--light .lokum-chapter__body b { color: var(--bg-cream); }
.lokum-chapter__text--light .lokum-chapter__body em { color: var(--antique-gold); }

.lokum-chapter__text--light .lokum-chapter__heading {
  color: var(--bg-cream);
}

/* Bölüm içi alıntı */
.lokum-chapter__quote {
  margin-top: 1.4rem;
  padding: 0.95rem 1.2rem;
  border-left: 2.5px solid var(--antique-gold);
  background: var(--antique-gold-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

[dir="rtl"] .lokum-chapter__quote {
  border-left: none;
  border-right: 2.5px solid var(--antique-gold);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.lokum-chapter__quote p {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--gold-brown);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════
   KÖKENİ TANIM KARTI — Arapça + Türkçe + İngilizce
════════════════════════════════════════════════════════════ */
.lokum-card--definition {
  background: var(--bg-cream);
  border: 1px solid rgba(172,142,96,0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(93,104,103,0.12);
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}

.lokum-card--definition:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(93,104,103,0.16);
}

.lokum-card__arabesque {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  pointer-events: none;
}

.lokum-card__arabesque svg {
  width: 100%;
  height: 100%;
}

.lokum-card__ar {
  font-family: 'Noto Naskh Arabic', var(--font-serif);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 600;
  color: var(--antique-gold);
  direction: rtl;
  unicode-bidi: embed;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin-bottom: 0.3rem;
}

.lokum-card__tr {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold-brown);
  position: relative;
  z-index: 1;
}

.lokum-card__desc {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shadow-grey);
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
}

.lokum-card__divider {
  width: 40px;
  height: 1px;
  background: var(--beige-transition);
  margin: 1.2rem auto;
  position: relative;
  z-index: 1;
}

.lokum-card__en {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--main-dark);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.lokum-card__origin {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shadow-grey);
  margin-top: 0.2rem;
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════════════════════════
   TARİHSEL ZAMAN ÇİZGİSİ KARTI
════════════════════════════════════════════════════════════ */
.lokum-timeline-card {
  background: var(--bg-cream);
  border: 1px solid rgba(172,142,96,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  position: relative;
  box-shadow: 0 16px 48px rgba(93,104,103,0.10);
}

.lokum-timeline-card__line {
  position: absolute;
  top: 2.5rem;
  bottom: 2.5rem;
  left: 2.7rem;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--antique-gold), transparent);
  opacity: 0.3;
}

[dir="rtl"] .lokum-timeline-card__line {
  left: auto;
  right: 2.7rem;
}

.lokum-timeline-card__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  padding-right: 0;
}

.lokum-timeline-card__item:last-child { margin-bottom: 0; }

.lokum-timeline-card__year {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--antique-gold);
  min-width: 52px;
  flex-shrink: 0;
  padding-top: 0.1rem;
  letter-spacing: 0.04em;
}

.lokum-timeline-card__event {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--main-dark);
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════
   GİZLİ SIR KARTI
════════════════════════════════════════════════════════════ */
.lokum-secret-card {
  background: rgba(238,229,211,0.06);
  border: 1px solid rgba(207,169,103,0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 56px rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
}

.lokum-secret-card__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.lokum-secret-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--antique-gold);
  font-style: italic;
  margin-bottom: 1rem;
}

.lokum-secret-card__body {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(238,229,211,0.75);
  margin-bottom: 1.6rem;
}

.lokum-secret-card__body strong {
  color: var(--antique-gold);
  font-weight: 600;
}

/* Formül şeridi */
.lokum-secret-card__formula {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(238,229,211,0.55);
}

.lokum-secret-card__plus,
.lokum-secret-card__equals {
  color: var(--antique-gold);
  opacity: 0.6;
  font-weight: 700;
}

.lokum-secret-card__highlight {
  color: var(--antique-gold);
  font-weight: 700;
  opacity: 1 !important;
  padding: 0.15rem 0.5rem;
  background: rgba(207,169,103,0.12);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(207,169,103,0.25);
}

/* ════════════════════════════════════════════════════════════
   KÜLTÜR & EDEBİYAT KARTLARI
════════════════════════════════════════════════════════════ */
.lokum-culture-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.lokum-culture-card {
  background: var(--bg-cream);
  border: 1px solid rgba(172,142,96,0.18);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.2rem;
  transition: transform var(--transition-mid), box-shadow var(--transition-mid), border-color var(--transition-mid);
  position: relative;
  overflow: hidden;
}

.lokum-culture-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--antique-gold), var(--gold-brown));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-mid);
}

[dir="rtl"] .lokum-culture-card::before {
  left: auto; right: 0;
}

.lokum-culture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(93,104,103,0.12);
  border-color: rgba(207,169,103,0.35);
}

.lokum-culture-card:hover::before { transform: scaleY(1); }

.lokum-culture-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-cream) 0%, rgba(207,169,103,0.06) 100%);
  border-color: rgba(207,169,103,0.3);
}

.lokum-culture-card__icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  display: block;
}

.lokum-culture-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--main-dark);
  margin-bottom: 0.2rem;
}

.lokum-culture-card__work {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--gold-brown);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.lokum-culture-card__note {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  color: var(--shadow-grey);
  line-height: 1.5;
}

.lokum-culture-card__note strong {
  color: var(--antique-gold);
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   DOKU ÖZELLİK KARTLARI
════════════════════════════════════════════════════════════ */
.lokum-texture-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: var(--space-lg);
}

@media (min-width: 640px) {
  .lokum-texture-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lokum-texture-card {
  background: var(--bg-cream);
  border: 1px solid rgba(172,142,96,0.2);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}

.lokum-texture-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(93,104,103,0.12);
}

.lokum-texture-card__icon {
  margin-bottom: 1rem;
  display: flex;
}

.lokum-texture-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--main-dark);
  margin-bottom: 0.6rem;
}

.lokum-texture-card__body {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--main-dark);
  opacity: 0.75;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════
   LOKALLİTE ÇEŞİTLERİ TABLOSU
════════════════════════════════════════════════════════════ */
.lokum-varieties {
  margin-top: var(--space-md);
}

.lokum-varieties__heading {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--main-dark);
  margin-bottom: 1.4rem;
  line-height: 1.2;
}

.lokum-varieties__heading em {
  font-style: italic;
  color: var(--antique-gold);
}

.lokum-varieties__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(93,104,103,0.10);
}

.lokum-varieties__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.lokum-varieties__table thead {
  background: var(--main-dark);
}

.lokum-varieties__table th {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--antique-gold);
  padding: 0.9rem 1.2rem;
  text-align: start;
}

.lokum-varieties__table td {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--main-dark);
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(172,142,96,0.12);
  line-height: 1.5;
}

.lokum-varieties__table td strong { font-weight: 600; color: var(--main-dark); }

.lokum-varieties__table tr:last-child td { border-bottom: none; }

.lokum-varieties__table tr:nth-child(even) td {
  background: rgba(172,142,96,0.04);
}

.lokum-varieties__table tr:hover td {
  background: rgba(207,169,103,0.08);
}

/* ════════════════════════════════════════════════════════════
   MİSYON KARTI (Dark bg üzerinde)
════════════════════════════════════════════════════════════ */
.lokum-mission-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid rgba(207,169,103,0.18);
  border-radius: var(--radius-lg);
  background: rgba(238,229,211,0.04);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.lokum-mission-card__ornament {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.5;
}

.lokum-mission-card__ornament svg {
  width: 100%;
  height: 100%;
}

.lokum-mission-card__year {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  color: rgba(207,169,103,0.6);
  line-height: 1;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.lokum-mission-card__divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(207,169,103,0.4), rgba(207,169,103,0.4));
  margin: 0.8rem 0;
  position: relative;
  z-index: 1;
}

.lokum-mission-card__now {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--antique-gold);
  line-height: 1;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.lokum-mission-card__label {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(207,169,103,0.55);
  position: relative;
  z-index: 1;
}

.lokum-mission-card__sub {
  margin-top: 0.3rem;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(238,229,211,0.4);
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════════════════════════
   FAQ — Sıkça Sorulan Sorular
════════════════════════════════════════════════════════════ */
.lokum-faq {
  padding: var(--space-xl) 0;
  background: var(--bg-light-beige);
  overflow: hidden;
}

.lokum-faq__list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.lokum-faq__item {
  background: var(--bg-cream);
  border: 1px solid rgba(172,142,96,0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.lokum-faq__item[open] {
  border-color: rgba(207,169,103,0.4);
  box-shadow: 0 6px 24px rgba(93,104,103,0.08);
}

.lokum-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  font-weight: 400;
  color: var(--main-dark);
  line-height: 1.5;
  transition: color var(--transition-fast);
  user-select: none;
}

.lokum-faq__question::-webkit-details-marker { display: none; }

.lokum-faq__question:hover { color: var(--antique-gold); }

.lokum-faq__question b { font-weight: 600; }

.lokum-faq__arrow {
  flex-shrink: 0;
  color: var(--antique-gold);
  opacity: 0.6;
  transition: transform var(--transition-mid), opacity var(--transition-fast);
}

.lokum-faq__item[open] .lokum-faq__arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.lokum-faq__answer {
  padding: 0 1.4rem 1.2rem;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--main-dark);
  opacity: 0.8;
  line-height: 1.8;
}

.lokum-faq__answer p + p { margin-top: 0.75rem; }

.lokum-faq__answer a {
  color: var(--antique-gold);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.lokum-faq__answer a:hover { color: var(--gold-brown); }

/* ════════════════════════════════════════════════════════════
   ABOUT-CTA (Referans — about-page.css'den alınan)
════════════════════════════════════════════════════════════ */
.about-cta {
  padding: var(--space-xl) 0;
  background: var(--bg-cream);
  text-align: center;
}

.about-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5.5vw, 3.2rem);
  font-weight: 700;
  color: var(--main-dark);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.about-cta h2 em {
  font-style: italic;
  color: var(--antique-gold);
}

.about-cta p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--main-dark);
  opacity: 0.72;
  line-height: 1.8;
  max-width: 520px;
  margin-inline: auto;
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

/* ════════════════════════════════════════════════════════════
   ARAPÇA (RTL) VERSİYON
════════════════════════════════════════════════════════════ */
.rtl-body {
  font-family: 'Noto Naskh Arabic', var(--font-serif);
}

/* ════════════════════════════════════════════════════════════
   ERİŞİLEBİLİRLİK
════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .lokum-texture-card,
  .lokum-culture-card,
  .lokum-card--definition {
    transition: none !important;
  }
}

/* ════════════════════════════════════════════════════════════
   TABLET (≥ 640px)
════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .lokum-culture-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .lokum-culture-card--featured {
    grid-column: span 2;
  }
}

/* ════════════════════════════════════════════════════════════
   MASAÜSTÜ (≥ 1024px)
════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .lokum-chapter {
    padding: var(--space-2xl) 0;
  }

  .lokum-culture-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
