/* Genel reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: #004d99;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header h1 {
  font-size: 24px;
}

/* Menü linkleri ve butonlar */
nav a, .btn-login, .btn-login-alt {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-login,
.btn-login-alt {
  padding: 8px 14px;
  border-radius: 5px;
}

.btn-login {
  background-color: #ff6f00;
}

.btn-login:hover {
  background-color: #e65c00; /* daha koyu turuncu */
  color: white;
}

.btn-login-alt {
  background-color: #25d366;
  margin-left: 10px;
}

.btn-login-alt:hover {
  background-color: #1da851; /* daha koyu yeşil */
  color: white;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #000;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 100%;
  max-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.slider img.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
}

.slider-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 600;
  max-width: 90%;
  text-align: center;
  z-index: 20;
}

.slider-caption a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.slider-caption a:hover {
  text-decoration: underline;
}

.btn-whatsapp {
  background-color: rgba(0, 77, 153, 0.8);
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
               -1px 1px 0 #000, 1px 1px 0 #000;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn-whatsapp:hover {
  background-color: rgba(0, 77, 153, 0.95);
}

/* Kurumsal Mesaj */
.corporate-message {
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
}

.corporate-message h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0056b3;
  font-weight: 700;
}

.corporate-message p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 15px;
  color: #555;
}

/* Vizyon - Misyon Alanı */
.container.three-column {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 20px;
}

.side-box, .center-box {
  flex: 1;
  min-width: 260px;
}

.center-box {
  flex: 2;
  min-width: 300px;
}

.feature, .vision-box {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.vision-box h4 {
  margin-top: 0;
  color: #004d99;
  font-size: 18px;
  margin-bottom: 5px;
}

.vision-box p {
  font-size: 0.95rem;
  color: #555;
}

/* Marka Slider */
.brand-slider {
  background: #fff;
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid #ddd;
  margin-top: 40px;
}

.brand-track {
  display: flex;
  width: fit-content;
  animation: scrollBrands 20s linear infinite;
  gap: 40px;
  align-items: center;
  padding-left: 100%;
}

.brand-track img {
  height: 80px;
  width: auto;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.brand-track img:hover {
  transform: scale(1.1);
  opacity: 1;
}

@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Footer */
footer {
  background-color: #004d99;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 30px;
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
  .hero-slider {
    height: 300px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 10px;
  }
}

@media (max-width: 600px) {
  .hero-slider {
    height: 250px;
  }

  .slider-caption {
    font-size: 18px;
    padding: 10px 20px;
  }
}

@media (max-width: 425px) {
  .hero-slider {
    height: 180px;
  }

  .slider-caption {
    font-size: 16px;
    padding: 8px 15px;
  }

  .brand-track img {
    height: 60px;
  }
}
