/* Ünsal Vinç Platform — Global Styles */
:root {
  --color-primary: #0F3057;
  --color-primary-dark: #0a2340;
  --color-primary-light: #1a4a7a;
  --color-gray: #6E7783;
  --color-gray-light: #9aa3ad;
  --color-bg: #FFFFFF;
  --color-bg-alt: #f5f7fa;
  --color-border: #e2e6ea;
  --color-whatsapp: #25D366;
  --font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(15, 48, 87, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 48, 87, 0.1);
  --shadow-lg: 0 16px 48px rgba(15, 48, 87, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.25s ease;
  --header-height: 72px;
  --topbar-height: 40px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-gray);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-light);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

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

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 0.75rem;
}

.section__title {
  margin-bottom: 1rem;
}

.section__desc {
  font-size: 1.0625rem;
  color: var(--color-gray);
}

/* Top Bar */
.topbar {
  background-color: var(--color-primary);
  color: var(--color-bg);
  font-size: 0.8125rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
  width: 100%;
}

.topbar a {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar a:hover {
  color: var(--color-bg);
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.logo__tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  padding: 0.25rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link--active {
  color: var(--color-primary);
}

.header__cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-bg);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-bg);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-bg);
}

.btn--white {
  background: var(--color-bg);
  color: var(--color-primary);
}

.btn--white:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition);
  border-radius: 2px;
}

.menu-toggle--active .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle--active .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle--active .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: calc(var(--topbar-height) + var(--header-height));
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  padding: 2rem 1.25rem;
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav--open {
  transform: translateX(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav__link {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav__cta {
  margin-top: 2rem;
}

.mobile-nav__cta .btn {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: var(--color-bg);
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s;
  z-index: 0;
  transform: translateZ(0);
}

.hero-slider .slide--1 {
  background-image: url('assets/vinc-1.jpg');
}

.hero-slider .slide--2 {
  background-image: url('assets/vinc-2.jpg');
}

.hero-slider .slide--3 {
  background-image: url('assets/vinc-3.jpg');
}

.hero-slider .slide--4 {
  background-image: url('assets/vinc-4.jpg');
}

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

.hero-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(15, 48, 87, 0.62) 0%,
    rgba(15, 48, 87, 0.28) 38%,
    rgba(15, 48, 87, 0.06) 58%,
    transparent 72%
  );
  pointer-events: none;
}

.hero-slider__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(6, 26, 46, 0.18) 100%);
}

/* Preserve right-side crane visibility across common viewports */
@media (min-width: 1280px) {
  .hero-slider .slide {
    background-position: right center;
    background-size: cover;
  }
}

@media (max-width: 1279px) and (min-width: 768px) {
  .hero-slider .slide {
    background-position: 82% center;
    background-size: cover;
  }
}

@media (max-width: 767px) {
  .hero-slider .slide {
    background-position: 88% center;
    background-size: cover;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero__btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.hero__btn-outline:hover {
  background: var(--color-bg);
  color: var(--color-primary);
  border-color: var(--color-bg);
}

.hero__controls {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}

.slider-dots .dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid var(--color-gray);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.slider-dots .dot:hover {
  border-color: #FFFFFF;
}

.slider-dots .dot.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  transform: scale(1.15);
}

.slider-dots .dot:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero__title {
  color: var(--color-bg);
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 480px;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-bg);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* Cards Grid */
.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card__title {
  margin-bottom: 0.75rem;
}

.card__text {
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.card__link {
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Fleet Cards */
.fleet-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.fleet-card:hover {
  box-shadow: var(--shadow-md);
}

.fleet-card__visual {
  height: 180px;
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  position: relative;
}

.fleet-card__height {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-bg);
  line-height: 1;
}

.fleet-card__height span {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.85;
}

.fleet-card__body {
  padding: 1.5rem;
}

.fleet-card__title {
  margin-bottom: 0.5rem;
}

.fleet-card__specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.875rem;
}

.fleet-card__spec {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.fleet-card__spec dt {
  font-weight: 600;
  color: var(--color-primary);
}

/* Minimalist Fleet Catalog */
.fleet-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.minimal-fleet-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.minimal-fleet-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 48, 87, 0.12);
}

