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

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  border-radius: 8px;
  height: auto;
}

/* Header Menü */
.main-header {
  background-color: #ffffffee;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

/* Logo Stilleri */
.logo {
  flex-shrink: 0;
}

.logo-img {
  max-height: 60px; /* Logonun yüksekliğini ayarlar */
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #008c5f;
}

/* Hero */
.hero {
  background: url('img/hero.jpg') no-repeat center center/cover;
  height: 90vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
}

/* Yeni Buton Stilleri */
.hero-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #28a745;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.6);
}

/* Section */
.section {
  padding: 80px 0;
}

.section.light {
  background-color: #f1f1f1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.row .text,
.row .image {
  flex: 1 1 50%;
}

/* Hakkımızda resim boyutu düzeltme */
.image img {
  max-height: 400px;
  object-fit: cover;
}

/* Hizmet Kartları */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 calc(33.333% - 20px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  max-width: 350px;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  margin: 15px 0 10px;
}

/* Neden Biz ve İletişim */
#why-contact-container .row {
  align-items: flex-start;
}

.column {
  flex: 1 1 50%; /* Esnekliği ayarlandı */
  padding: 20px;
  min-width: 300px;
}

.features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.features li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: #222;
  color: #ddd;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .main-header .container {
    flex-direction: column;
    text-align: center;
  }
  
  .logo {
    margin-bottom: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .row {
    flex-direction: column;
  }
  
  .row .text,
  .row .image {
    width: 100%;
  }

  .section {
    padding: 40px 0;
  }

  .cards {
    flex-direction: column;
  }

  .card {
    flex: 1 1 100%;
  }

  #why-contact-container .row {
    flex-direction: column;
  }
  
  .column {
    min-width: 100%;
  }
}

/* Animasyonlar */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.fade-in-up.delay {
  animation-delay: 0.5s;
}

html {
  scroll-behavior: smooth;
}