/* =========================================
   SCALA YALITIM — style.css — Premium Edition
   ========================================= */

@font-face {
  font-family: "Abnes";
  src: url("../fonts/abnes.otf") format("opentype"),
       url("../fonts/abnes.ttf") format("truetype");
  font-weight: normal; font-style: normal;
}

:root {
  --site-padding: 6%;
  --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --blue-dark:    #0d1526;
  --blue-mid:     #121f3d;
  --blue-accent:  #1a56db;
  --blue-light:   #4f8ef7;
  --text-light:   #c8d8f5;
  --text-muted:   #8896b3;
  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scrollbar-width: thin; scrollbar-color: #1a56db #0a0f1e; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0a0f1e; }
::-webkit-scrollbar-thumb { background: #1a56db; border-radius: 10px; }
::selection { background: #1a56db; color: #fff; }

body { margin: 0; background: #fff; font-family: var(--font-body); overflow-x: hidden; }

/* HEADER */
header {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100px;
  padding: 0 var(--site-padding);
  display: flex; justify-content: space-between; align-items: center;
  z-index: 2100; background: transparent; transition: var(--transition-base);
}
header.sticky { height: 75px; background: rgba(255,255,255,0.98); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.logo-container { display: flex; align-items: center; text-decoration: none; color: #fff; transition: var(--transition-base); white-space: nowrap; }
header.sticky .logo-container { color: #000; }
.logo-main { font-family: "Abnes", sans-serif; font-size: 2.2rem; line-height: 1; letter-spacing: 1px; }
.logo-divider { width: 1px; height: 38px; background-color: currentColor; margin: 0 15px; opacity: 0.5; }
.logo-subtext { display: flex; flex-direction: column; font-size: 0.7rem; font-weight: 400; line-height: 1.3; letter-spacing: 2px; text-transform: uppercase; }

.nav-desktop { display: flex; align-items: center; }
.nav-desktop a {
  font-family: var(--font-body); margin-left: 30px; font-weight: 400; font-size: 1rem;
  color: #fff; text-decoration: none; letter-spacing: 0.5px; position: relative; padding-bottom: 3px;
}
.nav-desktop a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: currentColor; transition: width 0.3s ease; }
.nav-desktop a:hover::after { width: 100%; }
header.sticky .nav-desktop a { color: #000; }
.nav-desktop a[href="#iletisim"] { border: 1px solid rgba(255,255,255,0.4); padding: 10px 24px; border-radius: 50px; }
.nav-desktop a[href="#iletisim"]::after { display: none; }
header.sticky .nav-desktop a[href="#iletisim"] { border-color: rgba(0,0,0,0.2); }

.hamburger { display: none; cursor: pointer; flex-direction: column; justify-content: space-between; width: 28px; height: 19px; z-index: 2200; user-select: none; -webkit-user-select: none; }
.hamburger span { display: block; width: 100%; height: 2px; background-color: #fff; transition: 0.3s; border-radius: 2px; -webkit-user-drag: none; }
header.sticky .hamburger span { background-color: #000; }
.hamburger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); background-color: #000 !important; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); background-color: #000 !important; }

/* VIDEO */
.video-fixed-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  /* z-index: 100; */ /* pointer-events: none; */
  display: flex; align-items: center; justify-content: center;
}
#vWrapper { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); overflow: hidden; will-change: transform, width, height; }
#vWrapper::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.45); z-index: 2; }
video { width: 100%; height: 100%; object-fit: cover; z-index: 1; }

.scroll-indicator { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 9999 !important; pointer-events: auto; transition: opacity 0.4s ease, visibility 0.4s ease; }
.mouse { width: 26px; height: 42px; border: 2px solid #fff; border-radius: 15px; position: relative; }
.wheel { width: 4px; height: 8px; background: #fff; border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scroll-wheel 1.6s infinite; }
@keyframes scroll-wheel { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 25px; } }
.hero-content, .scroll-indicator { transition: opacity 0.5s ease, visibility 0.5s ease !important; will-change: opacity, visibility; }

/* HERO SLOGAN */
.hero-content { z-index: 1000 !important; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; text-align: center; height: 150px; perspective: 1000px; pointer-events: none; }
.slide { position: absolute; width: 100%; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; visibility: hidden; transition: opacity 0.5s ease; }
.slide.active { opacity: 1; visibility: visible; }
.reveal-wrapper { overflow: hidden; display: block; margin-bottom: 10px; }
.slide h3, .slide h2 { transform: translateY(100%) rotateX(-90deg) scale(0.8); transform-origin: center bottom; opacity: 0; filter: blur(8px); transition: transform 1.2s cubic-bezier(0.25,1,0.5,1), opacity 1s ease, filter 1s ease; margin: 0; }
.slide.active h3 { transform: translateY(0) rotateX(0deg) scale(1); opacity: 1; filter: blur(0); transition-delay: 0.2s; font-size: 30px; color: #f8961e; text-transform: uppercase; letter-spacing: 5px; font-family: var(--font-body); font-weight: 400; }
.slide.active h2 { transform: translateY(0) rotateX(0deg) scale(1); opacity: 1; filter: blur(0); transition-delay: 0.5s; font-size: clamp(32px, 5vw, 48px); color: #fff; font-weight: 700; font-family: var(--font-display); }
.slide.exit h3, .slide.exit h2 { transform: translateY(-100%) rotateX(90deg) scale(0.9); opacity: 0; filter: blur(5px); transition-duration: 0.8s; }

/* ANASAYFA */
#anasayfa { display: flex; justify-content: center; background: #0d1526; min-height: 100vh; padding: 0; }
.wSection { width: 100%; min-height: 100vh; display: flex; background-color: #0d1526; }

/* PARTNERLERİMİZ — yeni layout */
#partnerlerimiz { width: 100%; min-height: 100vh; padding: 120px var(--site-padding) 80px; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; }
.target-h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 8vw, 5.5rem); line-height: 1.3; display: block; text-align: left; color: #f0f4ff; word-spacing: -0.05em; margin-bottom: 40px; }
.word { display: inline-block; vertical-align: middle; margin-right: 0.02em; white-space: nowrap; }
.video-placeholder { display: inline-flex; vertical-align: middle; height: 0.8em; margin-left: 0.05em; margin-right: 0.1em; position: relative; top: -0.05em; }
.group-header { background: rgba(79,142,247,0.1); border: 1px solid rgba(79,142,247,0.2); color: #f0f4ff; padding: 14px 20px; border-radius: 8px; font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 16px; letter-spacing: 0.06em; }
.partner-section { width: 100%; margin-bottom: 40px; }
.partner-section:last-child { margin-bottom: 0; }
.partner-grid { display: grid; gap: 14px; }
.dist-row { grid-template-columns: repeat(2, 1fr); }
.bayi-row { grid-template-columns: repeat(5, 1fr); }

/* Partner kart */
.partner-card {
  position: relative;
  background: #fff; border-radius: 10px; overflow: hidden;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.25s, border-color 0.25s;
  border: 1.5px solid transparent;
}
.partner-card.visible { opacity: 1; transform: translateY(0); }
.partner-card:hover { box-shadow: 0 10px 32px rgba(26,86,219,0.25); border-color: rgba(79,142,247,0.5); transform: translateY(-4px); }

/* Partner name bar — alt, flex row, space-between */
.partner-name {
  width: 100%; padding: 10px 12px;
  border-top: 1px solid #f0f0f0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; font-weight: 700; color: #333; letter-spacing: 0.05em;
}

/* External link ikonu — partner-name içinde sağda */
.partner-ext-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: rgba(26,86,219,0.08); border: 1px solid rgba(79,142,247,0.2);
  display: flex; align-items: center; justify-content: center;
  color: #4f8ef7;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.partner-card:hover .partner-ext-icon {
  background: #1a56db; border-color: #1a56db; color: #fff;
  transform: translate(1px, -1px);
}

.partner-img { height: 110px; width: 100%; display: flex; align-items: center; justify-content: center; padding: 20px 24px; }
.partner-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Büyük kart (dağıtıcı) */
.partner-card:not(.partner-card-sm) .partner-img { height: 160px; padding: 30px 40px; }
.partner-card:not(.partner-card-sm) .partner-name { font-size: 13px; padding: 12px 14px; }
.partner-card:not(.partner-card-sm) .partner-ext-icon { width: 26px; height: 26px; }

/* Küçük kart (bayi) */
.partner-card-sm .partner-img { height: 80px; padding: 12px 16px; }
.partner-card-sm .partner-name { font-size: 9px; padding: 7px 10px; }

/* SLOGAN BANTLARI */
.slogan-band { width: 100%; padding: 26px var(--site-padding); text-align: center; flex-shrink: 0; position: relative; z-index: 2; }
.slogan-band p { margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 700; letter-spacing: 0.02em; color: #fff; position: relative; z-index: 1; }
.band-subtle { background: linear-gradient(90deg, #060e22, #0f2460, #1a3a8f, #0f2460, #060e22); background-size: 300% auto; animation: band-shift 10s linear infinite; border-top: 1px solid rgba(79,142,247,0.2); border-bottom: 1px solid rgba(79,142,247,0.2); display: flex; align-items: center; justify-content: center; gap: 20px; }
.band-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #a8c8ff; border: 1px solid rgba(79,142,247,0.5); padding: 4px 12px; border-radius: 20px; white-space: nowrap; position: relative; z-index: 1; }
.band-line { background: linear-gradient(90deg, #060e22, #112070, #1a56db, #112070, #060e22); background-size: 300% auto; animation: band-shift 8s linear infinite; border-top: 1px solid rgba(79,142,247,0.25); border-bottom: 1px solid rgba(79,142,247,0.25); }
.band-line::before { content: '—'; color: rgba(255,255,255,0.5); margin-right: 16px; font-size: 1.2rem; position: relative; z-index: 1; }
.band-line::after { content: '—'; color: rgba(255,255,255,0.5); margin-left: 16px; font-size: 1.2rem; position: relative; z-index: 1; }
.band-line p { display: inline; }
.band-accent { background: linear-gradient(90deg, #0a1535, #1a3a8f, #2563eb, #1a56db, #1a3a8f, #0a1535); background-size: 300% auto; animation: band-shift 6s linear infinite; border-top: 1px solid rgba(79,142,247,0.3); border-bottom: 1px solid rgba(79,142,247,0.3); }
@keyframes band-shift { 0% { background-position: 0% center; } 100% { background-position: 300% center; } }

/* ÜRÜN GRUPLARI */
#urungruplari { background: var(--blue-dark); width: 100%; min-height: 100vh; padding: 0 0 80px 0; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; }
.ug-inner { width: 100%; max-width: 100%; padding: 60px var(--site-padding) 0; align-self: center; }
.ug-heading { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; color: #f0f4ff; margin: 0 0 40px; line-height: 1.1; }
.ug-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.ug-card { display: flex; flex-direction: column; gap: 14px; background: rgba(18,31,61,0.8); border: 1px solid rgba(79,142,247,0.15); border-radius: 14px; padding: 28px 26px; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.25s, box-shadow 0.25s; backdrop-filter: blur(4px); }
.ug-card.visible { opacity: 1; transform: translateY(0); }
.ug-card.visible:hover { border-color: rgba(79,142,247,0.5); box-shadow: 0 0 30px rgba(79,142,247,0.12); transform: translateY(-2px); }
.ug-card-header { display: flex; align-items: center; gap: 16px; }
.ug-icon-wrap { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; background: linear-gradient(135deg, #1e3a8a, #2563eb); border: 1px solid rgba(79,142,247,0.4); box-shadow: 0 4px 16px rgba(26,86,219,0.3); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; transition: box-shadow 0.25s, transform 0.25s; }
.ug-card.visible:hover .ug-icon-wrap { box-shadow: 0 6px 24px rgba(26,86,219,0.5); transform: scale(1.05); }
.ug-icon-wrap svg { display: block; }
.ug-card-title { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: #f0f4ff; line-height: 1.3; letter-spacing: 0.05em; }
.ug-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin: 0; font-weight: 300; }

/* HAKKIMIZDA — asimetrik sticky layout */
#hakkimizda { width: 100%; background: #0d1526; display: flex; flex-direction: column; }
#hakkimizda > .slogan-band { position: relative; z-index: 2; flex-shrink: 0; width: 100%; margin: 0; }
.hk-wrapper { display: grid; grid-template-columns: 4fr 6fr; gap: 80px; align-items: start; padding: 80px var(--site-padding) 120px; width: 100%; }
.hk-left { position: sticky; top: 120px; }
.hk-sec-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 20px; }
.hk-sec-title { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: #f0f4ff; margin: 0 0 20px; }
.hk-sec-slogan { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: var(--blue-light); margin: 0; opacity: 0.85; }
.hk-right { display: flex; flex-direction: column; gap: 64px; }
.hk-block { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.hk-block.visible { opacity: 1; transform: translateY(0); }
.hk-block::before { content: ''; display: block; width: 40px; height: 2px; background: var(--blue-light); margin-bottom: 24px; opacity: 0.6; }
.hk-block-title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; color: #f0f4ff; margin: 0 0 20px; }
.hk-block-text { font-size: 15px; color: var(--text-light); line-height: 1.9; margin: 0; font-weight: 300; }
.hk-img-wrap { border-radius: 12px; overflow: hidden; opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.hk-img-wrap.visible { opacity: 1; transform: translateY(0); }
.hk-img-wrap img { width: 100%; height: 340px; object-fit: cover; display: block; filter: brightness(0.85) contrast(1.05); }

/* İLETİŞİM */
#iletisim { background: #0b1628; width: 100%; }
.il-cols { display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr; gap: 0; padding: 60px 4% 80px; max-width: 1600px; margin: 0 auto; width: 100%; }
.il-col { padding: 0 28px; border-right: 1px solid rgba(79,142,247,0.12); opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.il-col:first-child { padding-left: 0; }
.il-col:last-child { padding-right: 0; border-right: none; }
.il-col.visible { opacity: 1; transform: translateY(0); }
.il-col-intro { display: flex; align-items: center; }
.il-intro-text { font-size: 15px; color: var(--text-light) !important; line-height: 1.9; font-weight: 300; margin: 0; border-left: 2px solid rgba(79,142,247,0.4); padding-left: 20px; }
.il-col-header { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.il-col-icon { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; background: linear-gradient(135deg, #1e3a8a, #2563eb); border: 1px solid rgba(79,142,247,0.4); box-shadow: 0 4px 14px rgba(26,86,219,0.25); display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; }
.il-col-label { font-family: var(--font-display); font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 700; color: #f0f4ff; margin: 0; }
.il-col-text { display: block; font-size: 15px; color: var(--text-light); line-height: 1.75; text-decoration: none; margin-bottom: 4px; font-weight: 300; }
a.il-col-text { transition: color 0.2s; }
a.il-col-text:hover { color: #fff; }
.il-social { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.il-social-item { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-light); font-size: 14px; transition: color 0.2s; }
.il-social-item:hover { color: #fff; }
.il-social-item i { width: 36px; height: 36px; border-radius: 9px; background: rgba(26,86,219,0.2); border: 1px solid rgba(79,142,247,0.2); display: flex; align-items: center; justify-content: center; font-size: 15px; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.il-social-item:hover i { background: rgba(26,86,219,0.6); border-color: var(--blue-light); transform: scale(1.1); }
.il-map { width: 100%; line-height: 0; }
.il-map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(20%) brightness(0.75) contrast(1.15) saturate(0.8); }

/* FOOTER */
#siteFooter { background: #020509; padding: 22px var(--site-padding); text-align: center; border-top: 1px solid rgba(79,142,247,0.08); }
#siteFooter p { margin: 0; font-size: 13px; color: #ffffff; letter-spacing: 0.06em; }

/* MOBİL OVERLAY */
.mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 2050; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: translateX(100%); transition: 0.5s; }
.mobile-overlay.active { transform: translateX(0); }
.mobile-overlay a { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #000; text-decoration: none; margin: 14px 0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  header { height: 80px; }
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  #hakkimizda { background-attachment: scroll; }
}
@media (max-width: 768px) {
  header { height: 70px; padding: 0 4%; }
  .logo-main { font-size: 1.5rem; }
  .logo-divider { height: 25px; margin: 0 8px; }
  .logo-subtext { font-size: 0.55rem; letter-spacing: 1px; }
  .target-h1 { line-height: 1.9; }
  .dist-row { grid-template-columns: 1fr 1fr; }
  .bayi-row { grid-template-columns: repeat(3, 1fr); }
  .groups-container { flex-direction: column; }
  .group-column, .group-column.dist-col, .group-column.wide { width: 100%; flex: unset; }
  .bayi-grid { grid-template-columns: repeat(3, 1fr); }
  .card-img { height: 120px; padding: 15px; }
  .card.card-sm .card-img { height: 66px; padding: 8px; }
  .ug-grid { grid-template-columns: 1fr; }
  .hk-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 60px var(--site-padding) 80px; }
  .hk-left { position: static; }
  .hk-right { gap: 40px; }
  .band-subtle { flex-direction: column; gap: 10px; }
  .il-cols { grid-template-columns: 1fr; padding: 60px var(--site-padding) 60px; gap: 40px; }
  .il-col { padding: 0; border-right: none; border-bottom: 1px solid rgba(79,142,247,0.12); padding-bottom: 40px; }
  .il-col:last-child { border-bottom: none; padding-bottom: 0; }
  .il-col-intro { padding-bottom: 40px; }
  .il-intro-text { border-left: none; padding-left: 0; border-top: 2px solid rgba(79,142,247,0.4); padding-top: 16px; }
  .il-map iframe { height: 300px; }
}
@media (max-width: 600px) {
  .bayi-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-overlay a { font-size: 1.7rem; }
}