.fleet-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}

.fleet-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fleet-card-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.fleet-card-body > p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-gray);
  margin-bottom: 1rem;
}

.fleet-img-wrapper {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.fleet-vehicle-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fleet-specs-table {
  flex: 1;
  margin-bottom: 1.25rem;
}

.fleet-specs-table .spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--color-border);
}

.fleet-specs-table .spec-row:last-child {
  border-bottom: none;
}

.fleet-specs-table .spec-row span {
  color: var(--color-gray);
  font-weight: 500;
}

.fleet-specs-table .spec-row strong {
  color: var(--color-primary);
  font-weight: 700;
  text-align: right;
}

.btn-fleet-action {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: center;
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-bg);
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.btn-fleet-action:hover {
  background: var(--color-primary-dark);
  color: var(--color-bg);
  transform: translateY(-1px);
}

@media (min-width: 640px) {
  .fleet-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1200px) {
  .fleet-grid-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

/* İstatistik Barı Genel Alanı */
.stats-bar-section {
  padding: 40px 0;
  background-color: transparent;
}

/* Ana Oval Kutu */
.stats-bar-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #f4f6f9;
  border-radius: 24px;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Sayaç Maddeleri */
.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

/* Büyük Sayı Stili */
.stats-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0c2b5c;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

/* Alt Açıklama Yazısı */
.stats-label {
  font-size: 0.95rem;
  color: #526071;
  font-weight: 500;
}

/* Dikey Ayırıcı Çizgiler */
.stats-divider {
  width: 1px;
  height: 50px;
  background-color: #0c2b5c;
  opacity: 0.7;
}

/* Mobil Ekranlar İçin Uyum (Responsive) */
@media (max-width: 768px) {
  .stats-bar-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
  }

  .stats-divider {
    width: 60px;
    height: 1px;
  }
}

/* CTA Banner */
.cta-banner {
  background: var(--color-primary);
  color: var(--color-bg);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-banner__title {
  color: var(--color-bg);
  margin-bottom: 1rem;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-bg);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero__title {
  color: var(--color-bg);
  margin-bottom: 0.75rem;
}

.page-hero__breadcrumb {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero__breadcrumb a:hover {
  color: var(--color-bg);
}

/* About Summary (multi-column) */
.about-summary-section {
  padding: clamp(4rem, 7vw, 5.5rem) 0;
  background: var(--color-bg);
}

.about-summary-section .section-badge {
  display: block;
  width: fit-content;
  margin: 0 auto 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(15, 48, 87, 0.08);
  padding: 0.45rem 1rem;
  border-radius: 100px;
}

.about-main-title {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 1.25rem;
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-primary);
}

.about-lead-text {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.75;
  color: var(--color-gray);
}

.about-summary-content {
  display: grid;
  gap: 2.5rem;
  align-items: stretch;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-feature-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.about-feature-item:first-child {
  padding-top: 0;
}

.about-feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-feature-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-primary);
}

.about-feature-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-gray);
  padding-left: 1rem;
  margin: 0;
}

/* Ensure the image container aligns perfectly with the left list */
.about-summary-image-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-summary-img {
  width: 100%;
  max-width: 100%;
  /* CRITICAL: Enforce strict 1:1 square aspect ratio */
  aspect-ratio: 1 / 1;
  /* Ensures the premium crane image crops from the center without any stretching */
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

/* Optional: Subtle interaction effect to match the premium theme */
.about-summary-img:hover {
  transform: scale(1.01);
}

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.values-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.value-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.value-item__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-bg);
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: var(--radius);
}

/* Mission & Vision */
.mission-vision-section {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: var(--color-bg);
}

.mission-vision-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.mv-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.mv-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 48, 87, 0.12);
}

.mv-icon-wrapper {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f9;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.mv-card h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0c2b5c;
  margin-bottom: 1rem;
}

.mv-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-gray);
  margin: 0;
}

