/* Temel stil sıfırlama */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  padding-top: 80px; /* Sabit header yüksekliği kadar */
}

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

/* ======================== */
/*    SABİT HEADER         */
/* ======================== */
header {
  background: #12172A;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.header-container {
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 40px;
}
.logo img {
  max-height: 70px;
  display: block;
}

/* ======================== */
/*  NAV MENU AYARLARI      */
/* ======================== */
nav {
  margin-left: auto;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 16px;
}
nav ul li {
  position: relative;
}
nav ul li a:not(.contact-link) {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  position: relative;
}
nav ul li a:not(.contact-link):hover {
  color: #28a745;
}
nav ul li a:not(.contact-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #28a745;
  transition: width 0.3s ease;
}
nav ul li a:not(.contact-link):hover::after {
  width: 100%;
}
.contact-link {
  color: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
  background: transparent;
  padding: 4px 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
nav ul li a.contact-link::after {
  content: none !important;
}
.contact-link:hover {
  background: #28a745;
  border-color: #28a745;
  color: #fff;
}

/* ======================== */
/*         HERO            */
/* ======================== */
.hero {
  position: relative;
  background: url('https://i.ibb.co/GfZc2d8s/3bd008d2e9aba096418837f1e1a755cc690bb6b8162d6796cc0ad8e4ef3f4f5b.png')
    center/cover no-repeat;
  background-attachment: fixed;
  height: 100vh;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}
.hero-content {
  position: absolute;
  top: 20%;
  left: 10%;
  transform: translateY(40px);
  opacity: 0;
  z-index: 2;
  color: #fff;
  max-width: 600px;
}
.animate-hero-content {
  animation: slideInDown 2s ease-out forwards;
}
.hero-title {
  font-size: 80px;
  margin-bottom: 15px;
  white-space: nowrap;
}
.hero-subtitle {
  font-size: 40px;
  margin-bottom: 25px;
}
.btn-hero {
  display: inline-block;
  background: #28a745;
  color: #fff;
  padding: 14px 28px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-hero:hover {
  background: #218838;
  transform: scale(1.05);
}

/* ======================== */
/*   HAKKIMIZDA (ABOUT)    */
/* ======================== */
.about-section {
  min-height: 91vh;
  padding: 40px 0;
  background-color: #fff;
  display: flex;
  align-items: center;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.about-text {
  flex: 1.3;
}
.subtitle {
  color: #28a745;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #12172A;
}
.description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.link-get-in-touch {
  color: #12172A;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #12172A;
  padding-bottom: 3px;
  transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.link-get-in-touch:hover {
  color: #28a745;
  transform: scale(1.05);
  border-color: #28a745;
}
.about-image {
  flex: 0.7;
  min-width: 300px;
  text-align: center;
}
.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(-20px);
  transition: 1s ease;
}
.animate-about {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ======================== */
/*  HİZMETLER (SERVICES)   */
/* ======================== */
.services-section {
  min-height: 100vh;
  padding: 40px 0;
  background-color: #F5F7F6;
  text-align: left;
}
.services-container {
  width: 100%;
}
.services-subtitle {
  color: #28a745;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.services-title {
  font-size: 32px;
  margin-bottom: 40px;
  color: #12172A;
}
.services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.services-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.services-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  max-width: 350px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(-20px);
}
.services-card.animate-card {
  opacity: 1;
  transform: translateY(0);
}
.services-card img {
  width: 100%;
  height: auto;
  display: block;
}
.services-card h3 {
  margin: 20px;
  font-size: 20px;
  color: #12172A;
  font-weight: bold;
  transition: color 0.3s ease;
}
.services-card:hover h3 {
  color: #28a745;
}
.services-card .arrow {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}
.services-card:hover .arrow {
  color: #28a745;
  transform: scale(1.1) translateX(5px);
}
.services-card p {
  margin: 0 20px 20px;
  color: #555;
  line-height: 1.5;
}
.services-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* ======================== */
/*  CORPORATE CATEGORIES    */
/* ======================== */
.corporate-categories {
  padding: 48px 0;
  background-color: #F5F7F6;
  text-align: center;
}
.corporate-categories h1 {
  font-size: 36px;
  color: #12172A;
  margin-bottom: 40px;
}
.corporate-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.corporate-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 300px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.corporate-card:hover h3 {
  color: #28a745;
}
.corporate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.corporate-card a {
  text-decoration: none;
  color: #12172A;
  transition: color 0.3s ease;
}
.corporate-card a:hover {
  color: #28a745;
}
.corporate-card img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.corporate-card h3 {
  font-size: 22px;
  margin: 0;
  color: inherit;
}
.corporate-detail p {
  margin-bottom: 25px; /* İstediğiniz boşluk miktarını ayarlayabilirsiniz */
}
/* Kurumsal detay bölümleri için ortak stil */
.corporate-detail {
  padding: 40px 20px; /* Bölüm içi boşluk */
  color: #333;        /* Yazı rengi */
}

/* Her bölmeye özel arka plan renkleri */
#hakkimizda-corp {
  background-color: #d4edda;  /* Açık gri */
}

#yetkinlikler {
  background-color: #d1ecf1;  /* Biraz daha koyu gri */
}

#vizyonumuz {
  background-color: #fff3cd;  /* Açık mavi ton */
}

