/* Genel Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
header {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  position: relative;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 10px 10px;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #228dff;
  cursor: default;
  user-select: none;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #555;
  font-weight: 600;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #007bff;
}

/* Hamburger Menü (Mobil) */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  z-index: 1000;
}

/* Slider, Hakkımızda, Teklif, Footer ve İletişim stili aynen korunur */

/* Slider Bölümü */
.slider-section {
  margin-top: 20px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
  max-height: 400px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.slider {
  position: relative;
  height: 400px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 400px;
}

.slide {
  min-width: 100%;
  height: 400px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}

.slide.active {
  opacity: 1;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Slider Butonları */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* Hakkımızda Bölümü */
.about-section {
  margin: 40px 0;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.about-text {
  width: 40%;
}

.about-text h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.about-image {
  width: 50%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Teklif Banner */
.teklif-banner {
  background-image: url("teklif-banner.jpg");
  background-size: cover;
  background-position: center;
  padding: 50px 20px;
  position: relative;
  text-align: center;
  color: white;
  margin-bottom: 60px;
  border-radius: 8px;
}

.teklif-banner .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px 30px;
  display: inline-block;
  border-radius: 8px;
  max-width: 600px;
}

.teklif-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.teklif-banner p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.4;
}

.btn-teklif {
  background-color: #007bff;
  color: #fff;
  padding: 14px 40px;
  font-weight: 700;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.btn-teklif:hover {
  background-color: #0056b3;
}

/* Footer */
footer {
  background: #233d89; /* İstersen burayı değiştirebilirsin */
  padding: 30px 20px;
  border-top: 1px solid #b2b2b2;
  margin-top: 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px; /* Boşluğu optimize ettik */
  max-width: 1200px;
  margin: 0 auto;
}

.footer-menu,
.footer-contact {
  flex: 1 1 250px; /* Eşit dağılım ve esneklik */
  text-align: left;
}

.footer-menu h3,
.footer-contact h3 {
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu ul li {
  margin-bottom: 8px; /* Küçük boşluk */
}

.footer-menu ul li a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s;
}

.footer-menu ul li a:hover {
  color: #ff0000;
}

.footer-contact {
  color: #ffffff;
}

.footer-contact p,
.footer-contact a {
  margin: 5px 0;
  color: #ffffff;
  text-decoration: none;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-menu,
  .footer-contact {
    flex: 1 1 100%;
    text-align: center; /* Mobilde ortala */
  }

  .footer-menu ul li,
  .footer-contact p,
  .footer-contact a {
    margin-bottom: 8px;
  }
}
/* Footer */
footer {
  background: #233d89; /* İstersen burayı değiştirebilirsin */
  padding: 30px 20px;
  border-top: 1px solid #b2b2b2;
  margin-top: 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px; /* Boşluğu optimize ettik */
  max-width: 1200px;
  margin: 0 auto;
}

.footer-menu,
.footer-contact {
  flex: 1 1 250px; /* Eşit dağılım ve esneklik */
  text-align: left;
}

.footer-menu h3,
.footer-contact h3 {
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu ul li {
  margin-bottom: 8px; /* Küçük boşluk */
}

.footer-menu ul li a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s;
}

.footer-menu ul li a:hover {
  color: #ff0000;
}

.footer-contact {
  color: #ffffff;
}

.footer-contact p,
.footer-contact a {
  margin: 5px 0;
  color: #ffffff;
  text-decoration: none;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-menu,
  .footer-contact {
    flex: 1 1 100%;
    text-align: center; /* Mobilde ortala */
  }

  .footer-menu ul li,
  .footer-contact p,
  .footer-contact a {
    margin-bottom: 8px;
  }
}

/* İletişim */
.iletisim-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  gap: 40px;
  background-color: #f9f9f9;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.iletisim-bilgileri {
  max-width: 600px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.iletisim-bilgileri h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.iletisim-bilgileri p {
  margin: 10px 0;
  font-size: 16px;
}

.iletisim-bilgileri a {
  color: #007bff;
  text-decoration: none;
}

.iletisim-bilgileri a:hover {
  text-decoration: underline;
}

.harita iframe {
  border-radius: 12px;
  width: 100%;
  max-width: 1000px;
  height: 400px;
}

.harita {
  width: 100%;
  max-width: 1200px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Yeni Mobil Menü ve Hamburger Ayarları */
@media screen and (max-width: 768px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
  }

  /* Nav başlangıçta gizli */
  .nav-container nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* Header altından başlıyor */
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  /* Menü açıkken göster */
  .nav-container nav.active {
    display: flex;
  }

  /* Nav linkleri */
  .nav-container nav ul {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .nav-container nav a {
    display: block;
    padding: 12px 0;
    text-align: center;
    color: #333;
  }

  .nav-container nav a:hover {
    background-color: #f2f2f2;
  }
}

/* Kurumsal Header */
.kurumsal-header {
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #f8f9fa;
}

.kurumsal-header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #007bff;
}

.kurumsal-header p {
  font-size: 1.2rem;
  color: #555;
}

/* Misyon, Vizyon, Değerler */
.kurumsal-content {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  padding: 40px 100px;
  flex-wrap: wrap;
}

.kurumsal-block {
  flex: 1 1 250px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 380px;
  justify-content: center;
  flex-wrap: wrap;
}

.kurumsal-block h2 {
  margin-bottom: 15px;
  color: #007bff;
}

.kurumsal-block p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

/* CTA Butonu */
.kurumsal-contact {
  text-align: center;
  padding: 80px 20px 60px; /* üstten daha fazla boşluk */
  background-color: #f2f2f2; /* hafif gri arka plan */
}

.kurumsal-contact p {
  font-size: 1.5rem; /* Yazı boyutu */
  font-weight: 700; /* Kalın */
  color: #333; /* Yazı rengi */
  margin: 0 0 15px 0; /* Alt boşluk ile buton arası mesafe */
  text-align: center; /* Ortala */
}

.kurumsal-contact h2 {
  font-size: 2rem;
  margin-bottom: 25px; /* yazı ile buton arası boşluk */
  color: #007bff;
}

.kurumsal-contact .btn-teklif {
  display: inline-block;
  margin-top: 15px; /* üstten küçük boşluk */
  padding: 14px 40px;
  font-size: 1.2rem;
  background-color: #ff9900;
  color: white;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.kurumsal-contact .btn-teklif:hover {
  background-color: #e68a00;
}

/* Mobil için */
@media screen and (max-width: 768px) {
  .kurumsal-header h1 {
    font-size: 2rem;
  }
  .kurumsal-header p {
    font-size: 1rem;
  }

  .kurumsal-content {
    flex-direction: column;
    padding: 20px 10px;
    gap: 20px;
  }

  .kurumsal-block {
    width: 100%;
    box-sizing: border-box;
  }

  @media screen and (max-width: 768px) {
    .kurumsal-contact {
      padding: 60px 20px;
    }

    .kurumsal-contact h2 {
      font-size: 1.6rem;
      margin-bottom: 20px;
    }

    .kurumsal-contact .btn-teklif {
      width: 80%;
      max-width: 300px;
      margin-top: 20px;
    }
  }
}
.teklif-al {
  background-color: #f8f9fa;
  padding: 80px 20px;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-container h1 {
  text-align: center;
  color: #007bff;
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
  outline: none;
}

button[type="submit"] {
  display: block;
  width: 100%;
  padding: 14px;
  background-color: #ff9900;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #e68a00;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .form-container {
    padding: 30px 20px;
  }

  .form-container h1 {
    font-size: 2rem;
  }
}

/* Mobil düzen: Hakkımızda kısmında fotoğraf üstte, yazı altta */
@media screen and (max-width: 768px) {
  .about-container {
    flex-direction: column; /* Yatay yerine dikey diz */
    align-items: center; /* Ortala */
    text-align: center; /* Yazıyı ortala */
    padding: 20px; /* İç boşluk */
  }

  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Köşeler yuvarlak kalabilir */
    margin-bottom: 20px; /* Fotoğraf ile yazı arası boşluk */
  }

  .about-text {
    width: 100%;
    max-width: 600px; /* Yazının genişliği çok taşmasın */
    font-size: 1rem; /* Mobilde okunabilir boyut */
    line-height: 1.6; /* Satır arası boşluk */
  }
}

footer {
  background-color: #273442;
  color: #fff;
  padding: 20px 0;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo img {
  width: 150px;
}

.footer-contact p,
.footer-social a {
  margin: 5px 0;
}

.footer-social a {
  text-decoration: none;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.footer-social a:hover {
  background-color: #555;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
}

.footer-bottom p {
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column; /* Blokları dikey yap */
    align-items: center; /* Ortala yatayda */
    text-align: center; /* Metinleri ortala */
    gap: 10px; /* Bloklar arası boşluk */
  }

  .footer-menu ul,
  .footer-contact {
    text-align: center; /* Metin ve linkleri ortala */
  }

  .footer-menu ul li,
  .footer-contact p {
    margin-bottom: 5px; /* Alt boşluk */
  }
}

/* Mobilde logo ortalanacak */
@media screen and (max-width: 768px) {
  .nav-container {
    display: flex;
    justify-content: center; /* logo ortalanacak */
    align-items: center;
    position: relative;
    padding: 10px 20px;
  }

  .menu-toggle {
    position: absolute; /* logo ile üst üste binmeden sola veya sağa koyacağız */
    left: 20px; /* menü sol tarafta */
    display: block;
  }

  .logo {
    position: relative; /* ortalanmasını sağlamak için */
    z-index: 1;
  }
}

