:root {
  --navy: #0b3d63;
  --navy-dark: #082a45;
  --navy-deep: #061c2f;
  --blue: #1a6ea8;
  --accent: #e07b1a;
  --accent-dark: #c96a12;
  --gray-50: #f7f9fb;
  --gray-100: #eef2f5;
  --gray-200: #e2e8ee;
  --gray-300: #d3dbe2;
  --gray-600: #5b6b78;
  --gray-900: #16232c;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --max-width: 1180px;
  --shadow-sm: 0 1px 3px rgba(11, 30, 46, .08);
  --shadow-md: 0 10px 28px -8px rgba(11, 30, 46, .18);
  --shadow-lg: 0 22px 48px -16px rgba(11, 30, 46, .28);
  --ease: cubic-bezier(.22, .8, .28, 1);
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 { color: var(--navy-dark); line-height: 1.22; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 1.2rem + .8vw, 1.75rem); }
h3 { font-size: 1.05rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 16px rgba(4, 16, 26, .22);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: .65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem;
}

.brand { display: flex; align-items: center; gap: .8rem; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark-wrap {
  display: inline-flex;
  align-items: center;
  background: #fff;
  padding: .3rem .55rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  flex: none;
}
.brand-mark { width: auto; height: 32px; display: block; }
.brand-tagline { font-size: .7rem; color: #b9d3e6; font-weight: 500; max-width: 180px; line-height: 1.25; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  padding: .5rem;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }

.main-nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  color: #dce8f2;
  font-weight: 600;
  font-size: .93rem;
  padding: .5rem .1rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: right .22s var(--ease);
}
.main-nav a:hover, .main-nav li.active > a { color: #fff; }
.main-nav a:hover::after, .main-nav li.active > a::after { right: 0; }
.main-nav .chevron { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.main-nav li.has-sub:hover .chevron { transform: rotate(180deg); }

.main-nav li.has-sub .submenu {
  list-style: none;
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 6px;
  background: #fff;
  min-width: 260px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.main-nav li.has-sub:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .submenu li { width: 100%; }
.main-nav .submenu a {
  color: var(--gray-900);
  padding: .55rem .7rem;
  width: 100%;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.main-nav .submenu a::after { display: none; }
.main-nav .submenu a:hover { background: var(--gray-50); color: var(--navy); }
.submenu-icon { width: 18px; height: 18px; color: var(--blue); flex: none; }

/* ---------- Layout ---------- */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.6rem 1.25rem 3.5rem;
  min-height: 60vh;
}

.breadcrumb { font-size: .82rem; color: var(--gray-600); margin-bottom: 1.1rem; }
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--navy); }

.page-title { display: flex; align-items: center; gap: .7rem; margin-bottom: .3rem; }
.page-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  flex: none;
}
.page-title-icon .icon { width: 22px; height: 22px; }
.page-title h1 { margin: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-dark) 55%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 2rem + 2vw, 4rem) clamp(1.4rem, 1rem + 2vw, 3rem);
  margin: 0 0 2.6rem;
  text-align: center;
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 140%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(224, 123, 26, .35), transparent 70%),
              radial-gradient(45% 45% at 85% 30%, rgba(26, 110, 168, .45), transparent 70%);
  z-index: -1;
}
.hero .eyebrow { color: #ffb877; justify-content: center; }
.hero .eyebrow::before { background: #ffb877; }
.hero h1 { color: #fff; margin-bottom: .6em; }
.hero p { max-width: 640px; margin: 0 auto 1.6rem; color: #dfeaf3; font-size: 1.02rem; }

.hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(224, 123, 26, .55);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(224, 123, 26, .6); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.6rem, 1rem + 2vw, 3.2rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.7rem; font-weight: 800; }
.hero-stats span { font-size: .78rem; color: #b9d3e6; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Slideshow (arsivden gercek urun fotograflari) ---------- */
.slideshow {
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.slideshow-track {
  position: relative;
  width: 100%;
  aspect-ratio: 700 / 350;
  background: var(--gray-900);
}
.slideshow-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation-name: slideshowFade;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes slideshowFade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  16% { opacity: 1; }
  20% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .slideshow-track img { animation: none; opacity: 1; }
  .slideshow-track img:not(:first-child) { display: none; }
}

.section { margin: 2.4rem 0; }

/* ---------- Grids ---------- */
.group-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.group-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  background: #fff;
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.group-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
  color: var(--gray-900);
}
.group-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #eaf3fb, #dceafa);
  color: var(--navy);
  flex: none;
}
.group-card-icon .icon { width: 24px; height: 24px; }
.group-card-body { flex: 1; min-width: 0; }
.group-card h3 { margin: 0 0 .15rem; font-size: 1rem; }
.group-card-count { color: var(--gray-600); font-size: .8rem; }
.group-card-arrow { width: 18px; height: 18px; color: var(--gray-300); flex: none; transition: transform .2s var(--ease), color .2s var(--ease); }
.group-card:hover .group-card-arrow { transform: translateX(3px); color: var(--accent); }

.product-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: .8rem;
  background: #fff;
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
  overflow: hidden;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--gray-900); }
