/*
 * ZİYARETÇİ İÇERİK BİLEŞENLERİ
 * Bölüm başlıkları, bilgi/kart alanları, başvuru CTA'sı ve iletişim yüzeyi.
 * Veri deposundaki eski sınıf adları modern, proje-yerel bileşen kurallarına bağlanır.
 */

.section-header {
  position: relative;
}

.section-header h3 {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 20px;
  color: var(--brand-heading);
  font-size: 38px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.section-header h3::before {
  position: absolute;
  bottom: 1px;
  left: calc(50% - 60px);
  width: 120px;
  height: 1px;
  background: var(--brand-border);
  content: "";
}

.section-header h3::after {
  position: absolute;
  bottom: 0;
  left: calc(50% - 20px);
  width: 40px;
  height: 3px;
  background: var(--brand-accent);
  content: "";
}

.section-header p {
  max-width: 74ch;
  padding-bottom: 0;
  margin: 0 auto;
  color: var(--brand-secondary-text);
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

/* About / genel kart yüzeyi */
#about {
  position: relative;
  padding: 64px 0 56px;
  background: var(--brand-white);
}

#about .container {
  position: relative;
  z-index: 1;
}

#about .section-header {
  max-width: 980px;
  margin: 0 auto 38px;
}

#about .section-header h4 {
  max-width: 780px;
  margin: 0 auto 20px;
  font-size: 24px;
  line-height: 1.35;
  text-align: center;
}

#about .section-header > br,
#about .about-col > br {
  display: none;
}

#about .row.about-cols {
  align-items: stretch;
}

#about .row.about-cols > [class*="col-"] {
  display: flex;
}

#about .about-col {
  display: flex;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 87, 167, 0.09);
  border-radius: var(--site-radius-md);
  background: var(--brand-white);
  box-shadow: var(--site-shadow-sm);
}

#about .about-col .img {
  position: relative;
  overflow: visible;
  aspect-ratio: 16 / 9;
  background: #f2f4f7;
}

#about .about-col .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#about .about-col .icon {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: auto;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(0, 12, 137, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-primary);
  box-shadow: 0 7px 20px rgba(0, 7, 78, 0.16);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#about .about-col:hover .icon {
  background: var(--brand-primary);
  color: var(--brand-white);
  transform: translateY(-2px);
}

#about .about-col .icon i {
  font-size: 25px;
}

#about .about-col h2 {
  padding: 0 18px;
  margin: 26px 0 10px;
  color: var(--brand-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

#about .about-col h2 a {
  color: var(--brand-heading);
}

#about .about-col h2 a:hover {
  color: var(--brand-action);
}

#about .about-col p {
  padding: 18px 22px 24px;
  margin: 0;
  color: var(--brand-secondary-text);
  font-size: 15px;
  line-height: 1.65;
}

/* Eski dekoratif Ionicons sınıflarına font yüklemeden küçük vektörel simgeler. */
i[class^="ion-"],
i[class*=" ion-"] {
  display: inline-grid;
  width: 1em;
  height: 1em;
  place-items: center;
  font-family: "Open Sans", Arial, sans-serif;
  font-style: normal;
  line-height: 1;
}

.ion-ios-home::before,
.ion-home::before {
  width: 0.72em;
  height: 0.66em;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 40%, 88% 40%, 88% 100%, 58% 100%, 58% 65%, 42% 65%, 42% 100%, 12% 100%, 12% 40%, 0 40%);
  content: "";
}

.ion-ios-location-outline::before {
  display: block;
  width: 0.78em;
  height: 1em;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 5.5-8 12-8 12S4 15.5 4 10a8 8 0 1 1 16 0Z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 5.5-8 12-8 12S4 15.5 4 10a8 8 0 1 1 16 0Z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ion-ios-telephone-outline::before {
  content: "☎";
}

.ion-ios-email-outline::before {
  content: "@";
}

.ion-document-text::before {
  content: "▤";
}

.ion-android-open::before {
  content: "↗";
}

.ion-ios-people::before,
.ion-ios-people-outline::before {
  display: block;
  width: 1em;
  height: 0.84em;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Ccircle cx='9' cy='6' r='4' fill='black'/%3E%3Ccircle cx='17' cy='7' r='3' fill='black' opacity='.75'/%3E%3Cpath d='M1 20c0-5 3-8 8-8s8 3 8 8H1Z' fill='black'/%3E%3Cpath d='M15 13c5 0 8 2.5 8 7h-5c0-3-1-5-3-7Z' fill='black' opacity='.75'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Ccircle cx='9' cy='6' r='4' fill='black'/%3E%3Ccircle cx='17' cy='7' r='3' fill='black' opacity='.75'/%3E%3Cpath d='M1 20c0-5 3-8 8-8s8 3 8 8H1Z' fill='black'/%3E%3Cpath d='M15 13c5 0 8 2.5 8 7h-5c0-3-1-5-3-7Z' fill='black' opacity='.75'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ion-ios-book::before,
.ion-ios-book-outline::before {
  display: block;
  width: 1em;
  height: 0.86em;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M2 2c4-1 7 0 10 2v15c-3-2-6-3-10-2V2Zm20 0c-4-1-7 0-10 2v15c3-2 6-3 10-2V2Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M2 2c4-1 7 0 10 2v15c-3-2-6-3-10-2V2Zm20 0c-4-1-7 0-10 2v15c3-2 6-3 10-2V2Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Başvuru / call to action */
#call-to-action {
  padding: 48px 0;
  background:
    linear-gradient(rgba(0, 7, 78, 0.38), rgba(0, 7, 78, 0.38)),
    url("../img/call-to-action-bg.jpg") center / cover no-repeat;
  color: var(--brand-white);
}

.sayfa-icerik #call-to-action:first-child,
.sayfa-icerik #main > #call-to-action:first-of-type {
  margin-top: var(--site-header-height);
}

#call-to-action > .container {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

#call-to-action > .container > br,
#call-to-action > br,
#call-to-action > .container > h3:empty,
#call-to-action > .container > p:empty {
  display: none;
}

