/* =========================================================
   YEMKA — Tasarım Sistemi
   Palet: Lacivert #011B46 (marka/güven) + Turuncu #EF7F1A (enerji/tarım)
   Tipografi: Display = "Fraunces" (organik, tarım/toprak hissi veren
   serif) + Body = "Inter" (okunaklı, teknik güven hissi)
   ========================================================= */

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

:root {
  /* Marka renkleri */
  --navy: #011B46;
  --navy-light: #0A2C63;
  --navy-dark: #010F2B;
  --orange: #EF7F1A;
  --orange-light: #FF9B42;
  --orange-dark: #C8650A;

  /* Nötrler */
  --cream: #F7F4EC;
  --wheat: #EFE7D3;
  --ink: #12181F;
  --gray-600: #5B6472;
  --gray-400: #9AA2AD;
  --gray-200: #E4E3DE;
  --white: #FFFFFF;

  /* Tipografi */
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  /* Diğer */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(1, 27, 70, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(1, 27, 70, 0.35);
  --container: 1240px;
  --transition: 220ms cubic-bezier(.4,0,.2,1);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--wheat); transform: translateY(-2px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 32px;
}
.logo img { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--navy);
  background: none; border: none; transition: background var(--transition);
}
.nav-item > a:hover, .nav-item:hover > button { background: var(--wheat); }
.nav-item .chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--transition); }
.nav-item:hover .chev { transform: rotate(225deg); }

.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 560px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  border-top: 3px solid var(--orange);
}
.nav-item:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-menu h4 {
  font-family: var(--font-body);
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gray-400); margin-bottom: 12px; font-weight: 700;
}
.mega-menu ul li a {
  display: block; padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 15px; color: var(--ink); font-weight: 500;
  transition: all var(--transition);
}
.mega-menu ul li a:hover { background: var(--cream); color: var(--orange-dark); padding-left: 14px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 11px 22px; font-size: 14px; }

.mobile-toggle { display: none; background: none; border: none; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: var(--transition); }

/* =========================================================
   HERO / SLIDER
   ========================================================= */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 700ms ease;
}
.hero-slide.active { opacity: 1; visibility: visible; position: relative; }
.hero-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(1,27,70,.92) 0%, rgba(1,27,70,.55) 55%, rgba(1,27,70,.25) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 620px;
  padding: 100px 24px;
  color: var(--white);
}
.hero-content .eyebrow { color: var(--orange-light); }
.hero-content .eyebrow::before { background: var(--orange-light); }
.hero-content h1 { color: var(--white); font-size: 48px; margin-bottom: 20px; }
.hero-content p { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 480px; }

.hero-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; padding: 0; transition: var(--transition); }
.hero-dots button.active { background: var(--orange); width: 28px; border-radius: 6px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: var(--transition); }
.hero-arrow:hover { background: var(--orange); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* =========================================================
   SECTIONS — genel
   ========================================================= */
.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--gray-600); font-size: 17px; }
.section-navy .section-head p { color: rgba(255,255,255,.75); }

/* =========================================================
   ÜRÜN KATEGORİLERİ / TÜR ŞERİDİ
   ========================================================= */
.species-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.species-pill {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--gray-200);
  font-weight: 600; font-size: 14px; color: var(--navy); transition: all var(--transition);
}
.species-pill:hover, .species-pill.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 32px 24px; transition: all var(--transition);
}
.cat-card:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-4px); }
.cat-card .cat-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--wheat);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  color: var(--orange-dark); font-size: 22px; font-weight: 700;
}
.cat-card h3 { font-size: 20px; margin-bottom: 10px; }
.cat-card p { color: var(--gray-600); font-size: 14px; margin-bottom: 18px; }
.cat-card .link { color: var(--orange-dark); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* =========================================================
   ÜRÜN VİTRİN (büyük görsel + metin)
   ========================================================= */
.showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.showcase-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }
.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }
.showcase-text h2 { font-size: 34px; }
.showcase-text p { color: var(--gray-600); font-size: 17px; margin-bottom: 28px; }

/* =========================================================
   ÜRÜN KARTLARI (grid)
   ========================================================= */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-200); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.product-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--wheat); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.product-card .tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-dark); margin-bottom: 8px; }
