/* Vera Kek Atölyesi - Modern Pastane Teması */
:root {
  --bg: #fffdf9;
  --card: #ffffff;
  --text: #2a2a2a;
  --muted: #6b7280;
  --brand: #e46e7e; /* pembe */
  --brand-dark: #c55363;
  --accent: #ffd166; /* limon sarısı */
  --success: #6fcf97;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Tema varyantları kaldırıldı - varsayılan rose kullanılıyor */

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Header */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  object-fit: cover;
  display: block;
  background: #fff; /* kenar şeridi için beyaz zemin */
  border: 2px solid #fff; /* temiz beyaz halka */
}
.logo-text {
  font-weight: 800;
  letter-spacing: 0.3px;
}
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.85;
}
.nav-links a.active { color: var(--brand-dark); }
.nav-links a:hover { opacity: 1; }

/* Konum Butonu */
.location-btn {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.location-btn:hover {
  transform: translateY(-1px);
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 15px rgba(228, 110, 126, 0.3);
}

.location-btn svg {
  width: 16px;
  height: 16px;
}

/* Hero */
.hero {
  padding: 72px 0 36px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 14px;
}
.hero p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 22px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border: none;
}
.btn-outline { background:#fff; }
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(228,110,126,0.12);
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.hero-media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: url('../img/anaresim.jpg') center/cover no-repeat;
}

/* Section */
.section { padding: 40px 0; }
.section h2 { margin: 0 0 10px; font-size: 28px; }
.section p.lead { color: var(--muted); margin: 0 0 22px; }

/* Product grid */
.filters { display:flex; gap:12px; flex-wrap: wrap; margin-bottom:20px; }
.chip {
  padding: 12px 20px;
  border-radius: 25px;
  border: 2px solid rgba(228, 110, 126, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  color: var(--text);
  text-decoration: none;
  display: inline-block;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(228, 110, 126, 0.15);
  border-color: rgba(228, 110, 126, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
}

.chip.active { 
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; 
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(228, 110, 126, 0.3);
  transform: translateY(-1px);
}

.chip.active:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(228, 110, 126, 0.4);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-media { aspect-ratio: 4/3; background:#f7f7f7; }
.zoomable { overflow:hidden; position: relative; }
.zoomable img { transition: transform .25s ease; }
.zoomable:hover img { transform: scale(1.05); }
.card-body { padding: 14px; }
.card-title { margin: 0 0 6px; font-size: 18px; }
.card-sub { margin: 0; color: var(--muted); font-size: 14px; }

/* Slider */
.slider { position: relative; width: 100%; height: 100%; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.slide.active { opacity: 1; }
.slider-dots { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; gap: 6px; }
.slider-dots .dot { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(255,255,255,0.7); cursor: pointer; }
.slider-dots .dot.active { background: #fff; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.contact .card { height: 100%; }
.socials { 
  display:flex; 
  gap:10px; 
  flex-wrap: wrap;
}
.card-media iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Product Detail Page */
.detail { 
  display: grid; 
  grid-template-columns: 1.2fr 1fr; 
  gap: 32px; 
  align-items: start;
}

.product-gallery {
  position: relative;
}

.product-main-image {
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #f7f7f7;
}

.product-thumbs { 
  display: flex; 
  gap: 12px; 
  margin-top: 16px; 
  overflow-x: auto;
  padding: 4px 0;
}

.product-thumbs img { 
  height: 80px; 
  width: 80px;
  border-radius: 12px; 
  cursor: pointer; 
  opacity: 0.7;
  transition: all 0.3s ease;
  object-fit: cover;
  border: 2px solid transparent;
}

.product-thumbs img:hover { 
  opacity: 0.9; 
  transform: scale(1.05);
}

.product-thumbs img.active { 
  opacity: 1;
}

.product-info {
  padding: 24px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
}

.product-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
  color: var(--text);
}

.product-categories {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 20px;
  font-weight: 500;
}

.product-description {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
  color: var(--text);
  white-space: pre-wrap;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  min-width: 200px;
  justify-content: center;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #2ed573 0%, #1a9b8a 100%);
}

.whatsapp-btn svg {
  width: 20px;
  height: 20px;
}

.back-btn {
  background: var(--card);
  color: var(--text);
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-color: var(--brand);
  color: var(--brand);
}

.back-btn svg {
  width: 18px;
  height: 18px;
}

/* Footer */
footer { padding: 28px 0 40px; color: var(--muted); font-size: 14px; text-align: center; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .contact, .detail { grid-template-columns: 1fr; }
  .contact { gap: 14px; }
  .detail { gap: 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .product-info { padding: 20px; }
  .product-title { font-size: 28px; }
}
@media (max-width: 768px) {
  .socials { 
    flex-wrap: wrap; 
    gap: 8px; 
    width: 100%;
  }
  .socials .btn { 
    flex: 1; 
    min-width: 120px; 
    justify-content: center;
    padding: 12px 16px;
    font-size: 15px;
  }
}
@media (max-width: 640px) {
  .nav-inner { flex-direction: column; gap: 10px; }
  .nav-links { flex-wrap: wrap; justify-content: center; }
  .location-btn { padding: 6px 10px; font-size: 13px; }
  .location-btn svg { width: 14px; height: 14px; }
  .hero h1 { font-size: 34px; }
  .grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .btn { padding: 11px 16px; }
  .socials { 
    flex-direction: column !important; 
    gap: 12px !important; 
    width: 100% !important; 
  }
  .socials .btn { 
    width: 100% !important; 
    justify-content: center !important; 
    padding: 16px 20px !important; 
    font-size: 16px !important;
  }
  .filters { gap: 8px; margin-bottom: 16px; }
  .chip { 
    padding: 10px 16px; 
    font-size: 13px; 
    border-radius: 20px; 
  }
  .product-info { padding: 16px; }
  .product-title { font-size: 24px; }
  .product-actions { flex-direction: column; }
  .whatsapp-btn { min-width: auto; width: 100%; }
  .back-btn { width: 100%; justify-content: center; }
  .product-thumbs img { height: 60px; width: 60px; }
}

/* Floating WhatsApp */
.fab-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.fab-whatsapp:hover { filter: brightness(0.95); }
.fab-whatsapp svg { width: 26px; height: 26px; display:block; }

.fab-top {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 60;
  background: #111827;
  color: #fff;
  border: 0;
  border-radius: 999px;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: opacity .15s ease, transform .15s ease;
}
.fab-top svg { width: 22px; height: 22px; display:block; }
.is-hidden { opacity: 0; pointer-events: none; transform: translateY(6px); }

/* Tema seçim balonu kaldırıldı */

/* Lightbox */
.lb-backdrop {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lb-backdrop.open { display: flex; }
.lb-img {
  max-width: 96vw;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: #fff;
}
.media-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

