/* ==========================================================================
   Oto Servis Takip Programı — Modern Site Stylesheet
   ========================================================================== */

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #60a5fa;
  --color-accent: #f59e0b;
  --color-success: #16a34a;
  --color-ink: #0f172a;
  --color-ink-soft: #334155;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-surface: #ffffff;
  --color-surface-alt: #f8fafc;
  --color-dark: #0b1220;
  --color-dark-soft: #111a2e;
  --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #2563eb 45%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container-w: 1180px;
  --header-h: 72px;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink-soft);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  color: var(--color-ink);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section {
  padding: 84px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--alt {
  background: var(--color-surface-alt);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.32);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(249, 115, 22, 0.4); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-ink);
}
.btn-outline-dark:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.14), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.12), transparent 45%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
}

.hero h1 { color: #fff; margin-bottom: 20px; }

.hero-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-media {
  position: relative;
}

.hero-media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.hero-media-frame:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(0deg); }

.hero-media-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: #fff;
  color: var(--color-ink);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-media-badge .dot {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Feature Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.25);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: var(--color-muted); margin-bottom: 0; font-size: 0.96rem; }

/* ---------- License / Info Banner ---------- */
.info-banner {
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.info-banner p { color: rgba(255, 255, 255, 0.78); margin-bottom: 0; }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.check-list .tick {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.18);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  background: var(--color-surface-alt);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 20, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px 20px;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: min(900px, 100%);
  max-height: 84vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.price-card--pro {
  background: var(--gradient-hero);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.price-card--pro .price-tag,
.price-card--pro h3 { color: #fff; }

.price-badge {
  position: absolute;
  top: -14px;
  right: 30px;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.price-plan-name {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.price-card--pro .price-plan-name { color: rgba(255, 255, 255, 0.75); }

.price-tag {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 4px;
}

.price-sub {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 26px;
}

.price-card--pro .price-sub { color: rgba(255, 255, 255, 0.75); }

.price-features {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 14px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.price-card--pro .price-features li { border-bottom-color: rgba(255, 255, 255, 0.18); }

.price-features li svg { flex-shrink: 0; color: var(--color-success); }
.price-card--pro .price-features li svg { color: #4ade80; }

/* ---------- Bank / Payment Cards ---------- */
.bank-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bank-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.bank-card-head {
  background: var(--gradient-hero);
  color: #fff;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bank-card-body { padding: 22px 24px; }

.bank-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.bank-row:last-child { border-bottom: none; padding-bottom: 0; }

.bank-row label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  font-weight: 700;
}

.bank-row strong {
  font-size: 0.98rem;
  color: var(--color-ink);
  word-break: break-word;
}

.copy-btn {
  margin-top: 8px;
  align-self: flex-start;
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  color: var(--color-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.copy-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }

.card-cta {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-grid--single {
  grid-template-columns: minmax(0, 340px);
  justify-content: center;
  text-align: center;
}

.contact-grid--single .contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.contact-card .card-icon { background: rgba(37, 99, 235, 0.1); }
.contact-card label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-card strong { font-size: 1.02rem; color: var(--color-ink); font-weight: 700; word-break: break-word; }

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  color: var(--color-ink-soft);
  transition: all 0.2s ease;
}
.social-btn:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; transform: translateY(-3px); }

/* ---------- Legal / Prose ---------- */
.prose {
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-ink-soft);
  font-size: 1.02rem;
}
.prose p { margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* ---------- Floating WhatsApp ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.float-whatsapp:hover { transform: scale(1.08); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-media { max-width: 480px; margin: 0 auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .info-banner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .section { padding: 56px 0; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-dark-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn span { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-media-frame { transform: none; }
  .hero-media-badge { left: 50%; transform: translateX(-50%); bottom: -16px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .card-cta { flex-direction: column; text-align: center; }
  .float-whatsapp { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item img { height: 140px; }
  .price-card { padding: 30px 22px; }
}
