/* ============================================================
   YKG Ambalaj — Kurumsal Site Stilleri
   Tema: Turuncu (#F2701D) + Yeşil (#2E9E4F)
   ============================================================ */

:root {
  --orange: #f2701d;
  --orange-dark: #d55a0e;
  --orange-light: #ffe8d8;
  --green: #2e9e4f;
  --green-dark: #20803c;
  --green-light: #e2f5e8;
  --ink: #1f2933;
  --ink-soft: #52606d;
  --bg: #ffffff;
  --bg-soft: #fdf8f4;
  --line: #e6e3df;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(31, 41, 51, 0.08);
  --shadow-lift: 0 16px 40px rgba(31, 41, 51, 0.14);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(242, 112, 29, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-secondary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 158, 79, 0.3);
}
.btn-secondary:hover { background: var(--green-dark); }

.btn-outline {
  border-color: var(--green);
  color: var(--green-dark);
  background: transparent;
}
.btn-outline:hover { background: var(--green); color: #fff; }

/* ---------- Bölüm başlıkları ---------- */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.section-head p { color: var(--ink-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(31, 41, 51, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.logo { display: flex; align-items: center; gap: 0.6rem; }

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.logo-text em {
  font-style: normal;
  color: var(--orange);
}

.main-nav { display: flex; align-items: center; gap: 1.6rem; }

.main-nav > a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.main-nav > a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transition: right 0.25s ease;
}

.main-nav > a:hover,
.main-nav > a.active { color: var(--ink); }

.main-nav > a:hover::after,
.main-nav > a.active::after { right: 0; }

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch button {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch button.active {
  background: var(--green);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 85% 20%, var(--orange-light), transparent 70%),
    radial-gradient(500px 350px at 10% 85%, var(--green-light), transparent 70%),
    var(--bg-soft);
  padding: 5.5rem 0 6rem;
}

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

.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: #fff;
  border: 1px solid var(--orange-light);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.hero h1 .accent-o { color: var(--orange); }
.hero h1 .accent-g { color: var(--green); }

.hero p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 1.8rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: min(420px, 100%); height: auto; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.6rem;
}

.hero-stats .stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--green-dark);
}

.hero-stats .stat span { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Ürün kartları ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.4rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--orange);
}

.product-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card:nth-child(even) .icon-wrap { background: var(--green-light); }

.product-card .icon-wrap svg { width: 38px; height: 38px; }

.product-card h3 { font-size: 1.1rem; }

.product-card p { font-size: 0.9rem; color: var(--ink-soft); flex-grow: 1; }

.product-card .card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.product-card .card-link::after { content: "→"; transition: transform 0.2s ease; }
.product-card:hover .card-link::after { transform: translateX(4px); }

/* ---------- Özellikler (Neden Biz) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature .f-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--green-light);
  color: var(--green-dark);
}

.feature:nth-child(even) .f-icon { background: var(--orange-light); color: var(--orange-dark); }

.feature h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- CTA şeridi ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--green-dark), var(--green) 55%, var(--orange));
  border-radius: calc(var(--radius) + 6px);
  padding: 3rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: #fff;
}

.cta-strip h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 0.4rem; }
.cta-strip p { opacity: 0.9; max-width: 520px; }

.cta-strip .btn {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}
.cta-strip .btn:hover { background: var(--orange-light); }

/* ---------- İç sayfa hero ---------- */
.page-hero {
  background:
    radial-gradient(500px 300px at 90% 30%, var(--orange-light), transparent 70%),
    radial-gradient(420px 280px at 8% 80%, var(--green-light), transparent 70%),
    var(--bg-soft);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.5rem; }
.page-hero p { color: var(--ink-soft); max-width: 560px; margin-inline: auto; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}

.breadcrumb a { color: var(--green-dark); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Hakkımızda ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-grid .about-art svg { width: 100%; height: auto; }

.about-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.about-text p { color: var(--ink-soft); margin-bottom: 1rem; }

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.mv-card {
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  color: #fff;
}

.mv-card.mission { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.mv-card.vision { background: linear-gradient(135deg, var(--green), var(--green-dark)); }

.mv-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.mv-card p { opacity: 0.95; font-size: 0.95rem; }

.value-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.value-item .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.value-item:nth-child(even) .dot { background: var(--green); }

/* ---------- Ürün detay ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.pd-main .pd-visual {
  background:
    radial-gradient(300px 200px at 80% 20%, var(--orange-light), transparent 70%),
    var(--green-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  margin-bottom: 2rem;
}

.pd-main .pd-visual svg { width: 160px; height: 160px; }

.pd-main h2 { font-size: 1.4rem; margin: 1.8rem 0 0.7rem; }
.pd-main p { color: var(--ink-soft); margin-bottom: 1rem; }

.uses-list { display: grid; gap: 0.7rem; margin-top: 0.5rem; }

.uses-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.uses-list li::before {
  content: "✓";
  font-weight: 700;
  color: var(--green);
}

.pd-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.pd-aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}

.pd-aside h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--orange-light);
}

.pd-aside ul { display: grid; gap: 0.25rem; }

.pd-aside a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.pd-aside a:hover { background: var(--orange-light); color: var(--ink); }

.pd-aside a.active {
  background: var(--green);
  color: #fff;
  font-weight: 600;
}

/* ---------- İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.info-cards { display: grid; gap: 1.1rem; }

.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}

.info-card .i-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--orange-light);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card:nth-child(even) .i-icon { background: var(--green-light); color: var(--green-dark); }

.info-card h3 { font-size: 0.95rem; margin-bottom: 0.15rem; }
.info-card p { font-size: 0.92rem; color: var(--ink-soft); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form h2 { font-size: 1.3rem; margin-bottom: 1.3rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--bg-soft);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-light);
  background: #fff;
}

.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.8rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #17241b;
  color: #cfd8d2;
  padding: 3.5rem 0 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.site-footer .logo-text { color: #fff; }

.footer-about p { font-size: 0.9rem; margin-top: 1rem; opacity: 0.85; }

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}

.site-footer ul { display: grid; gap: 0.45rem; }

.site-footer ul a {
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-footer ul a:hover { opacity: 1; color: var(--orange); }

.footer-contact li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9rem;
  opacity: 0.85;
  align-items: flex-start;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ---------- WhatsApp butonu ---------- */
.whatsapp-btn {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}

.whatsapp-btn:hover { transform: scale(1.08); }
.whatsapp-btn svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art svg { width: min(300px, 80%); }
  .about-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .pd-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    top: 62px;
    visibility: hidden;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2.5rem;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s;
    z-index: 99;
  }

  .main-nav.open { transform: translateX(0); visibility: visible; }

  .main-nav > a { font-size: 1.15rem; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .cta-strip { text-align: center; justify-content: center; }
  .section { padding: 3.2rem 0; }
}
