/* ============================
   E&E Logistics – Public Landing
   Night Truck + US Flag (Full-page BG)
   ============================ */

/* Renk paleti */
:root {
  --american-red: #BF0A30;
  --american-dark-red: #A30829;
  --american-blue: #002868;
  --american-blue-soft: #0b2d6b;
  --american-white: #FFFFFF;

  --text-main: #F9FAFB;        /* genel yazı: açık */
  --text-soft: #CBD5F5;
  --card-border-soft: rgba(15, 23, 42, 0.35);
  --card-shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.8);
}

/* ========== BODY + TAM SAYFA ARKA PLAN ========== */

body {
  position: relative;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: #020617;   /* görsel yüklenmezse */
  overflow-x: hidden;
}

/* Arkadaki sabit görsel – bütün site bunun üstünde kayıyor */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/images/public/background.jpeg") center/cover no-repeat fixed;
  pointer-events: none;
}

/* Hafif genel karartma (okunabilirlik için) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(15, 23, 42, 0.75), transparent 55%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9));
  pointer-events: none;
}

/* Bootstrap .bg-light vs. bizim tam ekran BG çakışmasın */
.bg-light {
  background-color: transparent !important;
}

/* ========== NAVBAR (ŞEFFAF) ========== */

.navbar {
  background: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.7);
}

.navbar .nav-link {
  color: #E5EDF8;
  font-weight: 500;
  font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--american-white);
}

/* Login butonu */
.navbar .btn-login {
  border-radius: 999px;
  padding: 0.4rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--american-white);
  background: rgba(15, 23, 42, 0.25);
  font-weight: 500;
  font-size: 0.9rem;
}

.navbar .btn-login:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Logo */
.navbar-brand img {
  max-height: 45px;
  height: auto;
  width: auto;
  border-radius: 10px;
}

/* ========== HERO (TRUCK) ========== */

.hero-section {
  position: relative;
  color: var(--american-white);
  padding-top: 110px;   /* navbar altında boşluk */
  padding-bottom: 110px;
}

/* Artık ayrı hero-bg resmi kullanmıyoruz; varsa HTML’de kalabilir ama görünmez olsun */
.hero-bg {
  display: none;
}

/* Sadece sol tarafta yazıyı netleştiren hafif karartma */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.7) 40%,
      transparent 75%
    );
  z-index: -1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--american-white);
  text-shadow: 0 18px 35px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 36rem;
  color: rgba(249, 250, 251, 0.9);
}

.hero-trust p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Hero CTA butonları */

.btn-primary {
  background: linear-gradient(135deg, var(--american-red), var(--american-dark-red));
  border-color: transparent;
  color: var(--american-white);
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  font-weight: 600;
  box-shadow: 0 15px 30px rgba(191, 10, 48, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(191, 10, 48, 0.65);
}

.btn-outline-light {
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--american-white);
  background: transparent;
  font-weight: 500;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn-outline-light:hover {
  background-color: var(--american-white);
  color: #020617;
  transform: translateY(-1px);
}

/* ========== SECTION GENEL ========== */

.section-padding {
  padding: 80px 0;
}

.section-header h2 {
  color: var(--american-white);
  font-weight: 700;
  font-size: 1.9rem;
}

.section-subtitle {
  color: var(--text-soft);
  font-size: 1.03rem;
}

/* ========== HOW IT WORKS & VALUE CARDS (GLASS) ========== */

.how-it-works-section {
  position: relative;
}

.feature-card,
.value-card {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 26px 24px;
  border-radius: 18px;
  box-shadow: var(--card-shadow-soft);
  border: 1px solid var(--card-border-soft);
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover,
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.9);
  border-color: rgba(191, 10, 48, 0.7);
}

/* Adım numarası rozet */
.feature-step {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #ffffff, #e5e7eb);
  color: #0b1120;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 0 0 3px rgba(191, 10, 48, 0.8);
  margin-bottom: 0.75rem;
}

.feature-title,
.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--american-white);
  margin-bottom: 0.5rem;
}

.feature-text,
.value-text {
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* ========== CTA (ALT BLOK – ŞEFFAF) ========== */

.cta-section {
  background: transparent;
  color: var(--american-white);
  padding: 90px 0 95px;
  border-top: 1px solid rgba(248, 250, 252, 0.2);
}

.cta-section h2 {
  color: var(--american-white);
  font-weight: 700;
  font-size: 2rem;
}

.cta-section .section-subtitle {
  color: rgba(241, 245, 249, 0.9);
}

/* CTA’da beyaz/kırmızı buton */
.cta-section .btn-primary {
  background-color: var(--american-white);
  border-color: var(--american-white);
  color: var(--american-red);
  font-weight: 600;
  padding: 0.9rem 2.4rem;
  font-size: 1.05rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}

.cta-section .btn-primary:hover {
  background-color: #f3f4f6;
  border-color: #f3f4f6;
  color: var(--american-dark-red);
}

/* ========== FOOTER (ŞEFFAF) ========== */

.public-footer {
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  text-align: center;
  background: transparent;
  border-top: 1px solid rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
  .hero-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .navbar-brand img {
    max-height: 56px;
  }
}