/* =========================================
   RENK PALETİ
   ========================================= */
:root {
  --bg-dark: #0B0E14;
  --bg-cream: #F7F5F0;
  --bg-white: #FFFFFF;
  --copper: #C88B54;
  --copper-hover: #B07540;
  --text-dark: #1A1D24;
  --text-light: #F7F5F0;
  --text-muted: #7A7F8D;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 30px; }

/* Başlıklar & Butonlar */
.eyebrow { display: inline-block; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--copper); margin-bottom: 10px; font-weight: 600; }
h2 { font-size: 2.5rem; margin-bottom: 15px; color: inherit; }
.section-header-split { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.view-all { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.view-all:hover { color: var(--copper); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 30px; border-radius: 30px; font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: var(--transition); border: none; font-family: var(--font-body); }
.btn-primary { background-color: var(--copper); color: #fff; box-shadow: 0 4px 15px rgba(200, 139, 84, 0.3); }
.btn-primary:hover { background-color: var(--copper-hover); transform: translateY(-2px); }
.btn-play { background: transparent; color: #fff; font-weight: 400; padding-left: 0; }
.btn-play:hover .play-icon { transform: scale(1.1); }
.play-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); transition: var(--transition); }
.btn-outline-dark { border: 1px solid var(--text-dark); color: var(--text-dark); }
.btn-outline-dark:hover { background: var(--text-dark); color: #fff; }

/* HEADER */
.site-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; width: auto; }
.main-nav ul { display: flex; gap: 35px; }
.main-nav a { font-size: 0.95rem; font-weight: 400; color: #fff; opacity: 0.8; }
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 25px; height: 2px; background: #fff; transition: var(--transition); }

/* =========================================
   HERO
   ========================================= */
.hero { position: relative; padding-top: 180px; padding-bottom: 120px; min-height: 85vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,14,20,0.9) 0%, rgba(11,14,20,0.5) 50%, rgba(11,14,20,0.2) 100%); }
.hero-content { max-width: 600px; color: #fff; }
.hero-content h1 { font-size: 4.5rem; margin-bottom: 20px; color: #fff; }
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 40px; font-weight: 300; }
.hero-btns { display: flex; gap: 20px; align-items: center; }

/* =========================================
   3D KAHVE BÖLÜMÜ
   ========================================= */
.categories { 
  background-color: var(--bg-cream); 
  padding-top: 80px; 
  padding-bottom: 150px; 
  border-top-left-radius: 50% 40px;
  border-top-right-radius: 50% 40px;
  margin-top: -40px; 
  position: relative; 
  z-index: 10;
  overflow: hidden;
}

.floating-coffee-container {
  display: flex; justify-content: center; align-items: flex-start; gap: 40px;
  perspective: 1200px; padding-top: 50px; height: 400px;
}
.floating-item {
  flex: 1; max-width: 200px; text-align: center;
  transform-style: preserve-3d; will-change: transform, opacity;
  animation: float 4s ease-in-out infinite;
}
.floating-item:nth-child(2) { animation-delay: 0.5s; }
.floating-item:nth-child(3) { animation-delay: 1s; }
.floating-item:nth-child(4) { animation-delay: 1.5s; }
.floating-item:nth-child(5) { animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.floating-item img {
  width: 100%; height: auto; aspect-ratio: 1/1.2; object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); transition: filter 0.3s;
}
.bright-filter { filter: brightness(1.65) contrast(1.15) drop-shadow(0 20px 30px rgba(0,0,0,0.15)) !important; }
.floating-item h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin-top: 20px; letter-spacing: 0.5px; }

/* NEDEN BİZ */
.why-us { background-color: var(--bg-dark); color: #fff; padding: 100px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }
.why-text h2 { font-size: 3.5rem; color: #fff; margin-bottom: 20px; }
.why-text p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.feature { display: flex; gap: 20px; align-items: flex-start; }
.icon-circle { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(200, 139, 84, 0.4); display: flex; align-items: center; justify-content: center; color: var(--copper); }
.feature span { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.4; display: block; margin-top: 5px; }

/* =========================================
   HAKKIMIZDA
   ========================================= */
.about { padding: 100px 0; background: var(--bg-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-video { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.about-video video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; display: block; }
.about-text h2 { font-size: 2.8rem; margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 15px; font-size: 0.95rem; text-align: justify; }
.about-text p strong { color: var(--text-dark); }

/* ÖNE ÇIKAN ÜRÜNLER */
.featured { background-color: var(--bg-dark); color: #fff; padding: 100px 0; }
.featured .section-header-split h2 { color: #fff; }
.featured .view-all { color: rgba(255,255,255,0.6); }
.featured .view-all:hover { color: var(--copper); }
.product-slider-wrapper { position: relative; display: flex; align-items: center; }
.product-slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; }
.product-slider::-webkit-scrollbar { display: none; }
.product-card { flex: 0 0 calc(20% - 16px); min-width: 220px; scroll-snap-align: start; background: #151A22; border-radius: 12px; overflow: hidden; transition: var(--transition); }
.product-card:hover { transform: translateY(-5px); }
.p-img { height: 250px; background: #1E242D; display: flex; align-items: center; justify-content: center; }
.p-img img { width: 100%; height: 100%; object-fit: cover; }
.p-details { padding: 20px; }
.p-details h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: #fff; margin-bottom: 15px; }
.p-bottom { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 1.1rem; font-weight: 600; color: var(--copper); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--bg-dark); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.slider-arrow.prev { left: -20px; }
.slider-arrow.next { right: -20px; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.dot.active { background: var(--copper); width: 20px; border-radius: 3px; }

/* BANNER */
.banner-section { padding: 0; background: var(--bg-dark); }
.banner-box { 
  background: url('https://images.unsplash.com/photo-1559564484-e48b3e040dc2?q=80&w=1600&auto=format&fit=crop') center/cover; 
  border-radius: 20px; padding: 80px 60px; position: relative; overflow: hidden; 
  margin-top: -30px; margin-bottom: -30px; z-index: 10; box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
}
.banner-box::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,14,20,0.95) 0%, rgba(11,14,20,0.4) 100%); }
.banner-text { position: relative; z-index: 2; max-width: 550px; color: #fff; }
.banner-text h2 { font-size: 2.5rem; margin-bottom: 15px; }
.banner-text p { color: rgba(255,255,255,0.8); margin-bottom: 30px; }

/* =========================================
   ŞUBELERİMİZ
   ========================================= */
.branches-section { background: var(--bg-cream); padding: 120px 0 100px; }
.branches-section .section-header-split h2 { color: var(--text-dark); }
.branches-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.branch-card { 
  background: var(--bg-dark); color: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.branch-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.branch-img { height: 300px; width: 100%; overflow: hidden; }
.branch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.branch-card:hover .branch-img img { transform: scale(1.05); }
.branch-content { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.branch-content h3 { font-size: 1.6rem; margin-bottom: 15px; color: #fff; }
.branch-content p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 15px; flex: 1; }
.branch-content .address { color: var(--copper); font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; margin-bottom: 5px; }
.branch-content .hours { color: var(--copper); font-size: 0.9rem; }

/* MÜŞTERİ YORUMLARI */
.testimonials { background: var(--bg-cream); padding-top: 50px; padding-bottom: 100px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.stars { color: #FFB800; font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 2px; }
.review-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 25px; font-style: italic; }
.user-info { display: flex; align-items: center; gap: 15px; }
.avatar { width: 45px; height: 45px; border-radius: 50%; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-info strong { display: block; font-size: 0.9rem; color: var(--text-dark); }
.user-info span { font-size: 0.75rem; color: var(--text-muted); }

/* NEWSLETTER & FOOTER */
.newsletter { background: var(--bg-dark); padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.news-text h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 400; }
.news-form { display: flex; flex: 1; max-width: 500px; background: rgba(255,255,255,0.05); border-radius: 30px; padding: 5px; }
.news-form input { flex: 1; background: transparent; border: none; padding: 0 20px; color: #fff; outline: none; font-family: var(--font-body); }
.news-form input::placeholder { color: rgba(255,255,255,0.4); }
.news-form .btn { padding: 10px 25px; font-size: 0.85rem; }
.site-footer { background: var(--bg-dark); color: #fff; padding: 60px 0 20px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.footer-brand img { height: 50px; margin-bottom: 15px; }
.footer-brand p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 30px; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--copper); }
.footer-social a { color: rgba(255,255,255,0.7); }
.footer-social a:hover { color: var(--copper); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--copper); }

/* =========================================
   SAYFA İÇERİKLERİ (KVKK, SSS ve ÜRÜNLER SAYFASI)
   ========================================= */
.page-content { padding-top: 150px; padding-bottom: 100px; background: var(--bg-cream); min-height: 80vh; }
.page-content h1 { font-size: 3rem; margin-bottom: 20px; color: var(--text-dark); }
.page-content h2 { font-size: 1.5rem; margin-top: 30px; margin-bottom: 15px; color: var(--copper); font-family: var(--font-body); font-weight: 600; }
.page-content p { color: var(--text-muted); margin-bottom: 15px; font-size: 1.05rem; line-height: 1.8; }
.page-content ul { list-style: disc; margin-left: 20px; color: var(--text-muted); margin-bottom: 20px; }
.page-content li { margin-bottom: 10px; }

/* SSS Accordion */
.faq-item { background: #fff; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #eee; overflow: hidden; }
.faq-item summary { padding: 20px; font-size: 1.1rem; font-weight: 500; cursor: pointer; list-style: none; position: relative; color: var(--text-dark); outline: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--copper); transition: var(--transition); }
.faq-item[open] summary::after { content: '-'; transform: translateY(-50%) rotate(180deg); }
.faq-item p { padding: 0 20px 20px 20px; margin: 0; color: var(--text-muted); font-size: 0.95rem; border-top: 1px solid #f5f5f5; padding-top: 15px; }

/* ÜRÜNLER SAYFASI GRID (YENİ EKLENDİ) */
.products-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.products-page-grid .product-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
}
.products-page-grid .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.products-page-grid .p-img {
  height: 280px;
  background: #f9f9f9;
  padding: 10px;
}
.products-page-grid .p-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.products-page-grid .p-details {
  padding: 20px;
}
.products-page-grid .p-details h3 {
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
}

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1 !important; transform: translateY(0) !important; }

/* MOBİL UYUM */
@media (max-width: 1100px) {
  .floating-coffee-container { gap: 20px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-card { flex: 0 0 calc(33.33% - 14px); }
  .branches-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header-inner { justify-content: space-between; }
  .nav-toggle { display: flex; }
  .main-nav { position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-dark); padding: 20px; display: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 20px; }
  
  .hero-content h1 { font-size: 3rem; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  
  .floating-coffee-container { flex-wrap: wrap; height: auto; gap: 30px; }
  .floating-item { flex: 0 0 40%; }
  
  .about-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .product-card { flex: 0 0 calc(50% - 10px); }
  .slider-arrow { display: none; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .news-form { width: 100%; }
  .footer-top { flex-direction: column; gap: 30px; text-align: center; align-items: center; }
  .footer-links { flex-direction: column; gap: 15px; }
}
/* =========================================
   3D PARALLAX GALERİ (ÖNE ÇIKAN ÜRÜNLER)
   ========================================= */
.featured-3d-section {
  position: relative;
  height: 250vh; /* Kaydırma efekti için uzun bir alan */
  background: var(--bg-dark);
}

.featured-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.featured-header {
  position: absolute;
  top: 15%;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}
.featured-header h2 {
  color: #fff;
  font-size: 3rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.gallery-3d-wrapper {
  perspective: 1200px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-3d-grid {
  display: flex;
  gap: 20px;
  transform-style: preserve-3d;
  will-change: transform;
  transform-origin: center center;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 220px;
  will-change: transform;
}

.gallery-col img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* Resimlerin aydınlık ve canlı görünmesi için filtre */
  filter: brightness(1.1) contrast(1.05); 
}

/* Mobilde galeriyi gizle veya küçült (ekranı kaplamasın diye) */
@media (max-width: 992px) {
  .gallery-col { width: 150px; }
  .gallery-col img { height: 200px; }
  .featured-header h2 { font-size: 2rem; }
}
/* =========================================
   ÜRÜNLER SAYFASI FİLTRE VE LIGHTBOX
   ========================================= */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--copper);
  color: var(--text-dark);
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 4px 15px rgba(200, 139, 84, 0.3);
}

/* Ürün kartlarına tıklama efekti (cursor) */
.products-page-grid .product-card {
  cursor: pointer;
}

/* LIGHTBOX (Büyütme Ekranı) Stilleri */
.lightbox {
  display: none; /* Başlangıçta gizli */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 14, 20, 0.95); /* Koyu arka plan */
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  text-align: center;
  max-width: 90%;
  max-height: 90vh;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lightbox-content h3 {
  color: #fff;
  margin-top: 20px;
  font-size: 1.8rem;
  font-family: var(--font-heading);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--copper);
}