:root {
  /* Colors */
  --color-primary: #EB5704;
  --color-primary-tint: #fff3e0;
  --color-accent: #2f4858;

  --color-text: #3e3e3e;
  --color-text-strong: #2a2a2a;
  --color-text-soft: #5a5a5a;
  --color-text-muted: #8a8a8a;
  --color-text-faint: #bdbdbd;
  --color-bg-deep-1: #22fe22;

  /* Spacing (4px scale) */
  --space-1: 0.4rem;
  --space-2: 0.8rem;
  --space-3: 1.2rem;
  --space-4: 1.6rem;
  --space-5: 2.4rem;
  --space-6: 3.2rem;
  --space-7: 4.8rem;
  --space-8: 6.4rem;
  --space-9: 9.6rem;
}

/* === GENEL SIFIRLAMALAR VE İYİLEŞTİRMELER === */
* {
  /* Bütün elemanlara border-box uygulayarak kaydırma çubuğu sorununu önler */
  box-sizing: border-box;
}

/* === HERO SECTION STYLES === */
.section-hero {
  width: 100%; /* auto yerine 100% daha güvenlidir */
  height: 100vh;
  background-image: url("/img/background.jpg");
  /* overlay: auto; özelliği hatalıdır, kaldırıldı */
  background-size: cover;
  background-position: center;
  position: relative;
  background-attachment: fixed;
  /* box-sizing: border-box kuralı * selector'üne taşındı */
}

.overlay {
  /* 1. Yarı Saydam Renk (RGBA kullanılır) */
  background-color: rgba(0, 0, 0, 0.5); /* Siyah renk (%50 opaklık) */

  /* 2. Konumlandırma */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  /* İçindeki metni ortalamak için (isteğe bağlı) */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.company-logo {
  width: 16rem;
  position: absolute;
  top: 3%;
  left: 7%;
  transform: translateX(-50%);
  z-index: 11;
  clip-path: circle();
}

.nav {
  position: absolute;
  z-index: 10;
  top: 7%;
  
  /* Logodan hemen sonra başlaması için LEFT değerini ayarlayın */
  left: 1rem; /* Tahmini değer, logonun genişliği ve sağındaki boşluğa bağlı */
  
  /* Sağ kenara sabitlenmesi için */
  right: 0; 
  
  /* Daha önceki hatalı transform ve padding değerleri kaldırıldı */
  
  background-color: rgba(255, 255, 255, 0.150);
  padding: 2.4rem 3.6rem; /* Normal padding değerleri kullanıldı */
  
  backdrop-filter: blur(0.2rem);
  border: 1px solid white;
  border-radius: 8px;
  
  /* İçindeki bağlantıların sağa yaslanması için */
  display: flex;
  justify-content: flex-end; 
  align-items: center;
}

/* Navigasyon Listesi (Bağlantılar) */
.nav-list {
  /* Bu listenin sağ kenara hizalanması için gerekli */
  margin-left: auto;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4.8rem;
  list-style: none;
}

.nav-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4.8rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  font-size: 2.4rem;
  color: white;
  font-weight: 500;
  display: inline-block;
  transition: all 0.2s ease;
  letter-spacing: 0.15rem;
  padding: 0.6rem 1.2rem;
  background-color: transparent;
}

.nav-link:hover,
.nav-link:active {
  transform: scale(1.05);
  color: #EB5704;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 22rem 6rem;
  padding-bottom: 0rem;
}

.hero h1 {
  font-weight: 700;
  font-size: 7.2rem;
  letter-spacing: -0.1rem;
}

.hero-p {
  font-size: 2.4rem;
  margin-top: 4.8rem;
  font-weight: 500;
  margin-left: 2rem;
  letter-spacing: 0.05rem;
  line-height: 1.6;
}

.hero-btn {
  margin-top: 3.6rem;
  padding: 1.2rem 2.4rem;
  display: flex;
  gap: 3.6rem;
}

/* === PRODUCTS SECTION STYLES === */
.section-products {
  background-color: antiquewhite;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.products-anchor {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 500;
  color: #A53D03;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}

.products-intro {
  font-size: 5.6rem;
  color: #521C0D;
  text-align: center;
  font-weight: 600;
}

.brands {
  margin: 5.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4.8rem;
}

.brands-img {
  width: 90%;
}

.btn-brands {
  border: none;
  background: none;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-brands:hover {
  transform: scale(1.1);
}

.btn-brands:active {
  transform: scale(0.95);
}

.products-card {
  border-radius: 8px;
  box-shadow: inset 0 0 1.2rem 0.15rem rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: -1rem;
  padding: 1.8rem 0rem;
  transition: all 0.3s ease;
}

.products-card:hover {
  transform: translateY(-2%);
}

.products-card:active {
  transform: scale(0.99);
}

.products-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}

.products-card-text h2 {
  color: #521C0D;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
}

.products-card-text h3 {
  color: #521C0D;
  font-size: 1.6rem;
  font-weight: 400;
  padding: 0.2rem 0;
  text-align: center;
}

.products-card-text h4 {
  color: #633325;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.2rem;
}

.products-card-text p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #521C0D;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.4rem 1.2rem;
  background-color: #d8c497;
}

/* === INFO SECTION STYLES === */
.info-anchor {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 500;
  color: #A53D03;
  padding-top: 1.2rem;
  margin-bottom: 1.2rem;
}

.info-intro {
  font-size: 5.6rem;
  color: #eaf4f6;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1.2rem;
}

/* 3D Dünya için container */
.info-container-child {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.237);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.001));
  backdrop-filter: blur(0.05rem);
  border-radius: 8px;
  box-shadow: inset 0 0 12rem #ffffff11;
  transition: all 0.4s ease-out;
  font-family: "Work Sans", sans-serif;
}

