/* ========================================
   BM Lastik — Landing Page Styles
   ======================================== */

:root {
  --navy: #0a1f44;
  --navy-light: #1e3a6e;
  --navy-dark: #061428;
  --white: #ffffff;
  --yellow: #ffd700;
  --yellow-hover: #e6c200;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe57;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-muted: rgba(255, 255, 255, 0.45);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-blur: blur(16px);
  --page-bg: #0b1528;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 58px;
  --mobile-cta-h: 68px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--page-bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(30, 58, 110, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 110%, rgba(255, 215, 0, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #091220 0%, #0b1528 40%, #0d1a32 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  padding-bottom: calc(var(--mobile-cta-h) + env(safe-area-inset-bottom, 0px));
  -webkit-tap-highlight-color: transparent;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:active {
  transform: scale(0.97);
}

.btn__icon {
  flex-shrink: 0;
}

.btn--call {
  background: var(--yellow);
  color: var(--navy);
}

.btn--call:hover {
  background: var(--yellow-hover);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn--whatsapp:hover,
.btn--whatsapp:active {
  background: #1ebe57;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--lg {
  padding: 16px 24px;
  font-size: 1.0625rem;
  min-height: 54px;
}

.btn--block {
  width: 100%;
}

/* ---- Logo ---- */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  flex-shrink: 0;
}

.logo__icon {
  color: var(--yellow);
}

.logo__text strong {
  font-weight: 800;
}

.logo--footer {
  color: var(--white);
  margin-bottom: 12px;
}

.logo--footer .logo__icon {
  color: var(--yellow);
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 21, 40, 0.72);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.header--scrolled {
  background: rgba(10, 21, 40, 0.88);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 10px;
}

/* Mobil: hızlı arama butonu */
.header__call-btn {
  display: inline-flex;
  padding: 10px 14px;
  min-height: 44px;
  min-width: 44px;
  margin-left: auto;
}

.header__call-btn .btn__icon {
  margin: 0;
}

/* Masaüstü header butonları — mobilde gizli */
.header__actions {
  display: none;
  align-items: center;
  gap: 10px;
}

/* Mobil navigasyon — off-canvas */
.nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 21, 40, 0.97);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 20px 16px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.nav--open {
  transform: translateX(0);
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  flex-shrink: 0;
}

.nav__link {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 18px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  display: none;
}

.nav__link:hover {
  color: var(--white);
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle--active .menu-toggle__bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle--active .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle--active .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---- Hero (mobil öncelikli) ---- */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 20, 40, 0.55) 0%, rgba(10, 31, 68, 0.35) 50%, rgba(30, 58, 110, 0.25) 100%);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--page-bg), transparent);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 16px 36px;
  width: 100%;
}

.hero__content {
  color: var(--white);
  text-align: center;
}

.hero__visual {
  display: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero__title {
  font-size: clamp(1.625rem, 7vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 100%;
  margin-bottom: 24px;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.hero__stat strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--yellow);
}

.hero__stat span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

.hero__illustration {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero__svg {
  width: 100%;
  height: auto;
}

.hero__skyline {
  fill: rgba(255, 255, 255, 0.08);
}

.hero__van {
  animation: vanMove 3s ease-in-out infinite;
}

@keyframes vanMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.hero__visual-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

/* ---- Trust ---- */
.trust {
  background: transparent;
  padding: 32px 0 40px;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition);
}

.trust__item:hover {
  transform: translateY(-3px);
  background: var(--glass-bg-hover);
  box-shadow: var(--shadow-md);
}

.trust__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--yellow);
}

.trust__item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
  color: var(--white);
}

.trust__item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
}

.section-header__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.15);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-header__title {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--white);
}

.section-header__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ---- Services ---- */
.services {
  padding: 48px 0;
  background: transparent;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-hover);
  box-shadow: var(--shadow-lg);
}

.service-card--featured {
  border-color: rgba(255, 215, 0, 0.25);
  background: rgba(255, 215, 0, 0.04);
  box-shadow: var(--shadow-md);
}

.service-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--navy);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  white-space: nowrap;
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  color: var(--yellow);
  margin-bottom: 20px;
}

.service-card--featured .service-card__icon {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.2);
  color: var(--yellow);
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.service-card__features {
  margin-bottom: 20px;
}

.service-card__features li {
  position: relative;
  padding-left: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.service-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--yellow);
  padding: 10px 0;
  border-top: 1px solid var(--glass-border);
  transition: color var(--transition), gap var(--transition);
  gap: 4px;
}

.service-card__link:hover {
  color: var(--white);
  gap: 8px;
}

/* ---- Regions ---- */
.regions {
  padding: 48px 0;
  background: transparent;
}

.regions__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.regions__content .section-header__tag,
.regions__content .section-header__title,
.regions__content .section-header__desc {
  text-align: center;
}

.regions__content .section-header__title {
  margin-bottom: 12px;
}

.regions__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}

.regions__tags span {
  padding: 8px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.regions__tags span:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}

.regions__tags span:last-child {
  background: rgba(255, 215, 0, 0.1);
  color: var(--yellow);
  border-color: rgba(255, 215, 0, 0.2);
  font-weight: 700;
}

.regions__map svg {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---- CTA Banner ---- */
.cta-banner {
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  text-align: center;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-banner__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

/* ---- Footer ---- */
.footer {
  background: rgba(6, 20, 40, 0.6);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 100%;
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--yellow);
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer__contact svg {
  flex-shrink: 0;
  color: var(--yellow);
}

.footer__contact a:hover {
  color: var(--yellow);
}

.footer__emergency {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer__emergency-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--yellow);
  transition: opacity var(--transition);
}

.footer__emergency-number:hover {
  opacity: 0.85;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Mobile Sticky CTA ---- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 12px 16px;
  background: rgba(10, 21, 40, 0.88);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.mobile-cta--visible {
  transform: translateY(0);
}

.mobile-cta .btn {
  flex: 1;
  padding: 14px 12px;
  font-size: 0.9rem;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .regions__inner {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 21, 40, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
    overflow-y: auto;
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav__link {
    display: block;
    font-size: 1.1rem;
    padding: 16px 0;
    border-bottom: 1px solid var(--glass-border);
    width: 100%;
  }

  .nav__link::after {
    display: none;
  }

  .header__actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 60px;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta-group {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
    gap: 24px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__illustration {
    max-width: 360px;
    margin: 0 auto;
  }

  .trust {
    margin-top: 0;
    padding: 40px 0;
  }

  .trust__grid {
    grid-template-columns: 1fr;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 480px) {
  .btn--lg {
    width: 100%;
    padding: 16px 24px;
  }

  .hero__cta-group {
    flex-direction: column;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero__visual-badge {
    font-size: 0.7rem;
    padding: 8px 12px;
  }

  .service-card {
    padding: 24px;
  }

  .regions__tags span {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
