:root {
  --bg-dark: #0b0c0e;
  --bg-section: #111317;
  --bg-card: #17191e;
  --bg-card-hover: #1d2027;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --orange: #f55c00;
  --orange-hover: #ff701a;
  --text-white: #ffffff;
  --text-muted: #a1a7b3;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-max: 1240px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-section);
  color: var(--text-white);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Skewed Motorsport Buttons */
.btn-skew {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transform: skewX(-16deg);
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-skew span {
  transform: skewX(16deg);
  display: inline-block;
}

.btn-orange {
  background-color: var(--orange);
  color: var(--text-white);
  box-shadow: 0 8px 24px rgba(244, 93, 1, 0.28);
}

.btn-orange:hover {
  background-color: var(--orange-hover);
  transform: skewX(-16deg) translateY(-2px);
  box-shadow: 0 12px 28px rgba(244, 93, 1, 0.42);
}

.btn-outline {
  background-color: rgba(11, 12, 14, 0.65);
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--orange);
  transform: skewX(-16deg) translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 12, 14, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px 0 0;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-badge {
  position: relative;
  align-self: flex-start;
  height: 90px;
  padding: 8px 46px 8px 24px;
  background-color: var(--orange);
  display: flex;
  align-items: center;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.brand-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-white);
  transition: color var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  transform: skewX(-16deg);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.header-social-btn svg {
  transform: skewX(16deg);
}

.header-social-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--text-white);
  transform: skewX(-16deg) translateY(-2px);
}

.header-cta {
  padding: 10px 24px;
  font-size: 0.98rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition);
}

/* Full-Width Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(500px, 68vh, 660px);
  overflow: hidden;
  background-color: var(--bg-dark);
}

.slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  transform: scale(1.03);
  transition: transform 6s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 12, 14, 0.96) 0%,
    rgba(11, 12, 14, 0.84) 38%,
    rgba(11, 12, 14, 0.35) 70%,
    rgba(11, 12, 14, 0.2) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  margin-left: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  padding-right: 24px;
}

.slide-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 10px;
}

.slide-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.slide-subtitle {
  font-size: 1.02rem;
  color: #d2d6df;
  max-width: 520px;
  margin-bottom: 28px;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 25, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-white);
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}

.slider-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.slider-arrow.prev {
  left: 18px;
}

.slider-arrow.next {
  right: 18px;
}

/* Slider Bottom Progress & Dots */
.slider-bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 80px 0 0;
}

.slider-progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.slider-progress-fill {
  height: 100%;
  width: 33.333%;
  background: var(--orange);
  transition: width 0.4s ease;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width var(--transition), background-color var(--transition);
}

.dot.active {
  width: 24px;
  background: var(--orange);
}

.hero-corner-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72px;
  height: 120px;
  background: linear-gradient(135deg, transparent 48%, var(--orange) 49%, var(--orange) 76%, #ffffff 77%);
  z-index: 4;
  pointer-events: none;
}

/* Section Headers */
.section-header {
  margin-bottom: 38px;
}

.section-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.title-slash {
  display: inline-block;
  width: 18px;
  height: 30px;
  background: var(--orange);
  transform: skewX(-18deg);
}

.section-desc {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 0.98rem;
}

/* Hizmetlerimiz Grid */
.services-section {
  padding: 72px 0 80px;
  background-color: var(--bg-section);
  background-image: radial-gradient(circle at 20% 0%, rgba(244, 93, 1, 0.06), transparent 45%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 93, 1, 0.55);
  background-color: var(--bg-card-hover);
}

.card-top-accent {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 6px;
}

.accent-main {
  flex: 1;
  height: 100%;
  background: var(--orange);
}

.accent-stripe {
  width: 14px;
  height: 100%;
  background: var(--orange);
  transform: skewX(-24deg);
}

.card-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 148px;
}

.card-thumb {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  background: #0d0e11;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .card-thumb img {
  transform: scale(1.08);
}

.card-info {
  padding: 16px 18px 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: var(--text-white);
}

.card-info p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
}

.card-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
}

/* Markalar Bölümü */
.brands-section {
  padding: 64px 0;
  background-color: #0e1013;
  border-top: 1px solid var(--border-subtle);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.brand-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid rgba(255, 255, 255, 0.08);
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.brand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 92, 0, 0.45);
  border-top-color: var(--orange);
  background-color: var(--bg-card-hover);
}

.brand-card img {
  height: 46px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity var(--transition), transform var(--transition);
}

.brand-card:hover img {
  opacity: 1;
  transform: scale(1.06);
}

.brand-card span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.brand-card:hover span {
  color: var(--text-white);
}

/* Hakkımızda / Neden Biz */
.about-section {
  padding: 72px 0;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-lead {
  font-size: 1.12rem;
  color: var(--text-white);
  margin-bottom: 14px;
}

.about-sub {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--orange);
  padding: 24px 20px;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 2.3rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Randevu Bölümü */
.appointment-section {
  padding: 72px 0;
  background-color: var(--bg-section);
}

.form-top-accent {
  margin: -28px -28px 24px -28px;
}

/* İletişim & Harita */
.contact-section {
  padding: 72px 0 84px;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  align-items: stretch;
}

.appointment-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #d4d8e1;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  background: #0f1014;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.94rem;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

.form-feedback {
  margin-top: 14px;
  font-size: 0.92rem;
  color: #4ade80;
  min-height: 22px;
}

.form-feedback.error {
  color: #f87171;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.contact-info-body {
  padding: 26px;
}

.contact-info-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 18px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 0.96rem;
  color: var(--text-white);
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 9px 14px;
  background: rgba(245, 92, 0, 0.12);
  border: 1px solid rgba(245, 92, 0, 0.45);
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}

.instagram-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}

/* Harita Bölümü */
.map-section {
  padding: 0 0 72px;
  background-color: var(--bg-section);
}

.map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.map-frame-wrap {
  width: 100%;
  flex: 1;
  min-height: 380px;
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

/* Footer */
.site-footer {
  background: #08090b;
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  height: 58px;
  width: auto;
  border-radius: 4px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color var(--transition), color var(--transition);
}

.footer-social-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.footer-copy {
  font-size: 0.84rem;
  color: #727782;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-white);
}

.modal-body {
  padding: 28px;
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-style: italic;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 12, 14, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-subtle);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .slide-content {
    margin-left: 0;
    padding: 0 54px;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }

  .slider-arrow.prev {
    left: 10px;
  }

  .slider-arrow.next {
    right: 10px;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .card-body {
    grid-template-columns: 120px 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .brand-badge {
    height: 78px;
    padding: 6px 32px 6px 14px;
  }

  .brand-logo {
    height: 58px;
  }
}
