/* Renk paleti
   Antrasit: #1f2227
   Sarı:     #f5c400
   Açık gri: #f3f4f6
*/

:root {
  --bg-main: #0f1115;
  --bg-dark: #1f2227;
  --bg-alt: #f3f4f6;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --accent: #f5c400;
  --accent-soft: #fdf3b0;
  --border-soft: #2f343c;
  --radius-lg: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #232633 0, #050509 60%);
  color: var(--text-main);
}

/* Genel container */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Topbar / Navbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 9, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 196, 0, 0.2);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.site-logo {
  height: 60px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .site-logo {
    height: 32px;
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 20%, #fff8da, #f5c400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #1b1b1b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 16px;
  font-weight: 700;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

/* Navbar links */
.navbar {
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
  border-color: var(--accent);
}

/* Aktif sayfa */
.nav-links a.active {
  color: var(--accent);
  border-color: var(--accent);
}

/* Mobil menü butonu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 22px;
  cursor: pointer;
}

/* Genel section */
.section {
  padding: 48px 0;
}

.section-alt {
  background: #090a0f;
}

.section-title {
  font-size: 24px;
  margin: 0 0 8px;
}

.section-subtitle {
  margin: 0 0 24px;
  color: var(--text-muted);
  max-width: 640px;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-content h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease,
    background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f5c400, #f9d94b);
  color: #222;
  box-shadow: 0 10px 25px rgba(245, 196, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(245, 196, 0, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: rgba(245, 196, 0, 0.08);
}

/* Kartlar */
.card {
  background: #12141d;
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  border: 1px solid rgba(245, 196, 0, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 12px;   /* ortala + altta biraz boşluk */
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.card-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tags li {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.12);
  color: #fef9c3;
}

/* Gridler */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

/* Listeler */
.list {
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Formlar */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #050509;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(245, 196, 0, 0.5);
}

.form-actions {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: -4px;
}

/* Uygulama Noktaları */
.dealers-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.dealer-list {
  background: #11131c;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 196, 0, 0.12);
  padding: 10px;
  max-height: 380px;
  overflow-y: auto;
}

.dealer-item {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-bottom: 6px;
  transition: background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}

.dealer-item:last-child {
  margin-bottom: 0;
}

.dealer-item:hover {
  background: rgba(245, 196, 0, 0.09);
  border-color: rgba(245, 196, 0, 0.4);
}

.dealer-item.active {
  background: rgba(245, 196, 0, 0.12);
  border-color: var(--accent);
}

.dealer-item-title {
  font-size: 14px;
  font-weight: 600;
}

.dealer-item-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.dealer-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

#dealerMap {
  width: 100%;
  height: 380px;
}

/* İletişim */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 24px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
}

.contact-info li {
  margin-bottom: 6px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(31, 41, 55, 0.8);
  background: #050509;
  padding: 14px 0;
  margin-top: 20px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-note {
  text-align: right;      /* veya left/center istediğine göre */
  padding-top: 4px;
}

.footer-logo {
  height: 26px;           /* Logo boyutu — istersen 20–32px ayarlayabilirsin */
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 1;
}


/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col,
  .dealers-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    gap: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 44px;
    background: #050509;
    border-radius: 12px;
    padding: 8px 10px;
    flex-direction: column;
    align-items: flex-start;
    min-width: 170px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ----------------------------
   ÜST SLIDER (1120x278)
---------------------------- */

.hero-slider-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 25px;
  margin-bottom: 20px;
}

.hero-slider {
  position: relative;
  width: 100%;              /* Ekrana göre genişlik */
  max-width: 1120px;        /* Masaüstüde üst limit */
  aspect-ratio: 1120 / 278; /* Yüksekliği orana göre ayarla */
  overflow: hidden;
  border-radius: 12px;
}

/* Her slide kutuyu doldursun */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Resim her boyutta orantılı küçülsün */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* PNG’de arka plan transparan olduğu için bozmadan göster */
  display: block;
}

.hero-slider-controls {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.hero-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(245, 196, 0, 0.4);
  background: rgba(5, 5, 9, 0.8);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-dots {
  display: flex;
  gap: 6px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* Küçük ekran ince ayarları */
@media (max-width: 600px) {
  .hero-slider-wrapper {
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .hero-arrow {
    width: 24px;
    height: 24px;
  }

  .hero-slider-controls {
    bottom: 0px;
  }
}