@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #181716;
  --muted: #726e68;
  --coffee: #8c532b;      /* Özel sıcak kahverengi tonumuz */
  --coffee-dark: #633616;
  --line: #ede8e1;        /* Sıcak krem kenarlık */
  --bg: #f9f7f4;          /* Sıcak kum / krem arka plan */
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* 1. GENEL SAYFA ARKA PLANI */
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background-color: #f9f7f4;
  background-attachment: fixed;
  animation: pageFadeIn 0.6s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

a { text-decoration: none; color: inherit; }
.container { width: min(1180px, calc(100% - 36px)); margin: auto; }

/* 2. HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 247, 244, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 155px; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav a { padding: 10px 0; position: relative; }
.nav a:hover { color: var(--coffee); }
.nav a:after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 2px; background: var(--coffee); transition: .2s; }
.nav a:hover:after { right: 0; }
.menu-toggle { display: none; border: 0; background: none; font-size: 28px; }

/* 3. HERO (ARKADA YAVAŞÇA YÜZEN KAHVE ÇEKİRDEKLERİ DESENİ) */
.hero {
  padding: 100px 0 82px;
  background-color: #f9f7f4;
  /* Silik kahve çekirdeği SVG deseni */
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%238c532b' fill-opacity='0.06'%3E%3Cpath d='M30 20c-8 0-14 8-14 16s6 16 14 16 14-8 14-16-6-16-14-16zm0 28c-6 0-10-6-10-12s4-12 10-12c1 3 1 7 0 12s-1 9 0 12zm60 40c-8 0-14 8-14 16s6 16 14 16 14-8 14-16-6-16-14-16zm0 28c-6 0-10-6-10-12s4-12 10-12c1 3 1 7 0 12s-1 9 0 12z'/%3E%3Cpath d='M95 25c-6 6-6 16 0 22s16 6 22 0 6-16 0-22-16-6-22 0zm16 16c-4 4-11 4-15 0s-4-11 0-15c3 1 7 2 10 5s4 7 5 10zM35 85c-6 6-6 16 0 22s16 6 22 0 6-16 0-22-16-6-22 0zm16 16c-4 4-11 4-15 0s-4-11 0-15c3 1 7 2 10 5s4 7 5 10z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 160px;
  animation: moveCoffeeBeans 45s linear infinite;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

@keyframes moveCoffeeBeans {
  0% { background-position: 0 0; }
  100% { background-position: 320px 320px; }
}

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 60px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 800; color: var(--coffee); }

/* KAHVERENGİ BAŞLIK VE İMLEÇ */
h1, .typing-heading {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  margin: 14px 0 20px;
  letter-spacing: -2px;
  color: var(--coffee) !important;
  font-weight: 800;
  display: inline-block;
  min-height: 1.2em;
}

