/* Akyol Home v3 — modern industrial landing
   Light paper + steel navy. Brand-first hero. No card dump. */

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

:root {
  --ak-ink: #0f1c2a;
  --ak-ink-soft: #334155;
  --ak-paper: #f3f5f7;
  --ak-paper-2: #e8eef2;
  --ak-steel: #16324a;
  --ak-accent: #0d7a84;
  --ak-accent-2: #0a5f67;
  --ak-line: #c9d4de;
  --ak-white: #ffffff;
  --ak-max: 1120px;
  --ak-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ak-display: "Manrope", "Figtree", "Segoe UI", sans-serif;
  --ak-body: "Figtree", "Manrope", "Segoe UI", sans-serif;
}

body.home-v3 {
  margin: 0;
  font-family: var(--ak-body);
  color: var(--ak-ink);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(13, 122, 132, 0.08), transparent 55%),
    radial-gradient(700px 380px at 0% 40%, rgba(22, 50, 74, 0.06), transparent 50%),
    var(--ak-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.home-v3.akyol-has-fixed-header {
  padding-top: 88px;
}
@media (max-width: 900px) {
  body.home-v3.akyol-has-fixed-header {
    padding-top: 72px;
  }
}

body.home-v3 main {
  display: block;
}

/* —— HERO —— */
body.home-v3 .hero {
  position: relative;
  isolation: isolate;
  contain: layout paint;
  min-height: min(78vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #f4f8fb;
  background: var(--ak-steel);
  border: none !important;
}

body.home-v3 .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

body.home-v3 .hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  animation: akyolHeroBg 19s infinite;
}

body.home-v3 .hero-bg-slide:nth-child(1) { animation-delay: 0s; }
body.home-v3 .hero-bg-slide:nth-child(2) { animation-delay: 3.8s; }
body.home-v3 .hero-bg-slide:nth-child(3) { animation-delay: 7.6s; }
body.home-v3 .hero-bg-slide:nth-child(4) { animation-delay: 11.4s; }
body.home-v3 .hero-bg-slide:nth-child(5) { animation-delay: 15.2s; }

@keyframes akyolHeroBg {
  0%, 16% { opacity: 1; }
  20%, 100% { opacity: 0; }
}

body.home-v3 .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
  pointer-events: none;
}

body.home-v3 .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, rgba(10, 24, 38, 0.88) 22%, rgba(10, 24, 38, 0.48) 58%, rgba(10, 24, 38, 0.28) 100%);
  pointer-events: none;
}

body.home-v3 .hero-inner {
  position: relative;
  z-index: 3;
  width: min(var(--ak-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 32px;
  text-align: left;
}

body.home-v3 .hero-brand {
  font-family: var(--ak-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 18px;
  color: #fff;
  animation: akRise 0.8s var(--ak-ease) both;
}

body.home-v3 .hero-brand span {
  display: block;
  font-size: 0.28em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(180, 230, 235, 0.9);
  margin-top: 14px;
}

body.home-v3 .hero-lead {
  max-width: 34rem;
  margin: 0 0 28px;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: rgba(226, 236, 244, 0.92);
  animation: akRise 0.8s var(--ak-ease) 0.08s both;
}

body.home-v3 .hero .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: akRise 0.8s var(--ak-ease) 0.16s both;
}

body.home-v3 .hero .btn {
  font-family: var(--ak-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ak-ease), background 0.2s ease;
}
body.home-v3 .hero .btn:hover {
  transform: translateY(-2px);
}
body.home-v3 .hero .btn-primary {
  background: var(--ak-accent);
  color: #fff;
}
body.home-v3 .hero .btn-primary:hover {
  background: var(--ak-accent-2);
}
body.home-v3 .hero .btn-outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
body.home-v3 .hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* hide legacy ticker if present */
body.home-v3 .brand-ticker {
  display: none !important;
}

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

/* —— SECTIONS —— */
body.home-v3 .section {
  width: min(var(--ak-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 !important;
  text-align: left;
  box-sizing: content-box;
  background: transparent !important;
}

body.home-v3 .section-title {
  font-family: var(--ak-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  letter-spacing: -0.03em;
  color: var(--ak-ink);
  margin: 0 0 10px;
  text-align: left;
}

body.home-v3 .section-subtitle {
  margin: 0 0 36px;
  max-width: 46ch;
  color: var(--ak-ink-soft);
  font-size: 1.02rem;
  text-align: left;
}

body.home-v3 #urunler.section-bg,
body.home-v3 #araclar.section-bg,
body.home-v3 #iletisim.section-bg {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100% - var(--ak-max)) / 2)) !important;
  padding-right: max(24px, calc((100% - var(--ak-max)) / 2)) !important;
  box-sizing: border-box;
}

body.home-v3 #urunler.section-bg {
  background: var(--ak-white) !important;
  border-top: 1px solid var(--ak-line);
  border-bottom: 1px solid var(--ak-line);
}

body.home-v3 #araclar.section-bg {
  background: var(--ak-paper-2) !important;
  border-top: 1px solid var(--ak-line);
  border-bottom: 1px solid var(--ak-line);
}

body.home-v3 #iletisim.section-bg {
  background: var(--ak-steel) !important;
  color: #e8eef4;
}
body.home-v3 #iletisim .section-title,
body.home-v3 #iletisim h2 {
  color: #fff !important;
  font-family: var(--ak-display);
}
body.home-v3 #iletisim p,
body.home-v3 #iletisim .contact-info-list,
body.home-v3 #iletisim .contact-info-list a {
  color: #c5d4e0 !important;
}

