/* Genel Ayarlar */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  background-color: #fff !important;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: #333;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #007bff;
}

/* Hero Bölümü */
.hero-section {
  position: relative;
  background: url('../img/hero-bg.jpeg') no-repeat center center;
  background-size: cover;
  height: 420px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Koyu yarı saydam katman */
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 600;
  margin: 0;
}

.hero-section p {
  font-size: 1.3rem;
  margin-top: 10px;
}

/* Butonlar */
.btn-primary {
  background-color: #007bff;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Özellik Kartları */
.feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* şeffaf kutu */
  border: none;
  border-radius: 10px;
  padding: 20px;
  color: #fff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

.feature-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.feature-card.with-bg {
  background-size: cover;
  background-position: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  position: relative;
  color: white;
}

.feature-card.with-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

.feature-card.with-bg h3,
.feature-card.with-bg p {
  position: relative;
  z-index: 1;
  margin: 0;
}

/* Footer */
footer {
  background-color: #212529;
  color: white;
  padding: 40px 0;
  text-align: center;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    height: 300px;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section p {
    font-size: 1rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .info-box {
    flex-direction: column;
    text-align: center;
  }

  .info-box .text,
  .info-box .image {
    flex: unset;
  }
}

/* Info Sections */
.info-sections {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.info-box .text,
.info-box .image {
  flex: 1;
  min-width: 280px;
}

.info-box .image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Kaydırma davranışı */
html {
  scroll-behavior: smooth;
}

/* --- İletişim Barı ve Toggle Butonu --- */

/* Başlangıçta gizli */
.hidden {
  display: none;
}

/* Toggle Butonu */
.contact-toggle-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  font-size: 30px;
  font-weight: bold;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  user-select: none;
  transition: background-color 0.3s ease;
}

.contact-toggle-button:hover {
  background-color: #0056b3;
}

/* İletişim Barı */
.contact-bar-fixed {
  position: fixed;
  bottom: 80px; /* Toggle butonun üstünde */
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

/* İletişim ikonları ortak stil */
.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.contact-icon:hover {
  transform: scale(1.1);
}

/* Renkler */
.contact-icon.whatsapp {
  background-color: #25D366;
}

.contact-icon.instagram {
  background-color: #E1306C;
}

.contact-icon.mail {
  background-color: #0072C6;
}

/* İkon içindeki img boyutu */
.contact-icon img {
  width: 25px;
  height: 25px;
}
.hidden {
  display: none !important;
}

.contact-toggle-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #007bff;
  color: white;
  width: 50px;
  height: 50px;
  font-size: 1.6rem;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.contact-toggle-button:hover {
  background-color: #0056b3;
}

.contact-bar-fixed {
  position: fixed;
  bottom: 90px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.contact-icon img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.contact-icon img:hover {
  transform: scale(1.1);
}
 .hero-section {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section .hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* kırpmaz, tam gösterir */
  z-index: 1;
  background-color: #000; /* boşluk varsa siyah olur */
}

.hero-section h1 {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  font-size: 2rem;
}
