/* ==========================================================================
   LOQMAH TR - RESMİ STİL DOSYASI (style.css)
   ========================================================================== */

/* 1. RENK PALETİ VE DEĞİŞKENLER */
:root {
  --primary-color: #3E2723;   /* Derin Çikolata Kahvesi */
  --accent-color: #FFB300;    /* Lokma Altın Sarısı / Premium Bal */
  --bg-light: #FAFAFA;        /* Kırık Beyaz (Gözü yormayan arka plan) */
  --text-dark: #212121;       /* Koyu Gri/Siyah (Okunabilirlik için) */
  --text-muted: #757575;      /* Açıklama Metinleri İçin Gri */
  --white: #FFFFFF;
  --font-main: 'Poppins', sans-serif;
}

/* 2. TEMEL SIFIRLAMA (RESET) VE GENEL AYARLAR */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ORTAK BUTON TASARIMLARI */
.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 179, 0, 0.4);
}

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 26px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-sm {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-sm:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* 3. NAVİGASYON (HEADER) TASARIMI */
.main-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.logo a {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--primary-color);
  padding: 5px 0;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover, 
.nav-links a.active {
  color: var(--accent-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.hamburger .bar {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* 4. HERO (GİRİŞ) ALANI TASARIMI */
.hero {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-content h1 {
  font-size: 48px;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content .highlight {
  color: var(--accent-color);
}

.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* 5. ÖNE ÇIKAN ÖZELLİKLER (FEATURES) TASARIMI */
.features {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(62, 39, 35, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(62, 39, 35, 0.08);
}

.feature-card .icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ==========================================================================
   6. ÜRÜNLER SAYFASI MASAÜSTÜ TASARIM KODLARI
   ========================================================================== */
/* ==========================================================================
   ÜRÜNLER SAYFASI - ZAMAN AKIŞI (TIMELINE) TASARIMI
   ========================================================================== */

.products-hero {
  text-align: center;
  padding: 60px 20px 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.products-hero h1 {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.products-hero p {
  color: var(--text-muted);
  font-size: 16px;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.product-showcase {
  margin-bottom: 80px;
}

.product-main-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(62, 39, 35, 0.1);
  padding-bottom: 15px;
  margin-bottom: 60px;
}

.product-main-info h2 {
  font-size: 28px;
  color: var(--primary-color);
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
  background-color: var(--primary-color);
  padding: 5px 20px;
  border-radius: 20px;
}

/* ANA ZAMAN AKIŞI ÇİZGİSİ (Masaüstünde Tam Ortadan Geçer) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  opacity: 0.15;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

/* Her Bir Satır / Öğe */
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%; /* Ekranın yarısını kaplar */
}

/* Ortadaki Yuvarlak Numaralar */
.timeline-dot {
  position: absolute;
  width: 40px;
  height: 40px;
  right: -20px; /* Çizginin tam üzerine oturtma */
  top: 30px;
  background-color: var(--accent-color);
  border: 4px solid var(--white);
  color: var(--primary-color);
  font-weight: 700;
  border-radius: 50%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(255, 179, 0, 0.3);
}

/* Soldaki Elemanların Hizalaması */
.timeline-item.left {
  left: 0;
}

/* Sağdaki Elemanların Hizalaması */
.timeline-item.right {
  left: 50%;
}

/* Sağdaki elemanın numarası sol tarafa gelmeli */
.timeline-item.right .timeline-dot {
  left: -20px;
}

/* Kart İçeriği */
.timeline-content {
  padding: 25px;
  background-color: var(--white);
  position: relative;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(62, 39, 35, 0.05);
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Son Elemanı (Bitmiş Hali) Vurgulama */
.timeline-item.final-item .timeline-content {
  border: 2px solid var(--accent-color);
  box-shadow: 0 15px 35px rgba(255, 179, 0, 0.1);
}

.timeline-item.final-item .timeline-dot {
  background-color: var(--primary-color);
  color: var(--accent-color);
}

/* Kart İçindeki Görsel Alanı */
.timeline-img {
  flex: 0 0 140px;
  height: 140px;
  background-color: var(--bg-light);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.timeline-img img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.timeline-text h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.timeline-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(62, 39, 35, 0.2), transparent);
  margin: 60px 0;
}

/* ==========================================================================
   ZAMAN AKIŞI TAM MOBİL UYUMLULUK AYARLARI (style.css'teki @media içine ekle)
   ========================================================================== */
@media (max-width: 768px) {
  /* Çizgiyi ekranın sol tarafına yasla */
  .timeline::after {
    left: 31px;
  }

  /* Kartları tam genişlik yap */
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Sağdaki elemanların hizasını sıfırla */
  .timeline-item.right {
    left: 0;
  }

  /* Tüm numaraları sol çizgide eşitle */
  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 11px;
    right: auto;
  }

  /* Mobilde kart içindeki görsel ve yazıyı alt alta getir */
  .timeline-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .timeline-img {
    width: 100%;
    flex: none;
    height: 160px;
  }
}

/* LOGO GÖRSEL AYARLARI */
.logo a {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 65px;         /* Yüksekliği biraz daha artırarak logoyu belirginleştirdik */
  width: 160px;         /* Logonun yatayda daha geniş ve uzun durması için sabit genişlik verdik */
  object-fit: contain;  /* Logonun sünmesini, basıklaşmasını önler, kutuya en iyi şekilde sığdırır */
  object-position: left center; /* Logoyu sola hizalayarak boşlukları minimize eder */
  transition: transform 0.3s ease;
}

/* Kullanıcı logonun üzerine geldiğinde hafif büyüme efekti (Şık bir UX dokunuşu) */
.logo-img:hover {
  transform: scale(1.05);
}

/* MOBİL İÇİN LOGO BOYUTU */
@media (max-width: 768px) {
  .logo-img {
    height: 50px;       /* Mobilde de dikeyde taşma yapmaması için ideal boyut */
    width: 130px;       /* Ekranı kapatmaması için genişliği hafifçe daralttık */
  }
}

/* ==========================================================================
   İLETİŞİM SAYFASI ÖZEL TASARIM KODLARI (FORM OLMADAN SADE HALİ)
   ========================================================================== */

.contact-hero {
  text-align: center;
  padding: 60px 20px 20px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-hero p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Form kalktığı için container yapısını tek sütun yapıp ortaladık */
.contact-container.minimal-contact {
  max-width: 600px; /* Okunabilir şık bir genişlik */
  margin: 40px auto;
  padding: 0 20px;
  display: block; 
}

.contact-info-panel {
  background-color: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(62, 39, 35, 0.05);
  text-align: center; /* Başlıkları ortaladık */
}

.contact-info-panel h2 {
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-subtext {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 35px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
  text-align: left; /* Adres ve telefon metinleri sola yatık kalsın, daha okunaklı olur */
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: center;
}

.info-icon {
  font-size: 24px;
  background-color: var(--bg-light);
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%; /* Yuvarlak ikon kutuları */
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
  border: 1px solid rgba(62, 39, 35, 0.05);
  flex-shrink: 0;
}

.info-text h3 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.info-text p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Sosyal Medya Butonları */
.social-media-box {
  border-top: 1px solid rgba(62, 39, 35, 0.08);
  padding-top: 30px;
}

.social-media-box h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-btn {
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  transition: all 0.3s ease;
  display: inline-block;
  flex: 1; /* Butonlar eşit genişlikte olsun */
  max-width: 220px;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.whatsapp {
  background-color: #25D366;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Harita Alanı */
.map-section {
  margin-top: 60px;
  line-height: 0;
}

/* ==========================================================================
   İLETİŞİM MOBİL UYUMLULUK KODLARI (style.css'teki @media içine ekle)
   ========================================================================== */
@media (max-width: 768px) {
  .contact-container.minimal-contact {
    padding: 0 20px;
    margin: 20px auto;
  }

  .contact-info-panel {
    padding: 30px 20px;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .social-btn {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .map-section iframe {
    height: 320px;
  }
}

.social-btn.yemeksepeti {
  background-color: #ea004b; /* Yemeksepeti Resmi Pembe/Kırmızı Tonu */
}

.social-btn i {
  margin-right: 8px; /* Logoyla yazı arasında şık bir boşluk bırakır */
  font-size: 16px;   /* Logonun boyutunu ayarlar */
}

/* ==========================================================================
   FOOTER VE HARİTA HİZALAMA KODLARI (style.css dosyanın en altına ekle)
   ========================================================================== */

/* Harita bölümünün altındaki boşlukları sıfırlayarak footer'a pürüzsüz bağlayalım */
.map-section {
  width: 100%;
  margin-top: 60px;
  line-height: 0;
  display: block;
}

.map-section iframe {
  display: block;
  width: 100%;
}

/* Kaybolan Footer Tasarımını Geri Getiren Kodlar */
footer {
  background-color: var(--primary-color) !important; /* Derin Çikolata Kahvesi */
  color: var(--white) !important;                    /* Beyaz Yazı */
  text-align: center !important;
  padding: 30px 20px !important;
  margin-top: 0 !important;                          /* Haritaya tam sıfır yapışması için */
  font-size: 14px !important;
  width: 100% !important;
  display: block !important;
  position: relative !important;
  clear: both !important;                            /* Üstteki elemanların kaymasını engeller */
}

footer p {
  margin: 0;
  padding: 0;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.5px;
}