.info-container-child:hover {
  transform: scale(0.98);
}

.box-1,
.box-2,
.box-4,
.box-5,
.box-7 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-text {
  font-size: 10.8rem;
  color: white;
  font-weight: 300;
  letter-spacing: 1.4rem;
  position: relative;
}

.info-text::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 115%;
  height: 2px;
  background-color: rgb(255, 255, 255);
  transition: transform 0.4s ease-out;
}

.info-text:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* === İSTATİSTİK SAYILARI STİLLERİ (Hem box-3 hem box-6 için ortak) === */
/* KOD TEKRARINI ÖNLEMEK İÇİN .animated-stats-container yeni sınıfı kullanıldı */
.animated-stats-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9.6rem;
}

.info-textbox-container h3 {
  font-weight: 300;
  font-size: 6.4rem;
  letter-spacing: 0.3rem;
  color: white;
  /* Sayılar büyürken kutunun genişliğinin değişmesini engeller. */
  font-variant-numeric: tabular-nums;
}

.info-textbox-container span {
  font-size: 1.8rem;
  color: #aaa;
  /* Animasyon için başlangıç durumu ve yumuşak geçiş */
  opacity: 0;
  transition: opacity 1s ease-out;
}

.info-textbox-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* ::after pseudo-elementini konumlandırmak için gerekli */
  position: relative;
}


.info-textbox-container:nth-child(2)::before,
.info-textbox-container:nth-child(2)::after {
  content: '';
  position: absolute;
  background-color: white;
  transform-origin: center;
  transform: scale(0);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.83, 0, 0.17, 1);
  transition-delay: 0.5s;
}

/* Yatay çubuk (—) */
.info-textbox-container:nth-child(2)::before {
  top: 40%;
  left: calc(100% + 1rem); /* Mesafe 1rem'e düşürüldü */
  width: 2rem;
  height: 2px;
}


.info-textbox-container:nth-child(2)::after {
  top: calc(40% - 1rem + 1px);
  left: calc(100% + 1rem + 1rem - 1px);
  width: 2px;
  height: 2rem;
}

.start-animation .info-textbox-container:nth-child(2)::before,
.start-animation .info-textbox-container:nth-child(2)::after {
  transform: scale(1);
  opacity: 1;
}

.start-animation .info-textbox-container span {
  opacity: 1;
}

.info-card {
  background: transparent;
  border-radius: 8px;
  padding: 2.4rem 3.2rem;
  max-width: 600px;
  color: #ddd;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.card-header h3 {
  font-size: 3.4rem;
  padding-bottom: 3.2rem;
  font-weight: 600;
  color: white;
  margin: 0;
}

.card-subtitle {
  font-size: 1.6rem;
  color: #aaa;
  margin: 0.4rem 0 0 0;
}

/* Alt başlıktaki önemli kısımlar */
.card-subtitle strong {
  font-weight: 600;
  color: #eee;
}

/* Ayırıcı çizgi */
.card-divider {
  border: 0;
  height: 1px;
  background-color: #444;
  margin: 1.4rem 0;
}

/* Gövde Bölümü */
.card-body p {
  font-size: 1.5rem;
  line-height: 1.9;
  margin: 0 0 1.2rem 0;
  font-weight: 400;
}

.card-body p:last-child {
  margin-bottom: 0;
}

/* Vurgulanan metin (span) */
.highlight {
  font-weight: 600;
  color: white;
}

/* === MARKA ETİKETLERİ STİLLERİ (BRAND LIST) === */

/* Marka listesinin ana konteyneri */
.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2.4rem;
}

/* Her bir marka etiketi */
.brand-list li {
  background: transparent;
  color: white;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 1.2rem rgba(255, 255, 255, 0.3);
}

/* === KOMPAKT KART İÇİN ÖZEL STİLLER (box-7) === */

/* Ana kartın genel boşluklarını sıkılaştırır */
.info-card--compact {
  padding: 2.2rem 2.8rem;
  gap: 1.4rem;
}

/* BAŞLIĞIN BOYUTUNU VE BOŞLUĞUNU KÜÇÜLTÜR */
.info-card--compact .card-header h3 {
  font-size: 2.6rem;
  padding-bottom: 0.8rem;
}

/* Alt başlık metnini hafifçe küçültür */
.info-card--compact .card-subtitle {
  font-size: 1.5rem;
}

/* AYIRICI ÇİZGİNİN ETRAFINDAKİ BOŞLUĞU AZALTIR */
.info-card--compact .card-divider {
  margin: 0;
}

/* GÖVDE METNİNİ VE BOŞLUĞUNU AYARLAR */
.info-card--compact .card-body p {
  font-size: 1.45rem;
  line-height: 1.8;
}