/* ============================================
   OZ ENESLER -- Maden Lojistik & Oto Lastik
   ============================================ */

:root {
  --ink: #0a0c0f;
  --ink-2: #12151a;
  --panel: #171b21;
  --panel-2: #1d222a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --white: #f4f5f6;
  --muted: #9aa1ab;
  --muted-2: #6b7280;
  --gold: #f0a91e;
  --gold-2: #ffce54;
  --gold-deep: #b9780a;
  --danger: #e6543c;
  --radius: 4px;
  --container: 1240px;
  --shadow-gold: 0 8px 24px -8px rgba(240, 169, 30, 0.45);
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Work Sans", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  line-height: 1.08;
  color: var(--white);
}

p { color: var(--muted); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #17130a;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 10px 28px -6px rgba(240, 169, 30, 0.6); filter: brightness(1.03); }

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-block { width: 100%; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.topbar-contact { display: flex; gap: 22px; align-items: center; color: var(--muted); }
.topbar-contact a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.topbar-contact a:hover { color: var(--gold); }
.topbar-badge { color: var(--gold); font-family: "Oswald", sans-serif; letter-spacing: 0.08em; font-size: 0.76rem; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 84px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-family: "Oswald", sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a.active { color: var(--gold); border-color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,11,0.96) 0%, rgba(8,9,11,0.82) 38%, rgba(8,9,11,0.35) 72%, rgba(8,9,11,0.75) 100%),
    linear-gradient(0deg, rgba(8,9,11,0.9) 0%, rgba(8,9,11,0.2) 40%, rgba(8,9,11,0.1) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 90px 0; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { color: #d3d6da; font-size: 1.05rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
  z-index: 1;
}
.hero-slider .slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.hero-slider .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,11,0.97) 0%, rgba(8,9,11,0.85) 40%, rgba(8,9,11,0.35) 75%, rgba(8,9,11,0.55) 100%),
    linear-gradient(0deg, rgba(8,9,11,0.75) 0%, rgba(8,9,11,0.15) 35%, rgba(8,9,11,0.15) 100%);
}
.hero-slider .container { position: relative; z-index: 2; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ee08a;
  font-family: "Oswald", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ee08a;
  box-shadow: 0 0 0 0 rgba(78, 224, 138, 0.7);
  animation: pulse-glow 1.8s infinite;
  flex-shrink: 0;
}
@keyframes pulse-glow {
  0%   { box-shadow: 0 0 0 0 rgba(78, 224, 138, 0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(78, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(78, 224, 138, 0); }
}

.slider-dots {
  position: absolute;
  z-index: 3;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.slider-dots .dot {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}
.slider-dots .dot.active { background: var(--gold); }

.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,9,11,0.95) 10%, rgba(8,9,11,0.65) 100%);
}
.page-hero .container { position: relative; z-index: 2; padding: 60px 24px; }
.breadcrumb { color: var(--muted); font-size: 0.85rem; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--ink-2); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.02rem; }

/* ---------- Service split cards (Maden / Oto) ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.service-card .sc-body { padding: 34px 30px; display: flex; flex-direction: column; }
.service-card .sc-img { background-size: cover; background-position: center; min-height: 260px; position: relative; }
.service-card .sc-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(23,27,33,0.9), rgba(23,27,33,0));
}
.sc-icon {
  width: 52px; height: 52px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px; color: #17130a;
  flex-shrink: 0;
}
.service-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.check-list { margin: 6px 0 22px; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-size: 0.94rem;
  padding: 7px 0; border-bottom: 1px dashed var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "\2713";
  color: var(--gold);
  font-weight: 700;
  width: 20px; height: 20px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.sc-cta { margin-top: auto; }
.sc-cta a { color: var(--gold); font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 8px; }
.sc-cta a:hover { gap: 12px; }

/* ---------- Feature strip ---------- */
.feature-strip {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 20px;
  border-right: 1px solid var(--line);
}
.feature-item:last-child { border-right: none; }
.feature-item .fi-icon {
  font-size: 1.6rem; color: var(--gold); flex-shrink: 0;
  width: 46px; height: 46px; border: 1.5px solid var(--line-strong); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feature-item strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: 0.92rem; letter-spacing: 0.03em; color: var(--white); }
.feature-item span { color: var(--muted); font-size: 0.85rem; }

/* ---------- Generic cards / grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.card h3 { font-size: 1.2rem; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; margin-top: 40px;}
.stat-num { font-family: "Oswald", sans-serif; font-size: 2.2rem; color: var(--gold); }
.stat-label { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 46px 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h3 { font-size: 1.7rem; margin-bottom: 6px; }
.cta-banner p { margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid a { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 4/3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* ---------- Form ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 8px; font-family: "Oswald", sans-serif; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--white); padding: 13px 14px; font-family: inherit; font-size: 0.95rem;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 120px; }

.info-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-line:last-child { border-bottom: none; }
.info-line .il-icon { width: 42px; height: 42px; border-radius: 8px; background: rgba(240,169,30,0.12); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-line strong { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.03em; }
.info-line span, .info-line a { color: var(--muted); font-size: 0.92rem; }
.info-line a:hover { color: var(--gold); }

.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { width: 100%; height: 340px; border: 0; filter: grayscale(0.4) invert(0.92) contrast(0.9); display: block; }

/* ---------- Timeline (Hakkimizda) ---------- */
.timeline { border-left: 2px solid var(--line-strong); padding-left: 28px; margin-left: 6px; }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -34px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline-item .t-year { color: var(--gold); font-family: "Oswald", sans-serif; font-size: 0.82rem; letter-spacing: 0.06em; }

/* ---------- Values grid ---------- */
.value-card { text-align: left; }
.value-card .fi-icon-lg {
  width: 56px; height: 56px; border-radius: 10px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #17130a; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px;
}

/* ---------- Footer ---------- */
footer.site-footer { background: #060708; border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { height: 76px; margin-bottom: 16px; }
.footer-brand p { max-width: 300px; font-size: 0.92rem; }
.footer-col h4 { font-size: 0.95rem; letter-spacing: 0.05em; margin-bottom: 18px; color: var(--white); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--muted-2); font-size: 0.82rem; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 10px 30px -8px rgba(0,0,0,0.6);
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 7, 8, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-figure {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-figure img {
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.7);
}
.lightbox-counter {
  margin-top: 14px;
  color: var(--muted);
  font-family: "Oswald", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-strong);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(240,169,30,0.18);
  border-color: var(--gold);
  color: var(--gold);
}
.lightbox-close {
  top: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
}
.lightbox-prev, .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  font-size: 1.6rem;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 44px; height: 44px; font-size: 1.3rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 14px; right: 14px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav, .header-cta .btn-outline, .topbar { display: none; }
  .nav-toggle { display: flex; }
  .split-grid, .grid-3, .grid-2, .footer-grid, .stat-row { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-card .sc-img { min-height: 200px; order: -1; }
  .feature-strip .container { grid-template-columns: repeat(2, 1fr); }
  .feature-item { border-right: none; border-bottom: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; justify-content: center; }
  .hero-content { padding: 60px 0; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 108px; left: 0; right: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 18px 24px;
    gap: 4px;
  }
  .main-nav.open a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}