.product-card h3 { margin: 0; padding: 0 .15rem; font-size: .96rem; }
.product-card img {
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--gray-100);
  transition: transform .35s var(--ease);
}
.product-card:hover img { transform: scale(1.045); }

/* ---------- Article ---------- */
.product-article {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.6rem clamp(1.2rem, 1rem + 1.5vw, 2.1rem);
  box-shadow: var(--shadow-sm);
}
.product-article img { border-radius: var(--radius-sm); margin: .3rem 0; }
.product-article a.jcepopup { display: inline-block; padding: .15rem 0; }
.product-article hr { border: none; border-top: 1px solid var(--gray-200); margin: 1.4rem 0; }

.product-article a.part-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  max-width: 380px;
  padding: .4rem .5rem;
  margin: .18rem 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--gray-900);
  vertical-align: top;
  transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease);
}
.product-article a.part-link:hover {
  border-color: var(--accent);
  background: var(--gray-50);
  color: var(--gray-900);
  transform: translateX(2px);
}
.product-article a.part-link img {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  flex: none;
  margin: 0;
}
.product-article a.part-link span { font-size: .92rem; line-height: 1.3; }

/* ---------- Contact ---------- */
.contact-layout { display: flex; margin-top: 1rem; }
.contact-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-sm);
}
.contact-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .8rem; }
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eaf3fb, #dceafa);
  color: var(--navy);
  flex: none;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b7c6d1; margin-top: 3rem; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.4rem 1.25rem 1.6rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.8rem;
  font-size: .88rem;
}
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand .brand-mark { height: 34px; }
.footer-brand p { margin: 0; color: #93a7b4; font-size: .82rem; max-width: 220px; }
.footer-col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 .8rem; }
.footer-col p { margin: 0 0 .5rem; }
.footer-inner a { color: #b7c6d1; }
.footer-inner a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-bottom {
  text-align: center;
  font-size: .78rem;
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #7c8fa0;
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 26, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
  animation: fadeIn .15s var(--ease);
}
.lightbox-overlay img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .main-nav { display: none; width: 100%; order: 3; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { border-top: 1px solid rgba(255,255,255,.12); }
  .main-nav a { padding: .8rem .2rem; width: 100%; justify-content: space-between; }
  .main-nav a::after { display: none; }
  .main-nav li.has-sub .submenu {
    display: flex;
    flex-direction: column;
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,.04);
    border-radius: 0;
    padding: 0 0 .4rem .6rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0;
  }
  .main-nav .submenu a { color: #dce8f2; }
  .main-nav .submenu a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .header-inner { position: relative; }
  .hero { padding: 2rem 1.2rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
