/* Genel ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: #f5f5f5;
  color: black;
}

/* Header ve Menü */
header {
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}



/* logo */
header img {
  height: 110px;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin: 0 15px;
}

/* Menü yazı */
nav ul li a {
  color: blue;
  text-decoration: none;
  font-weight: bold;
  font-size: 22px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffcc00;
}

/* Orta yazı Bölümü */
.hero {
  background: url('img/hero-image.jpg') center/cover no-repeat;
  height: 400px;
  color: orange;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
}

/* 2025 yazan yer */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
/* referans logo */
.references {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
  place-items: center; /* 🔥 Ortalama EKLENDİ */
}

.references img {
  width: 100px;
  height: auto;
  margin: 10px auto;
  transition: transform 0.3s;
}

.references img:hover {
  transform: scale(1.1);
}
/* Proje Kartları Alanı */
.projects {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Her bir Proje Kartı */
.project-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Efekti */
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

/* Kartın İçeriği */
.project-card .content {
  padding: 20px;
  text-align: center;
}

/* Kart Başlığı */
.project-card .content h3 {
  color: #003366;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Kart Açıklaması */
.project-card .content p {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.5;
}

/* Responsive için Grid Ayarı */
@media (max-width: 768px) {
  .projects {
    grid-template-columns: 1fr;
  }
}

/* Slider Bölümü */
./* Slider Alanı */
.slider {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-top: 10px;
}

.slides {
  position: relative;
  width: 100%;
  height: 400px;
}

.slides img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: none;
}

/* Ok Butonları */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 25px;
  transition: 0.3s ease;
  user-select: none;
  background-color: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Responsive */
@media (max-width: 768px) {
  .slides img {
    height: 250px;
  }
}

/*İletisim*/
/* İletişim Alanı */
.contact-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}

/* Üst kısım: Bilgiler + Form */
.contact-top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.contact-info, .contact-form-area {
  flex: 1 1 500px;
}

.contact-info h2, .contact-form-area h2 {
  color: #003366;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 10px;
  padding: 10px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  padding: 10px;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background-color: #002244;
}

/* Harita Alanı */
.contact-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* Responsive (Mobil) */
@media (max-width: 768px) {
  .contact-top {
    flex-direction: column;
    align-items: center;
  }
}

/* Menü Linkleri Hover Animasyonu */
nav ul li a {
  color: blue;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

nav ul li a:hover {
  color: red;
  transform: scale(1.1) rotateX(5deg);
  text-shadow: 1px 1px 10px #ffcc00;
}

/* Hakkımızda Bölümü */
.about-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  text-align: center;
}

.about-section h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

/* Hizmet Kutu Alanı */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-box {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 250px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.feature-box:hover {
  transform: translateY(-10px);
}

.feature-box h3 {
  color: #003366;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 0.95rem;
  color: #666;
}