@media (min-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Services detail */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-block {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: calc(var(--header-height) + var(--topbar-height) + 1rem);
}

.service-block:last-child {
  border-bottom: none;
}

/* Premium Service Row System */
.service-row-layout {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}

.service-row-layout.reverse-row {
  flex-direction: row-reverse;
}

.service-image-box {
  flex: 0 0 38%;
  width: 100%;
}

.service-block-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s ease;
}

.service-block-img:hover {
  transform: scale(1.02);
}

.service-text-content {
  flex: 1;
}

.service-text-content h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.service-text-content p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-gray);
  margin-bottom: 1rem;
}

.service-block__content h3 {
  margin-bottom: 1rem;
}

.service-block__list {
  margin-top: 1rem;
}

.service-block__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.service-block__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

@media (max-width: 992px) {
  .service-row-layout,
  .service-row-layout.reverse-row {
    flex-direction: column;
    gap: 35px;
    margin-bottom: 70px;
  }

  .service-image-box {
    flex: none;
    width: 100%;
  }
}

/* Contact */
.minimal-contact-section {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.info-minimal-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.info-minimal-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 48, 87, 0.1);
}

.contact-icon-wrapper,
.info-icon-box {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f9;
  border-radius: 12px;
}

.info-minimal-card h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0c2b5c;
  margin-bottom: 0.75rem;
}

.info-minimal-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-gray);
  margin: 0;
}

.info-minimal-card p strong,
.info-minimal-card p a {
  color: var(--color-primary);
  font-weight: 600;
}

.info-minimal-card p a:hover {
  color: var(--color-primary-light);
}

.highlight-subtext {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-gray);
}

.highlight-subtext a {
  color: var(--color-gray);
  font-weight: 500;
}

.highlight-subtext a:hover {
  color: var(--color-primary);
}

@media (min-width: 640px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .contact-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.contact-map-section {
  width: 100%;
  background: var(--color-bg-alt);
  padding: 0;
}

.map-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  line-height: 0;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

@media (max-width: 640px) {
  .map-container iframe {
    height: 320px;
  }
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  font-size: 1.25rem;
}

.contact-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
  color: var(--color-gray);
}

.contact-item p,
.contact-item a {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
}

.contact-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-primary);
  transition: border-color var(--transition);
}

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

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.map-placeholder {
  width: 100%;
  height: 320px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--color-gray);
  font-size: 0.9375rem;
  text-align: center;
  padding: 2rem;
}

.map-placeholder__icon {
  font-size: 3rem;
  opacity: 0.5;
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
}

.footer .logo__name {
  color: var(--color-bg);
}

.footer .logo__tagline {
  color: rgba(255, 255, 255, 0.6);
}