/* —— PRODUCT LINES —— */
body.home-v3 .product-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: none;
}

body.home-v3 .product-group-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 16px 16px 18px;
  text-decoration: none;
  color: inherit;
  background: #fff !important;
  border: 1px solid var(--ak-line);
  border-radius: 14px !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05) !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.home-v3 .product-group-card:hover {
  background: #fff !important;
  border-color: #0d7a84;
  box-shadow: 0 12px 28px rgba(13, 122, 132, 0.12) !important;
  transform: translateY(-2px);
  padding-left: 16px;
}

body.home-v3 .product-group-thumb,
body.home-v3 .product-group-thumb--logo,
body.home-v3 .product-group-thumb--photo {
  width: 100%;
  height: 108px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f7fa;
  border: 1px solid var(--ak-line);
  overflow: hidden;
  flex-shrink: 0;
}

body.home-v3 .product-group-thumb img {
  max-width: 78%;
  max-height: 72px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

body.home-v3 .product-group-thumb--logo {
  background: #eef6f7;
  padding: 6px 10px;
}

body.home-v3 .product-group-thumb--logo img {
  max-width: 96%;
  max-height: 100px;
}

body.home-v3 .product-group-thumb--photo {
  background: #e8eef3;
}

body.home-v3 .product-group-thumb--photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

body.home-v3 .product-group-thumb--stack {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  padding: 12px 16px;
  justify-content: space-evenly;
}

body.home-v3 .product-group-thumb--stack img {
  max-width: 46% !important;
  max-height: 56px !important;
  width: auto !important;
  height: auto !important;
  flex: 1 1 0;
  min-width: 0;
  object-fit: contain;
}

body.home-v3 .product-group-thumb--api {
  background: #f4f7fa;
  border-color: var(--ak-line);
  height: 128px;
  padding: 8px 12px 8px 16px;
  justify-content: flex-start;
}

body.home-v3 .product-group-thumb--api img {
  max-width: 94%;
  max-height: 112px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  object-position: left center;
}

body.home-v3 .product-group-thumb--uf {
  justify-content: flex-start;
  padding: 8px 12px 8px 16px;
}

body.home-v3 .product-group-thumb--uf img {
  max-width: 94%;
  max-height: 96px;
}

body.home-v3 .product-group-thumb--icon {
  background: #eef6f7;
  border: 1px solid var(--ak-line);
  gap: 18px;
}

body.home-v3 .product-group-thumb--icon i {
  font-size: 2.35rem;
  color: #0d7a84;
  line-height: 1;
}

body.home-v3 .product-group-card h3 {
  margin: 0;
  font-family: var(--ak-display);
  font-size: 1.18rem;
  color: var(--ak-ink);
  grid-column: auto;
  grid-row: auto;
}

body.home-v3 .product-group-card p {
  margin: 0;
  grid-column: auto;
  grid-row: auto;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ak-ink-soft);
}

body.home-v3 .product-group-card::after {
  content: none;
}

@media (max-width: 720px) {
  body.home-v3 .product-groups {
    grid-template-columns: 1fr;
  }
  body.home-v3 .product-group-thumb,
  body.home-v3 .product-group-thumb--logo,
  body.home-v3 .product-group-thumb--photo {
    height: 92px;
  }
  body.home-v3 .product-group-thumb--api {
    height: 112px;
  }
  body.home-v3 .product-group-thumb--api img {
    max-height: 96px;
  }
  body.home-v3 .product-group-thumb--uf img {
    max-height: 80px;
  }
  body.home-v3 .product-group-thumb--stack {
    gap: 8px;
    padding: 8px 10px;
  }
  body.home-v3 .product-group-thumb--stack img {
    max-width: 48% !important;
    max-height: 40px !important;
  }
}

/* —— BRAND ROWS —— */
body.home-v3 .brand-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ak-line);
}

body.home-v3 .brand-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--ak-line);
  transition: background 0.2s ease;
}

body.home-v3 .brand-row:hover {
  background: rgba(22, 50, 74, 0.04);
}

body.home-v3 .brand-row-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 52px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

body.home-v3 .brand-row-logo img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
}

body.home-v3 .brand-row-logo--banner {
  background: #111;
  border-radius: 8px;
  padding: 8px 12px;
  justify-content: center;
}

body.home-v3 .brand-row-logo--banner img {
  max-height: 28px;
}

body.home-v3 .brand-row--api {
  grid-template-columns: 240px 1fr auto;
}

body.home-v3 .brand-row-logo--api {
  min-height: 80px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  justify-content: flex-start;
}