#call-to-action h1,
#call-to-action h2,
#call-to-action h3,
#call-to-action p,
#call-to-action .cta-btn {
  margin: 0;
  color: var(--brand-white);
}

#call-to-action h3 {
  font-size: 38px;
  font-weight: 650;
  line-height: 1.2;
}

#call-to-action p {
  max-width: 74ch;
  font-size: 16px !important;
  line-height: 1.65;
}

#call-to-action .cta-btn {
  display: inline-flex;
  max-width: min(100%, 440px);
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  border: 2px solid var(--brand-white);
  border-radius: 999px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
}

#call-to-action .cta-btn:hover,
#call-to-action .cta-btn:focus-visible {
  border-color: var(--brand-accent);
  background: var(--brand-action);
  color: var(--brand-white);
}

/* Eski gövdelerde bulunabilecek yardımcı içerik bileşenleri */
#featured-services {
  background: var(--brand-deep);
  color: var(--brand-white);
}

#featured-services .box {
  padding: 30px 20px;
}

#featured-services h4 a,
#featured-services p {
  color: var(--brand-white);
}

#services,
#team {
  padding: 60px 0 40px;
}

#services .box {
  margin-bottom: 30px;
}

#services .icon {
  float: left;
  color: var(--brand-accent);
  font-size: 36px;
}

#services .title,
#services .description {
  margin-left: 60px;
}

#services .title {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
}

#services .description {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.7;
}

/* İletişim kartları */
#contact {
  padding: 56px 0 48px;
}

#contact .section-header p {
  padding-bottom: 22px;
}

#contact .contact-info {
  align-items: stretch;
  margin-bottom: 0;
  text-align: center;
}

#contact .contact-info > [class*="col-"] {
  display: flex;
}

#contact .contact-address,
#contact .contact-phone,
#contact .contact-email {
  width: 100%;
  padding: 28px 22px;
  border: 1px solid #e4e4e4;
  border-radius: var(--site-radius-sm);
  background: var(--brand-white);
}

#contact .contact-info i {
  margin-bottom: 8px;
  color: var(--brand-action);
  font-size: 42px;
}

#contact .contact-info h3 {
  margin-bottom: 12px;
  color: var(--brand-text);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

#contact .contact-info address,
#contact .contact-info p {
  margin-bottom: 0;
  color: var(--brand-heading);
}

#contact .contact-info a {
  color: var(--brand-heading);
}

#contact .contact-info a:hover {
  color: var(--brand-action);
}

@media (max-width: 768px) {
  .section-header h3 {
    font-size: 30px;
  }

  #about {
    padding: 48px 0 32px;
  }

  #about .section-header {
    margin-bottom: 28px;
  }

  #about .section-header h4 {
    font-size: 21px;
  }

  #about .row.about-cols > [class*="col-"] {
    display: block;
  }

  #about .about-col {
    margin-bottom: 20px;
  }

  #call-to-action {
    padding: 40px 0;
  }

  #call-to-action > .container {
    min-height: auto;
    gap: 16px;
  }

  #call-to-action h3 {
    font-size: 30px;
  }

  #call-to-action .cta-btn {
    width: min(100%, 340px);
  }

  #contact {
    padding: 48px 0 32px;
  }

  #contact .contact-info {
    display: block;
    margin-right: 0;
    margin-left: 0;
  }

  #contact .contact-info > [class*="col-"] {
    display: block;
    padding-right: 0;
    padding-left: 0;
  }

  #contact .contact-address,
  #contact .contact-phone,
  #contact .contact-email {
    padding: 24px 18px;
    margin-bottom: 16px;
  }
}