#hedefimiz {
  background-color: #c9c8ee;  /* Açık yeşil ton */
}

#misyonumuz {
  background-color: #e4e4e4;  /* Açık sarı ton */
}

#neden {
  background-color: #eecaca;  /* Açık kırmızı ton */
}

/* Başlıklar için ortak stil */
.corporate-detail h2 {
  color: #2c3e50;
  margin-bottom: 20px;
}

/* Paragraflara boşluk ekleme */
.corporate-detail p {
  margin-bottom: 20px;
}
/* Kurumsal içerik bölümünün arka plan rengini ayarlama */
.corporate-content {
  background-color: #f0f0f0;  /* Örnek: açık gri arka plan */
  padding: 60px 0;          /* Üst ve alt boşluk */
}

/* Kurumsal içerik bölümündeki başlıkların rengini ayarlama */
.corporate-content h1,
.corporate-content h2,
.corporate-content h3,
.corporate-content h4 {
  color: #2c3e50;  /* Örnek: koyu mavi/siyah ton */
}

/* Eğer kurumsal detay veya diğer özel bölümler varsa, örneğin: */
.corporate-detail {
  background-color: #ffffff; /* Örnek: biraz daha açık gri */
  padding: 20px;
}

.corporate-detail h1,
.corporate-detail h2,
.corporate-detail h3 {
  color: #28a745;  /* Örnek: yeşil ton */
}

/* Kurumsal kartlar (örneğin, hizmet veya kategori kartları) için */
.corporate-card {
  background-color: #ffffff;  /* Örnek: beyaz arka plan */
  border-color: #ddd;         /* İsteğe bağlı: sınır rengi */
}

/* Kurumsal kategoriler bölümü */
.corporate-categories {
  background-color: #e7e7e7;  /* Örnek: gri ton */
}

/* ======================== */
/*   İLETİŞİM (CONTACT)    */
/* ======================== */
.contact {
  padding: 70px 0;
  background-color: #fff;
  text-align: left;
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 1s ease, transform 1s ease;
}
.slide-up {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.contact-form {
  flex: 1;
  min-width: 300px;
}
.contact-form h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #12172A;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.required {
  color: red;
  margin-left: 3px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 2px;
}
.form-group.checkbox input[type="checkbox"] {
  transform: scale(1.3);
  transform-origin: left center;
  margin: 0;
}
.form-group.checkbox label {
  line-height: 1.4;
  white-space: nowrap;
}
.btn-submit {
  background: #28a745;
  color: #fff;
  padding: 14px 28px;
  border-radius: 5px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-submit:hover {
  background: #218838;
  transform: scale(1.05);
}
.contact-info {
  flex: 1;
  min-width: 300px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
}
.contact-info h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #12172A;
}
.contact-info h4 {
  margin-top: 15px;
  font-size: 20px;
  color: #12172A;
}
.contact-info p {
  margin-bottom: 10px;
  line-height: 1.5;
}
.contact-info a {
  color: #28a745;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}
.contact-map {
  flex: 1;
  min-width: 300px;
  border: 1px solid #ddd;
  margin-top: 20px;
}
.contact-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* ======================== */
/*      FOOTER (#12172A)    */
/* ======================== */
footer {
  background: #12172A;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

/* ======================== */
/*   Shake Animasyonu       */
/* ======================== */
.shake {
  animation: shake 0.4s ease;
  border: 2px solid red !important;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ======================== */
/*  RESPONSIVE (max-width)  */
/* ======================== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    height: auto;
  }
  nav ul {
    flex-direction: column;
    margin-left: 0;
  }
  .hero-content {
    top: 20%;
    left: 50%;
    transform: translate(-50%, 40px);
    text-align: center;
    max-width: 90%;
    opacity: 0;
  }
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .services-cards,
  .corporate-cards {
    flex-direction: column;
    align-items: center;
  }
  .services-card,
  .corporate-card {
    max-width: 90%;
  }
  .contact-container {
    flex-direction: column;
  }
  .contact-info,
  .contact-map {
    margin-top: 20px;
  }
}
/* ======================== */
/* Yeni Slide-In Animasyon  */
/* ======================== */
@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Örneğin, ana sayfadaki hizmetler bölümü */
#hizmetler {
  padding-top: 120px; /* Header ile araya boşluk koyar */
}
.popup-message {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  padding: 40px 50px;
  border-radius: 8px;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  color: #000;
  background-color: #fff !important; /* Arka planı beyaz zorla */
  opacity: 1 !important;             /* Tam opak yap */
}

/* Başarı durumunda yeşil border */
.popup-message.success {
  border: 2px solid #28a745 !important;
}

/* Hata durumunda kırmızı border */
.popup-message.error {
  border: 2px solid #dc3545 !important;
}

.close-popup {
  background: transparent;
  border: none;
  color: #000;
  font-size: 24px;
  margin-left: 15px;
  cursor: pointer;
}