/* 
  Eskişehir Met Helvası - Modern CSS Tasarım Sistemi
  www.methelvasi.com.tr
  Version: 1.0.1
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Renk Paleti */
  --primary: #D97706;         /* Sıcak Kehribar Bal Tonu */
  --primary-hover: #B45309;
  --primary-light: #FBBF24;
  --accent: #92400E;          /* Karamel Kahve */
  --dark-bg: #221208;         /* Derin Çikolata Kahve */
  --dark-card: #2D1A0E;
  --surface: #FFFFFF;
  --background: #FFFBEB;      /* Parşömen Sıcak Krem */
  --surface-alt: #FEF3C7;
  
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --text-light: #F9FAFB;

  --border-color: #FDE68A;
  --border-subtle: #E5E7EB;

  /* Tipografi */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Efektler & Gölgeler */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(66, 32, 6, 0.06);
  --shadow-md: 0 8px 24px rgba(66, 32, 6, 0.1);
  --shadow-lg: 0 16px 36px rgba(66, 32, 6, 0.16);
  --shadow-glow: 0 0 25px rgba(217, 119, 6, 0.35);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Temel Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Konteynırlar */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Tipografi Sınıfları */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--dark-bg);
  line-height: 1.25;
}

.section-title-wrapper {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--surface-alt);
  color: var(--accent);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--dark-bg) 100%);
}

.btn-outline {
  background: transparent;
  color: var(--dark-bg);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Header & Navigasyon */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 251, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-bg);
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--dark-bg);
  cursor: pointer;
}

/* Hero Bölümü */
.hero-section {
  position: relative;
  padding: 6rem 0 5rem;
  background: radial-gradient(circle at top right, #FEF3C7 0%, #FFFBEB 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FDE68A;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-title span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.2rem;
  color: #4B5563;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--surface);
  background: var(--dark-bg);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.04);
}

.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.float-icon {
  width: 48px;
  height: 48px;
  background: var(--surface-alt);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.float-text h5 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
}

.float-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Kartlar & Ürün Grid */
.products-section {
  padding: 5rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  background: var(--dark-card);
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .card-image-wrap img {
  transform: scale(1.08);
}

.badge-featured {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--dark-bg);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #F3F4F6;
}

.card-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-bg);
}

.card-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Tarihçe & Hikaye Bölümü */
.heritage-section {
  padding: 6rem 0;
  background: var(--dark-bg);
  color: var(--text-light);
  position: relative;
}

.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.heritage-content h2 {
  color: var(--surface-alt);
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

.heritage-content p {
  color: #D1D5DB;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.heritage-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.heritage-feature-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.heritage-feature-box h4 {
  color: var(--primary-light);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.heritage-feature-box p {
  font-size: 0.9rem;
  color: #9CA3AF;
  margin-bottom: 0;
}

/* Filtreleme ve Arama Barı */
.filter-bar {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.search-box {
  position: relative;
  min-width: 260px;
}

.search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Ürün Detay Sayfası */
.detail-wrapper {
  padding: 4rem 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.detail-gallery {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--dark-bg);
  height: 450px;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info h1 {
  font-size: 2.4rem;
  color: var(--dark-bg);
  margin-bottom: 0.75rem;
}

.detail-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.detail-desc {
  font-size: 1.05rem;
  color: #4B5563;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.option-group {
  margin-bottom: 1.75rem;
}

.option-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.weight-chips {
  display: flex;
  gap: 0.75rem;
}

.chip {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  background: var(--surface);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chip.active, .chip:hover {
  border-color: var(--primary);
  background: var(--surface-alt);
  color: var(--accent);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.info-table tr {
  border-bottom: 1px solid #F3F4F6;
}

.info-table th {
  text-align: left;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  width: 35%;
}

.info-table td {
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

/* İletişim Sayfası */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.contact-card-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-card-item:last-child {
  margin-bottom: 0;
}

.card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--dark-bg);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
  background: #FAFAFA;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.toast-msg {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: none;
  font-weight: 500;
}

.toast-success {
  background: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
}

.toast-error {
  background: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #FBD5D5;
}

/* Footer */
.site-footer {
  background: var(--dark-bg);
  color: #9CA3AF;
  padding: 5rem 0 2rem;
  border-top: 3px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* Duyarlılık (Responsive Breakpoints) */
@media (max-width: 992px) {
  .hero-grid, .heritage-grid, .detail-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--background);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

/* Sticky Sabit Eylem Barı (Masaüstü ve Mobil) */
.sticky-action-bar {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sticky-call-btn {
  background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
  color: #FFFFFF;
}

.sticky-call-btn:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.4);
}

.sticky-wa-btn {
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  color: #FFFFFF;
}

.sticky-wa-btn:hover {
  background: linear-gradient(135deg, #1EBE5D 0%, #128C7E 100%);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.sticky-btn i {
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .sticky-action-bar {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(31, 41, 55, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.65rem 1rem;
    gap: 0.75rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  }

  .sticky-btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    box-shadow: none;
  }

  body {
    padding-bottom: 70px;
  }
}

