/* Genel */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #0d2b5c;
  color: white;
  line-height: 1.6;
}

/* Navbar */
/* ------------------ Responsive Navbar ------------------ */
/* ------------------ Navbar Responsive (menü yatay) ------------------ */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar nav {
    flex-direction: row;   /* linkleri yatay sırala */
    flex-wrap: wrap;       /* taşarsa alta geçsin */
    justify-content: center;
    width: 100%;
    gap: 15px;
    margin-top: 10px;
  }

  .navbar nav a {
    padding: 6px 0;
    font-size: 0.9rem;
  }

  .language-selector {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

 
.navbar {
  display: flex;
  justify-content: space-between; /* logo solda, menü sağda */
  align-items: center;
  padding: 10px 20px;
  background: #0d2b5c;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
}

.navbar nav a.active {
  text-decoration: none;  /* alt çizgi kalktı */
  font-weight: 600;
}


/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: bold;
}

.logo img {
  height: 30px;
}


.logo a {
  display: flex;
  align-items: center;
  text-decoration: none; /* alt çizgi kalksın */
  color: inherit; /* nav yazı rengiyle aynı kalsın */
}

.logo img {
  height: 40px; /* logonun boyutunu sabitle */
  margin-right: 8px; /* logo ile yazı arasına boşluk */
}

.logo span {
  font-size: 1.2rem; 
  font-weight: bold;
}


/* Dil Seçici */
.language-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-selector .lang-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.language-selector img {
  width: 24px;
  height: auto;
  display: block;
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 1rem;
}

.hero-truck {
  max-width: 400px;
  margin: 0 auto 20px;
  display: block;
}

.hero h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.cta-btn {
  background: #0073e6;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
}

/* Solutions */
.solutions {
  background: white;
  color: #0d2b5c;
  padding: 3rem 1rem;
  text-align: center;
}

.truck-placeholder {
  margin-top: 2rem;
}

/* Contact */
.contact {
  padding: 3rem 1rem;
  background: white;   /* ✅ Arka planı beyaz yap */
  color: #0d2b5c;      /* ✅ Yazılar lacivert */
  text-align: center;
}

.contact h2 {
  margin-bottom: 2rem;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form {
  flex: 1;
  max-width: 400px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact button {
  background: #0073e6;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

/* Footer */
footer {
  background: #0d2b5c;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: bold;
}


/* Ürünler sayfası */
.products {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 3rem 1rem;
  background: white;
  color: #0d2b5c;
  gap: 20px;
  flex-wrap: wrap; /* küçük ekranda satır kaydır */
}

.products ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;        /* Ortaya alır */
  display: table;        /* Ortalamayı düzgün yapar */
}

.products li {
  display: table-row;    /* Satır gibi davranır */
  text-align: left;      /* Yazılar sola yaslanır */
}

.product-card ul.product-features {
  list-style: none;
  padding: 0;
  margin: 0 auto;     /* hepsi ortalanır */
  width: 85%;         /* sabit genişlik */
}

.product-card ul.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;           /* ikon ve yazı arası boşluk */
  justify-content: flex-start; /* ikonlar ve yazılar hep soldan hizalanır */
}


.product-card {
  flex: 1;
  min-width: 250px;   /* kart çok küçülmesin */
  max-width: 700px;   /* kart genişliği sınırla */
  background: #f8f9fa;
  border-radius: 10px;
  padding: 2rem;
  margin: 0 auto;     /* ortalasın */
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.product-card h2 {
  margin-bottom: 1rem;
  color: #0073e6;
}

/* Alt görsel alanı */

.products-image {
  display: flex;
  justify-content: center; /* yatayda ortala */
  align-items: center;     /* dikeyde ortala (yükseklik verilirse) */
  padding: 3rem 1rem;
  background-color: white;
}

.products-image img {
  max-width: 100%;   /* mobilde taşmasın */
  height: auto;      /* oran korunsun */
}

@media (max-width: 768px) {
  .products-image img {
    max-width: 90%; /* ekranın %90’ına sığsın */
  }
}


.product-intro {
  background: #f9f9f9;      /* Açık gri arkaplan */
  color: #0d2b5c;           /* Lacivert yazı */
  text-align: center;
  padding: 3rem 1rem;
}

.product-intro h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #0d2b5c;
}

.product-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.product-features {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  font-size: 14px;
  text-align: left;
}

.product-features li {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}


/* Mobil görünüm */
@media (max-width: 768px) {
  .products {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 90%;      /* ekranın %90'ını kaplasın */
    max-width: none; /* üstteki max sınırı kaldır */
    margin-bottom: 20px;
  }
}

/* ==========================
   CONTACT SAYFASI ÖZEL TASARIM
   ========================== */
body.contact-page {
  background: #fff;      /* ✅ Arka plan beyaz */
  color: #0d2b5c;        /* ✅ Yazılar lacivert */
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px 10%;
  flex-wrap: wrap;
}

.contact-card {
  flex: 1 1 250px;
  max-width: 300px;
  background: #f8f9fa;   /* ✅ Açık gri kutucuk */
  padding: 25px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  color: #0d2b5c;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.contact-card i {
  font-size: 2rem;
  color: #0073e6;
  margin-bottom: 15px;
}

.product-features {
  list-style: none;
  padding: 0;
}

.product-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

/* normal maddeler: ✔ */
.product-features li::before {
  content: "✔";
  color: #003366; /* lacivert */
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* özel madde: kırmızı yıldız */
.product-features li.highlight-star::before {
  content: "★";
  color: #cc0000; /* kırmızı */
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  min-height: 100%; /* kart boyları eşitlensin */
}

.pricing-tag {
  text-align: center;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: auto; /* kartın en altına iter */
  font-size: 14px;
}

.pricing-tag.free {
  background: #d6f5d6;
  color: #006400;  
  border: 1px solid #006400;
}

.pricing-tag.paid {
  background: #f8d6d6;  
  color: #8b0000;  
  border: 1px solid #8b0000;
}