.product-card h3 { font-size: 19px; margin-bottom: 8px; }
.product-card p { color: var(--gray-600); font-size: 14px; margin-bottom: 18px; flex: 1; }
.product-card .link { font-weight: 700; font-size: 14px; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.product-card .link::after { content: '→'; transition: transform var(--transition); }
.product-card:hover .link::after { transform: translateX(4px); }

/* =========================================================
   ÇÖZÜMLER / BLOG KARTLARI
   ========================================================= */
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 16px; background: var(--wheat); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .meta { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--orange-dark); margin-bottom: 10px; flex-wrap: wrap; }
.post-card .meta .dot { color: var(--gray-400); }
.post-card h3 { font-size: 17px; margin-bottom: 0; }

/* =========================================================
   HAKKIMIZDA
   ========================================================= */
.about-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-media::before {
  content: ''; position: absolute; top: -20px; right: -20px; width: 70%; height: 70%;
  border: 3px solid var(--orange); border-radius: var(--radius); z-index: -1;
}
.about-text p { color: rgba(255,255,255,.8); font-size: 16px; margin-bottom: 20px; }
.about-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px;
  padding: 14px 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm); font-size: 14px;
}

/* =========================================================
   KARİYER CTA
   ========================================================= */
.career-banner {
  position: relative; border-radius: 24px; overflow: hidden; min-height: 340px;
  display: flex; align-items: center; padding: 0 64px;
}
.career-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.career-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,27,70,.92), rgba(1,27,70,.5)); }
.career-banner .content { position: relative; z-index: 2; color: var(--white); max-width: 480px; }
.career-banner .content .eyebrow { color: var(--orange-light); }
.career-banner .content h2 { color: var(--white); }
.career-banner .content p { color: rgba(255,255,255,.85); margin-bottom: 28px; }

/* =========================================================
   E-BÜLTEN
   ========================================================= */
.newsletter { background: var(--wheat); border-radius: 24px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.newsletter h2 { font-size: 30px; }
.newsletter p { color: var(--gray-600); }
.nform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nform .full { grid-column: 1 / -1; }
.nform input, .nform select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--gray-200);
  font-family: inherit; font-size: 15px; background: var(--white);
}
.nform input:focus, .nform select:focus { outline: none; border-color: var(--orange); }
.nform label.check { grid-column: 1/-1; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gray-600); }
.nform label.check input { width: auto; margin-top: 3px; }
.nform button { grid-column: 1/-1; }
.form-msg { grid-column: 1/-1; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; }
.form-msg.ok { background: #E4F4E9; color: #1B7A3D; }
.form-msg.err { background: #FBE7E4; color: #B23A24; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo img { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-grid p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--orange-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; font-size: 13px; }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 15px; }
.social-row a:hover { background: var(--orange); }

/* =========================================================
   İÇ SAYFA / DETAY SAYFA HEADER
   ========================================================= */
.page-hero { background: var(--navy); padding: 72px 0 48px; color: var(--white); position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(239,127,26,.25), transparent 70%);
}
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--orange-light); }
.page-hero h1 { color: var(--white); font-size: 38px; margin-bottom: 0; }

.detail-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; padding: 72px 0; }
.detail-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 110px; }
.detail-body h2 { font-size: 26px; }
.detail-body .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.detail-body .tags span { padding: 6px 14px; background: var(--wheat); border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--orange-dark); }
.detail-body .content { color: var(--gray-600); font-size: 16px; }
.detail-body .content p { margin-bottom: 16px; }

.article-wrap { max-width: 780px; margin: 0 auto; padding: 64px 24px; }
.article-wrap .content { font-size: 17px; color: var(--ink); }
.article-wrap .content p { margin-bottom: 20px; }
.article-wrap img { border-radius: var(--radius); margin: 32px 0; }

.empty-state { text-align: center; padding: 80px 24px; color: var(--gray-600); }
.empty-state h3 { color: var(--navy); }

/* Sayfalama */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; border: 1.5px solid var(--gray-200); }
.pagination a:hover { border-color: var(--orange); color: var(--orange-dark); }
.pagination .current { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase, .about-wrap, .detail-wrap { grid-template-columns: 1fr; }
  .showcase-media { order: -1; }
  .newsletter { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-actions .btn-outline { display: none; }
  .mobile-toggle { display: block; }
  .hero-content h1 { font-size: 32px; }
  .hero { min-height: 480px; }
  .section { padding: 64px 0; }
  .cat-grid, .product-grid, .post-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .career-banner { padding: 0 28px; text-align: left; }
  .nform { grid-template-columns: 1fr; }
}