.typewriter-cursor {
  display: inline-block;
  font-weight: 300;
  color: var(--coffee);
  animation: blinkCursor 0.8s infinite;
  margin-left: 4px;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero p { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 650px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

/* 4. SADE & ŞIK BEYAZ LOGO KARTI */
.hero-card {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  margin: 0 auto;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(140, 83, 43, 0.08);
}

.hero-card img {
  display: block;
  max-width: 100%;
  max-height: 190px;
  object-fit: contain;
}

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 10px; background: var(--coffee); color: #fff; font-weight: 600; font-size: 14px; transition: .2s; }
.btn:hover { transform: translateY(-2px); background: var(--coffee-dark); }
.btn.light { background: #fff; color: var(--coffee); border: 1px solid var(--line); }

/* 5. SECTIONS & KATEGORİ KARTLARI */
.section { padding: 82px 0; position: relative; }
.section:nth-of-type(even) { background: rgba(255, 255, 255, 0.45); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: 32px; letter-spacing: -1px; color: var(--ink); }
.section-head p { margin: 8px 0 0; color: var(--muted); line-height: 1.6; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.category-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-number { 
  font-size: 13px; 
  color: var(--coffee); 
  font-weight: 800; 
  letter-spacing: 1px;
}

.cat-arrow {
  font-size: 16px;
  font-weight: 700;
  color: #a8a39d;
  transition: transform 0.3s ease, color 0.3s ease;
}

.category-card h3 { 
  font-size: 17px; 
  line-height: 1.35; 
  margin: 18px 0 8px; 
  color: var(--ink); 
  font-weight: 700;
  transition: color 0.25s ease;
}

.cat-link { 
  font-size: 13px; 
  color: var(--muted); 
  font-weight: 500;
  transition: color 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(140, 83, 43, 0.08);
  border-color: rgba(140, 83, 43, 0.35);
}

.category-card:hover .cat-arrow {
  color: var(--coffee);
  transform: translate(2px, -2px);
}

.category-card:hover h3,
.category-card:hover .cat-link {
  color: var(--coffee);
}

.about-box { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 42px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02); }
.about-box p { color: #55586a; line-height: 1.9; margin: 0 0 14px; }

/* --- İLETİŞİM ŞERİDİ & BUTONLARI (DÜZELTİLDİ) --- */
.contact-strip { 
  background: var(--coffee) !important; 
  color: #fff !important; 
  border-radius: 24px; 
  padding: 40px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 30px; 
}

.contact-strip h2 {
  color: #ffffff !important;
}

.contact-strip p { 
  margin: 8px 0 0; 
  color: #f5ebe3 !important; 
}

.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 1. WhatsApp Butonu: Yeşil Zemin + Beyaz Yazı */
.contact-actions a[href*="wa.me"],
.contact-actions .btn-whatsapp {
  background-color: #25D366 !important;
  color: #ffffff !important;
  border: 1px solid #25D366 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3) !important;
}

.contact-actions a[href*="wa.me"]:hover,
.contact-actions .btn-whatsapp:hover {
  background-color: #1ebc59 !important;
  transform: translateY(-2px);
}

/* 2. E-posta Butonu: Beyaz Zemin + Koyu Kahve Yazı */
.contact-strip .btn.light {
  background-color: #ffffff !important;
  color: var(--coffee) !important;
  border: 1px solid #ffffff !important;
  font-weight: 700 !important;
}

.contact-strip .btn.light:hover {
  background-color: #f4f0ea !important;
  color: var(--coffee-dark) !important;
  transform: translateY(-2px);
}

.page-hero { padding: 62px 0 44px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 44px; margin: 10px 0; color: var(--coffee); }
.breadcrumb { font-size: 13px; color: var(--muted); }

/* 6. ÜRÜN GRİDİ & KARTLARI */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
  border-color: #dcd6cc;
}

.product-image { height: 245px; background: #ffffff; display: flex; align-items: center; justify-content: center; padding: 18px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }

.product-info { padding: 18px; }
.product-info h3 { font-size: 15px; line-height: 1.45; margin: 0 0 10px; color: var(--ink); }
.product-info p { font-size: 12px; color: var(--muted); margin: 0; }
.product-card:after { content: "Detayları görüntüle"; display: block; font-size: 11px; color: var(--coffee); font-weight: 700; padding: 0 18px 16px; }

.empty { padding: 50px; background: #fff; border: 1px dashed #ccc; border-radius: 18px; text-align: center; color: var(--muted); }
.about-page { max-width: 850px; }
.about-page p { line-height: 1.9; color: #565869; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.info-card h3 { margin-top: 0; }
.info-card a { color: var(--coffee); font-weight: 700; }
.contact-form { display: grid; gap: 14px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font: inherit; background: #ffffff; }
.contact-form textarea { min-height: 140px; resize: vertical; }

/* 7. FOOTER */
.footer { margin-top: 40px; background: #141312; color: #fff; padding-top: 55px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 45px; }
.footer-logo { width: 150px; background: #fff; border-radius: 8px; padding: 8px; }
.footer p { color: #a49e96; line-height: 1.7; max-width: 400px; }
.footer h3 { font-size: 14px; margin-top: 0; color: #ffffff; }
.footer a { display: block; color: #a49e96; margin: 10px 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.copyright { text-align: center; border-top: 1px solid #282624; padding: 20px; color: #726e68; font-size: 12px; }

/* 8. MODAL & SEARCH */
.modal { position: fixed; inset: 0; background: rgba(8, 8, 20, 0.65); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.modal.open { display: flex; }
.modal-box { width: min(850px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: 24px; position: relative; padding: 28px; }
.modal-close { position: absolute; right: 16px; top: 12px; border: 0; background: #f1f1f5; border-radius: 50%; width: 38px; height: 38px; font-size: 22px; cursor: pointer; }
.modal-content { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.modal-content img { width: 100%; height: 420px; object-fit: contain; }
.modal-content h2 { font-size: 28px; line-height: 1.2; color: var(--coffee); }
.modal-content p { color: var(--muted); line-height: 1.7; }
.search-row { display: flex; gap: 12px; margin-bottom: 22px; }
.search-row input { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font: inherit; background: #fff; }

.catalog-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-bottom: 34px; }
.catalog-intro-card { background: linear-gradient(135deg, #181716, #2d2925); color: #fff; border-radius: 24px; padding: 34px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12); }
.catalog-intro-card h2 { margin: 0 0 10px; font-size: 28px; letter-spacing: -.7px; color: #fff; }
.catalog-intro-card p { margin: 0; color: #c4bfb8; line-height: 1.75; }
.catalog-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.stat-card strong { font-size: 30px; color: var(--coffee); letter-spacing: -1px; }
.stat-card span { font-size: 12px; color: var(--muted); margin-top: 6px; }
.catalog-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 34px; }
.catalog-category { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; justify-content: space-between; gap: 10px; align-items: center; transition: .2s; }
.catalog-category:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(0, 0, 0, 0.05); }
.catalog-category b { font-size: 14px; }
.catalog-category span { font-size: 12px; color: var(--muted); }

/* 9. RESPONSIVE / MOBİL */
@media(max-width: 900px) {
  .catalog-intro { grid-template-columns: 1fr; }
  .catalog-categories { grid-template-columns: repeat(2, 1fr); }
  .category-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 650px) {
  .container { width: min(100% - 24px, 1180px); }
  .nav-wrap { padding: 0 2px; }
  .hero-inner { gap: 28px; }
  .hero h1 { letter-spacing: -1.5px; }
  .hero p { font-size: 15px; }
  .hero-card { padding: 24px; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 27px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-card { min-height: 140px; padding: 18px 16px; border-radius: 14px; }
  .product-image { height: 205px; padding: 14px; }
  .product-info { padding: 15px; }
  .product-info h3 { font-size: 14px; }
  
  .nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .product-grid, .info-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 55px 0; }
  .contact-strip { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-content { grid-template-columns: 1fr; }
  .modal-content img { height: 300px; }
}

@media(max-width: 430px) {
  .category-grid, .product-grid { grid-template-columns: 1fr; }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 135px; }
  h1 { font-size: 38px; }
}


/* İLETİŞİM SAYFASINDAKİ (iletisim.html) BİLGİ KARTLARI BUTON DÜZELTMESİ */
.info-card a {
  display: inline-block !important;
  background-color: #25D366 !important; /* Net WhatsApp Yeşili */
  color: #ffffff !important;           /* Net Beyaz Yazı */
  padding: 12px 20px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  margin: 10px 0 !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25) !important;
  transition: all 0.25s ease !important;
}

.info-card a:hover {
  background-color: #1ebc59 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* EYSAA GRUP LOGO MAVİSİ */
.eyebrow {
  color: #0b5c9e !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
}

/* Netlify rozetini ve kutucuğunu tamamen gizle */
#netlify-drawer,
div[data-netlify-deploy-id],
div[class*="netlify"],
iframe[src*="netlify"],
.netlify-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}