/* ==========================================================================
   ELİT SİMİT FIRINI - RESMİ WEB SİTESİ STİL DOSYASI
   Referans: Sıcak, iştah açıcı, samimi krem & fırınlanmış susam tonları
   ========================================================================== */

:root {
  /* Renk Paleti (Referans Tasarıma Birebir Uygun) */
  --bg-cream: #FAF6F0;
  --bg-cream-subtle: #F5EFE6;
  --bg-cream-card: #FAF6F0;
  --border-cream: #E7DDCE;
  --border-card: #EADFCF;

  --text-dark: #23160F;       /* Koyu kavruk kahverengi */
  --text-muted: #64554B;      /* Yumuşak gövde kahvesi */
  --text-light: #8E7E73;      /* İkincil açık kahve */

  --color-crust: #A2481E;     /* Pişmiş simit kabuğu & terakota */
  --color-crust-hover: #8B3C17;
  --color-caramel: #B25223;   /* "Sıcacık bir gelenek" vurgu tonu */
  --color-gold: #C9772B;      /* Susam sarısı & altın parıltı */

  --bg-footer: #22150E;       /* Koyu ahşap/taş fırın kahvesi */
  --text-footer: #FAF6F0;
  --text-footer-muted: #BAA99D;

  --wa-green: #25D366;        /* Mobildeki WhatsApp yeşili */
  --wa-green-hover: #20BD5A;

  /* Tipografi */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Genel Ölçüler */
  --max-width: 1140px;
  --header-height: 82px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 20px -2px rgba(45, 23, 11, 0.06), 0 2px 6px -1px rgba(45, 23, 11, 0.04);
  --shadow-hero: 0 12px 36px -4px rgba(45, 23, 11, 0.14);
}

/* Sıfırlama ve Temel Ayarlar */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Konteyner */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   1. ÜST MENÜ (HEADER)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(231, 221, 206, 0.6);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo Alanı */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* Masaüstü Navigasyon */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-crust);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--color-crust);
}

.nav-link:hover::after {
  width: 100%;
}

/* Üst Menü Telefon Butonu */
.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--text-dark);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(35, 22, 15, 0.18);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.header-phone-btn:hover {
  background-color: var(--color-crust);
  transform: translateY(-1px);
}

.header-phone-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobil Hamburger Menü Butonu */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-dark);
  background: transparent;
  border: none;
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2.2;
}

/* Mobil Açılır Menü (Drawer / Overlay) */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--bg-cream);
  border-bottom: 2px solid var(--border-cream);
  padding: 24px;
  box-shadow: 0 16px 30px rgba(35, 22, 15, 0.15);
  flex-direction: column;
  gap: 18px;
  z-index: 45;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer .nav-link {
  font-size: 18px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-cream);
}

.mobile-nav-drawer .header-phone-btn {
  justify-content: center;
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  font-size: 15px;
}

/* ==========================================================================
   2. ANA KARŞILAMA (HERO SECTION)
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 54px;
  padding-bottom: 64px;
  overflow: hidden;
}

/* Arka plan buğday başak filigranı */
.hero-watermark {
  position: absolute;
  top: 15px;
  left: -20px;
  width: 140px;
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Sol İçerik Alanı */
.hero-content {
  display: flex;
  flex-direction: column;
}

/* "10 YILLIK USTALIK" Küçük Başlık + Çizgi */
.hero-eyebrow-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-crust);
  white-space: nowrap;
}

.hero-eyebrow-line {
  height: 1.5px;
  width: 46px;
  background-color: var(--color-crust);
  opacity: 0.8;
}

/* Ana Başlık H1 */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.hero-title-accent {
  color: var(--color-caramel);
  display: block;
}

/* Açıklama */
.hero-description {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 440px;
}