body.home-v3 .brand-row-logo--api img {
  max-height: 72px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

body.home-v3 .brand-row-meta {
  min-width: 0;
}

body.home-v3 .brand-row-meta strong {
  display: block;
  font-family: var(--ak-display);
  font-size: 1.05rem;
  color: var(--ak-ink);
  margin-bottom: 2px;
}

body.home-v3 .brand-row-meta span {
  font-size: 0.88rem;
  color: var(--ak-ink-soft);
}

body.home-v3 .brand-row-go {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ak-accent);
  white-space: nowrap;
}

@media (max-width: 720px) {
  body.home-v3 .brand-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 2px;
  }
  body.home-v3 .brand-row-logo {
    min-height: 40px;
  }
  body.home-v3 .brand-row-logo img {
    max-height: 34px;
    max-width: 100%;
  }
  body.home-v3 .brand-row--api {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  body.home-v3 .brand-row-logo--api {
    min-height: 56px;
    padding: 4px 6px;
  }
  body.home-v3 .brand-row-logo--api img {
    max-height: 52px;
  }
  body.home-v3 .brand-row-go {
    grid-column: 2;
  }
}

/* —— Proses görsel şeridi —— */
body.home-v3 .proses-visual-band {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ak-line);
  border-bottom: 1px solid var(--ak-line);
}

body.home-v3 .proses-visual-card {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

body.home-v3 .proses-visual-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.55s var(--ak-ease);
}

body.home-v3 .proses-visual-card:hover img {
  transform: scale(1.07);
}

body.home-v3 .proses-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 38, 0.15) 20%, rgba(10, 24, 38, 0.78) 100%);
  pointer-events: none;
}

body.home-v3 .proses-visual-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
}

body.home-v3 .proses-visual-caption strong {
  display: block;
  font-family: var(--ak-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

body.home-v3 .proses-visual-caption span {
  font-size: 0.92rem;
  color: rgba(226, 236, 244, 0.88);
}

@media (max-width: 720px) {
  body.home-v3 .proses-visual-band {
    grid-template-columns: 1fr;
  }
  body.home-v3 .proses-visual-card {
    min-height: 220px;
  }
}

/* hide old brand-grid cards if leftover */
body.home-v3 .brand-grid {
  display: none !important;
}

/* —— TOOLS —— */
body.home-v3 #araclar .tools-strip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

body.home-v3 #araclar .tools-strip-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--ak-ink);
  background: var(--ak-white);
  border: 1px solid var(--ak-line);
  transition: border-color 0.2s ease, color 0.2s ease;
}

body.home-v3 #araclar .tools-strip-links a:hover {
  border-color: var(--ak-accent);
  color: var(--ak-accent);
}

body.home-v3 #araclar .tools-search-title {
  margin: 0 0 8px;
  font-family: var(--ak-display);
  font-size: 1.2rem;
  color: var(--ak-ink);
}

body.home-v3 #araclar .product-search {
  margin: 0;
  padding: 28px !important;
  background: var(--ak-white) !important;
  border: 1px solid var(--ak-line);
  border-radius: 12px;
  max-width: none;
}

body.home-v3 #araclar .product-search .section-subtitle {
  color: var(--ak-ink-soft);
}

body.home-v3 .product-search-empty-actions {
  margin-top: 12px;
}

body.home-v3 .product-search-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
}

body.home-v3 .product-search-box input[type="search"] {
  flex: 1 1 240px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--ak-line);
  font: inherit;
}

body.home-v3 .product-search .btn-primary {
  background: var(--ak-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}

/* —— ABOUT —— */
body.home-v3 #hakkimizda .about-text {
  max-width: 62ch;
}
body.home-v3 #hakkimizda .section-title {
  margin-bottom: 18px;
  text-align: center;
}
body.home-v3 #hakkimizda .about-text p {
  color: var(--ak-ink-soft);
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.65;
}
body.home-v3 #hakkimizda .about-text p:first-child {
  color: var(--ak-ink);
}

/* —— CONTACT —— */
body.home-v3 #iletisim .contact-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
body.home-v3 #iletisim .btn-primary {
  background: var(--ak-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px 28px;
  font-weight: 700;
  cursor: pointer;
}

/* suppress legacy home-v2 dark overrides */
body.home-v3 .trust-band,
body.home-v3 .service-grid {
  display: none !important;
}

html[dir="rtl"] body.home-v3 .hero-inner,
html[dir="rtl"] body.home-v3 .section,
html[dir="rtl"] body.home-v3 .section-title,
html[dir="rtl"] body.home-v3 .section-subtitle {
  text-align: right;
}

html[dir="rtl"] body.home-v3 .product-group-card:hover {
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  body.home-v3 .product-search-box {
    max-width: 100%;
    gap: 8px;
  }
  body.home-v3 .product-search-box input[type="search"] {
    flex: 1 1 100%;
    padding: 9px 11px;
    font-size: 0.9rem;
  }
  body.home-v3 .product-search .btn-primary {
    padding: 9px 14px;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-v3 .hero-bg-slide {
    transition: none;
    animation-duration: 19s;
  }
}