.footer__desc {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer__title {
  color: var(--color-bg);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
}

.footer__links a:hover {
  color: var(--color-bg);
}

.footer__contact li {
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Footer İletişim column — official credentials, crisp white text */
.footer-contact-col .footer__title {
  color: #ffffff !important;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-text,
.footer-contact-link {
  color: #ffffff !important;
  text-decoration: none;
  line-height: 1.6;
}

.footer-contact-link:hover {
  color: #ffffff !important;
  opacity: 0.9;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

/* WhatsApp CTA */
.whatsapp-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-whatsapp);
  color: var(--color-bg);
  padding: 0.875rem 1.25rem;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: var(--color-bg);
}

.whatsapp-cta__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.whatsapp-cta__text {
  display: none;
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.highlight-box {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}

.highlight-box p {
  font-size: 1.0625rem;
  color: var(--color-primary);
  font-weight: 500;
  margin: 0;
}

/* Tablet */
@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero__stats {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
  }

  .hero__controls {
    gap: 1rem;
  }

  .whatsapp-cta__text {
    display: inline;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .nav {
    display: block;
  }

  .header__cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

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

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

  .about-summary-content {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }

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

@media (min-width: 1200px) {
  .cards--fleet {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Global CTA Section Wrapper */
.global-cta-section {
  background-color: #0c2b5c;
  padding: 60px 0;
  text-align: center;
  color: #ffffff;
}

/* Thin, Minimalist Heading Style */
.global-cta-section h2 {
  font-size: 2.2rem;
  font-weight: 300; /* Keeps our gorgeous thin minimalist look */
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  /* CRITICAL FIX: Force the text color to be crisp white for perfect readability */
  color: #ffffff !important;
}

/* Thin Description Text */
.global-cta-section p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Button Layout Group */
.cta-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  align-items: center;
}

/* Primary Call Button (White Background) */
.btn-cta-call {
  background-color: #ffffff;
  color: #0c2b5c;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

/* Secondary Navigation Button (Outline Style) */
.btn-cta-nav {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-cta-nav:hover {
  background-color: #ffffff;
  color: #0c2b5c;
}

.btn-cta-call:hover {
  opacity: 0.9;
}

/* ==========================================================================
   ÜNSAL VİNÇ PLATFORM - GLOBAL MOBILE RESPONSIVENESS SYSTEM
   ========================================================================== */

/* 1. Tablet and Medium Screens (Max-Width: 1024px) */
@media (max-width: 1024px) {
  /* Main Container padding safety checks */
  .container, .minimal-contact-section, .contact-map-section, .fleet-grid-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100%;
  }

  /* Fleet grid collapses safely to 2 columns on tablets */
  .fleet-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* Contact info blocks collapse safely to 2 columns */
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* Hero / Main banners layout tuning */
  .hero-section h1 {
    font-size: 2.5rem !important;
  }

  .hero__title,
  .page-hero__title {
    font-size: 2.5rem !important;
  }
}

/* 2. Standard Smartphones & Small Screens (Max-Width: 768px) */
@media (max-width: 768px) {
  /* Global Layout Overrides - Strict Anti-Horizontal Scroll Prevention */
  html, body {
    overflow-x: hidden !important;
    width: 100%;
  }

  /* Header Top Utility Bar Adjustments */
  /* If content is too long, we fold it gracefully or align nicely */
  .header-top-bar {
    font-size: 0.8rem !important;
    padding: 8px 10px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .topbar {
    height: auto !important;
    padding: 8px 0 !important;
    font-size: 0.8rem !important;
  }

  .topbar__inner {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: center;
  }

  /* Main Navigation Menu Adjustments */
  /* Ensures standard columns fall into vertical blocks if responsive mobile toggle is active */
  .nav-menu-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .nav__list {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
  }

  /* Typography Optimization for Small Displays */
  h1, .hero-section h1 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
  }

  .hero__title,
  .page-hero__title {
    font-size: 2rem !important;
    line-height: 1.3 !important;
  }

  h2, .global-cta-section h2 {
    font-size: 1.6rem !important;
    line-height: 1.4 !important;
  }

  h3 {
    font-size: 1.3rem !important;
  }

  p {
    font-size: 0.95rem !important;
  }

  /* Homepage About Summary Grid Breakdown (The 1:1 image and text list split) */
  /* Force image block and text lists to stack vertically */
  .about-summary-row {
    display: flex !important;
    flex-direction: column-reverse !important; /* Puts text first, square image right beneath nicely */
    gap: 30px !important;
  }

  .about-summary-content {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 30px !important;
  }

  .about-summary-img {
    max-width: 320px !important; /* Prevents image from looking monstrously huge on small phones */
    margin: 0 auto !important;
  }

  /* Fleet Grid System Breakdown - Clean Vertical Stack */
  .fleet-grid-container {
    grid-template-columns: 1fr !important; /* Strictly 1 card per row */
    gap: 24px !important;
  }

  /* Contact Information Section Breakdown - Clean Vertical Stack */
  .contact-cards-grid {
    grid-template-columns: 1fr !important; /* Strictly 1 info block per row */
    gap: 16px !important;
  }

  .info-minimal-card {
    padding: 25px 20px !important;
  }

  /* Map display layout tweaks */
  .contact-map-section {
    margin: 30px auto 50px auto !important;
  }

  .map-container iframe {
    height: 320px !important; /* Adapts height intelligently so it fits smart device portals */
  }

  .contact-map-section iframe {
    height: 320px !important;
  }

  /* Global Thin Footer CTA Button Alignment */
  .cta-btn-group {
    flex-direction: column !important; /* Buttons stack on top of each other on mobile phones */
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    gap: 12px !important;
  }

  .btn-cta-call, .btn-cta-nav {
    width: 100% !important; /* Buttons become full-width for perfect thumb access */
    text-align: center !important;
    justify-content: center !important;
  }

  /* Footer Layout Clean Stack */
  .footer-row {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 30px !important;
  }

  .footer__grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 30px !important;
  }

  .footer-contact-list li {
    justify-content: center !important; /* Centers map, phone and email info on mobile displays */
  }

  .footer__links {
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .service-row-layout,
  .service-row-layout.reverse-row {
    grid-template-columns: 1fr !important;
  }

  .section__title,
  .about-main-title {
    font-size: 1.6rem !important;
  }
}

/* ==========================================================================
   OPTIMIZED DESIGN: SPACIOUS FLEET GRID & SLEEK CONTACT CARDS
   ========================================================================== */

/* 1. Fleet Page Grid - Switched to a wider 3-column layout for perfect text spacing */
.fleet-grid-container {
  display: grid !important;
  /* Max 3 cards per row on desktop gives each vehicle card plenty of breathing room */
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important; /* Premium wide spacing between cards */
  max-width: 1200px !important;
  margin: 50px auto !important;
  padding: 0 20px !important;
}

/* 2. Contact Page Grid - Retaining the sleek 5-column side-by-side row */
.contact-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
  max-width: 1400px !important;
  margin: 40px auto !important;
}

/* Card Padding Tuning to ensure technical data fits perfectly without text-wrap breaking */
.minimal-fleet-card {
  padding: 30px 24px !important; /* Spacious inner container padding for text fluidity */
}

.info-minimal-card {
  padding: 20px 15px !important;
}

/* ==========================================================================
   RESPONSIVE LAYOUT FOR TABLETS & MOBILES
   ========================================================================== */
@media (max-width: 1024px) {
  /* On tablets, drop both grids to a stable 2-column distribution */
  .fleet-grid-container, .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  /* On mobile smartphones, seamlessly stack all content vertically 100% wide */
  .fleet-grid-container, .contact-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   TOP BAR HEADER - SPACIOUS CONTACT LAYOUT FIX
   ========================================================================== */

/* Main top bar wrapper alignment adjustment */
.header-top-bar,
.topbar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 0 !important;
  font-size: 0.85rem !important;
  height: auto !important;
  min-height: var(--topbar-height);
}

.topbar__inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 1.5rem !important;
  width: 100%;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Contact group: phones + email spread comfortably */
.topbar__inner > div {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: nowrap !important;
}

/* Ensure the container carrying the phones spreads out beautifully */
.header-top-phone {
  display: flex !important;
  align-items: center !important;
  /* Generous gaps between separate contact items */
  gap: 20px !important;
  flex-wrap: nowrap !important; /* Prevents awkward breaks on large desktop viewports */
}

/* Styled individual anchor items inside top bar */
.header-top-phone a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important; /* Tiny gap between the emoji icon and the number string */
  color: #ffffff !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.header-top-phone a:hover {
  opacity: 0.85;
}

/* Vertical separator line styling adjustment to avoid tight crowding */
.phone-separator {
  opacity: 0.3 !important;
  margin: 0 4px !important;
  color: #ffffff !important;
}

.topbar__inner > div > span:not(.phone-separator) {
  opacity: 0.3 !important;
  margin: 0 4px !important;
  color: #ffffff !important;
}

.topbar__inner > div > a.topbar__item {
  white-space: nowrap;
}

/* Responsive optimization for standard smartphones */
@media (max-width: 768px) {
  .topbar__inner {
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center;
    gap: 12px !important;
  }

  .topbar__inner > div,
  .header-top-phone {
    flex-wrap: wrap !important; /* Safely fold items on phone displays */
    justify-content: center !important;
    gap: 12px !important;
  }
}