/* Karşılama Butonları */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* WhatsApp Butonu */
.btn-primary-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-crust);
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(162, 72, 30, 0.28);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary-wa:hover {
  background-color: var(--color-crust-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(162, 72, 30, 0.35);
}

.btn-primary-wa svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.btn-primary-wa .arrow-icon {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.btn-primary-wa:hover .arrow-icon {
  transform: translateX(3px);
}

/* Hemen Ara Butonu */
.btn-secondary-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-secondary-phone:hover {
  background-color: var(--text-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-secondary-phone svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Sağ Hero Görseli */
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  background-color: #E6DCce;
  aspect-ratio: 16 / 10;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   3. KISA TANITIM ŞERİDİ (HIGHLIGHTS STRIP)
   ========================================================================== */
.highlights-section {
  background-color: var(--bg-cream-subtle);
  border-top: 1px solid var(--border-cream);
  border-bottom: 1px solid var(--border-cream);
  padding-top: 36px;
  padding-bottom: 36px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

/* Dikey ayrıcı çizgiler (masaüstü) */
.highlight-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: var(--border-cream);
}

.highlight-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-crust);
}

.highlight-icon-box svg {
  width: 32px;
  height: 32px;
}

.highlight-text {
  display: flex;
  flex-direction: column;
}

.highlight-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.highlight-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   4 & 5. HAKKIMIZDA & FOTOĞRAF ALANI (LEZZETİN ARKASINDA EMEK VAR)
   ========================================================================== */
.about-section {
  padding-top: 72px;
  padding-bottom: 80px;
}

.about-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 38px;
  gap: 32px;
  flex-wrap: wrap;
}

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.about-lead-note {
  max-width: 380px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: right;
}

/* Hakkımızda doğal metin bloğu */
.about-narrative {
  background-color: #FAF4EB;
  border-left: 3px solid var(--color-crust);
  padding: 16px 22px;
  margin-bottom: 36px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Fotoğraf Kartları Izgarası (Öğelerle Yeni Klasör 62'deki 4 Ustalık ve Lezzet Görseli) */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.photo-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
}

.photo-card-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #E7DDCE;
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
}

.photo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-card:hover .photo-card-media img {
  transform: scale(1.03);
}

.photo-card-content {
  display: flex;
  flex-direction: column;
}

.photo-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.photo-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   YÖNETİLEBİLİR ALANLAR (ADRES & ÇALIŞMA SAATLERİ - GİZLENEBİLİR)
   Bilgi verilmediğinde varsayılan olarak gizlidir; bilgi girildiğinde gösterilir.
   ========================================================================== */
.manageable-info-section {
  display: none; /* Bilgi girilene kadar gizli */
  margin-top: 48px;
  background-color: var(--bg-cream-subtle);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-md);
  padding: 24px;
}

.manageable-info-section.is-active {
  display: block;
}

/* ==========================================================================
   6. İLETİŞİM ALANI & ALT BÖLÜM (FOOTER)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-footer);
  color: var(--text-footer);
  position: relative;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Alt kısımdaki sol buğday filigranı */
.footer-watermark {
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 100px;
  opacity: 0.12;
  pointer-events: none;
}

.footer-main-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* Sol Mesaj */
.footer-message {
  display: flex;
  flex-direction: column;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  line-height: 1.2;
}

.footer-subheading {
  font-size: 14px;
  color: var(--text-footer-muted);
}

/* Orta / Sağ İletişim Grubu */
.footer-contact-group {
  display: flex;
  align-items: center;
  gap: 36px;
}

.footer-divider-line {
  width: 1px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Doğrudan Arama Linki */
.footer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, transform 0.15s ease;
}

.footer-phone-link:hover {
  color: var(--color-gold);
  transform: translateY(-1px);
}

.footer-phone-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0.9;
}

/* WhatsApp Footer Butonu */
.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-crust);
  color: #FFFFFF;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.footer-wa-btn:hover {
  background-color: var(--color-crust-hover);
  transform: translateY(-2px);
}

.footer-wa-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Telif & Ek Bilgi */
.footer-bottom-copy {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: var(--text-footer-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   SABİT MOBİL ALT ÇUBUK (STICKY MOBILE BAR)
   Mobilde ekranın altında sabit "Ara" ve "WhatsApp" çubuğu
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(250, 246, 240, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-cream);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 16px rgba(35, 22, 15, 0.12);
}

.mobile-sticky-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.1s ease, filter 0.15s ease;
}

.sticky-btn:active {
  transform: scale(0.98);
}

/* Sol buton: Ara (Kızarmış Simit Kahvesi) */
.sticky-btn-call {
  background-color: var(--color-crust);
}

.sticky-btn-call svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Sağ buton: WhatsApp (WhatsApp Canlı Yeşili) */
.sticky-btn-wa {
  background-color: var(--wa-green);
}

.sticky-btn-wa svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   DUYARLI TASARIM (RESPONSIVE MEDIA QUERIES)
   ========================================================================== */

/* Tablet & Küçük Ekranlar (<= 992px) */
@media (max-width: 992px) {
  :root {
    --header-height: 72px;
  }

  .desktop-nav,
  .header-phone-btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-nav-drawer {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-content {
    order: 1;
  }

  .hero-image-wrapper {
    order: 2;
    aspect-ratio: 16 / 10;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .highlight-item:not(:last-child)::after {
    display: none;
  }

  .highlight-item {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-cream);
  }

  .highlight-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .about-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .about-lead-note {
    text-align: left;
  }

  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-main-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-divider-line {
    display: none;
  }

  .footer-contact-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .footer-wa-btn {
    width: 100%;
    justify-content: center;
  }

  /* Sabit alt çubuk aktifleştirilir */
  .mobile-sticky-bar {
    display: block;
  }

  /* Sayfa içeriğinin alt çubuk tarafından örtülmemesi için boşluk */
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
}

/* Mobil Telefonlar (<= 640px) */
@media (max-width: 640px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-section {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.18;
  }

  .hero-description {
    font-size: 15.5px;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-primary-wa,
  .btn-secondary-phone {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  .about-section {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .about-title {
    font-size: 28px;
  }

  .photos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .photo-card-media {
    aspect-ratio: 16 / 10;
  }

  .site-footer {
    padding-top: 38px;
    padding-bottom: 44px;
  }

  .footer-heading {
    font-size: 22px;
  }

  .footer-phone-link {
    font-size: 18px;
  }

  .footer-bottom-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
