body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  background-color: #a7faff;
}

/* HEADER */
header {
  background-color: #003366;
  color: white;
  padding: 2em 2em;
  text-align: center;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.logo-header {
  max-width: 100px;
  height: auto;
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.5em 0;
  color: white;
}


/* ID FOTOÄžRAFLARI */
.ids {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 2em;
  flex-wrap: wrap;
}

.id {
  text-align: center;
}

.id img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
}

.id p {
  margin-top: 0.5em;
  font-size: 1em;
  font-weight: bold;
}

.logo-under-id {
  margin-top: 0.5em;
  max-width: 115px;
}

/* VIP Photos (Gallery) */
.vip-photos {
  text-align: center;
  padding: 50px 20px;
  background-color: #DFF6F5;
}

.vip-photos h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

.photo-gallery {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.photo-gallery div {
  text-align: center;
}

.photo-gallery img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid #003366;
}

.photo-gallery p {
  margin-top: 10px;
  font-size: 1em;
}

/* FORM VE FOOTER */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 2em 1em;
}

.contact-form {
  background-color: #A7F5F3;
  padding: 2em;
  border-radius: 12px;
  max-width: 500px;
  margin: 0 auto 2em;
}

.contact-form h2 {
  color: #003366;
  margin-bottom: 1em;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact-form input {
  padding: 0.75em;
  font-size: 1em;
  border: none;
  border-radius: 8px;
}

.contact-form button {
  padding: 0.75em;
  font-size: 1em;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
  /* Video Section (DESKTOP – AYNI KALSIN) */
.video-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #DFF6F5;
}

.video-section iframe,
.video-placeholder {
  width: 80%;
  max-width: 600px;
  height: 315px;
  margin: 0 auto;
  background-color: #003366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 1.5em;
}

.video-placeholder {
  all: unset;
  display: block;
  margin: 0 auto;
  padding: 0;
  max-width: 700px;
  width: 100%;
  height: auto;
}

.video-placeholder .turkuaz-video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

/* ✅ Mobile video düzeni – TEK ve DOĞRU @media */
@media screen and (max-width: 768px) {
  .video-placeholder {
    all: unset;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .video-section iframe,
  .video-placeholder,
  .video-placeholder video {
    width: 100% !important;
  }

  .video-placeholder video {
    display: block !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 10px !important;
    position: relative !important;
    z-index: 1 !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
}

 /* 🎯 HEADER TAM DÜZENLEME – SADECE HİZALAMA */

/* Header container düzeyi hizalama */
.header-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 1em !important;
}

/* Bayrak ortalansın */
.logo-wrapper {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

.logo-header {
  max-width: 100px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Başlık kutusu (her cihazda geniş) */
.title-wrapper {
  width: 100% !important;
}

/* Desktop: başlık ortada */
@media (min-width: 768px) {
  .title-wrapper h1 {
    text-align: center !important;
    margin: 0 auto !important;
  }
}

/* Mobil: başlık sola yaslanır */
@media (max-width: 767px) {
  .title-wrapper h1 {
    text-align: left !important;
    margin-left: 16px !important;
  }
}
/* 🔧 HEADER'ı YATAYDA ORTALAMA – BAYRAK + YAZI AYNI SATIRDA */

/* 1. Header container row yapıya geçirildi */
.header-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  padding: 2em !important;
}

/* 2. Bayrak görünümü */
.logo-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.logo-header {
  max-width: 80px !important;
  height: auto !important;
  display: block !important;
}

/* 3. Başlık */
.title-wrapper h1 {
  font-size: 2em !important;
  color: white !important;
  margin: 0 !important;
  white-space: nowrap !important; /* Taşma olmasın */
}
/* --- /virtualclinic mobilde yatay kaymayı FIX --- */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Taşmaya sebep olan geniş öğeleri kısıtla */
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe { max-width: 100% !important; height: auto !important; display: block; }

/* Uzun başlıklar mobilde satır kırabilsin */
@media (max-width: 767px) {
  .title-wrapper h1,
  header h1,
  h1 {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Mobil sütun/ızgara sıkışmasın */
  .header-container, .header-flex { flex-wrap: wrap !important; }
  .services ul { columns: 1 !important; }
  .gallery { grid-template-columns: 1fr !important; }

  /* Video alanı taşma yapmasın */
  .video-section iframe,
  .video-placeholder,
  .video-placeholder video {
    width: 100% !important;
  }
}
/* Başlık hizalama düzeltme */
.title-wrapper h1 {
  display: inline-block;
  text-align: center;
  margin: 0 auto;
  max-width: 90%;
  line-height: 1.3em;
  white-space: normal !important;
}

/* "Partenariat entre" yan yana kalsın */
.title-wrapper h1 br {
  display: none; /* Gereksiz satır atlamaları engellenir */
}
/* Başlık hizalama + satır dengeleme */
.header-container{
  display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;
}
.logo-header{max-width:80px;height:auto}
.title-wrapper h1{
  margin:0;text-align:center;line-height:1.25;
  font-size:clamp(22px,5vw,40px);
  text-wrap: balance;            /* satırları dengeler */
}
.title-wrapper h1 .no-break{ white-space: nowrap; }  /* <— sihir burada */
/* === /virtualclinic ID foto + logo boyut düzeltmesi === */

/* Önce .id içindeki TÜM img'lerde sabit 150x150'yi kaldır */
.ids .id img {
  width: auto !important;
  height: auto !important;
}

/* 1) Her .id içindeki İLK görsel = profil fotoğrafı: tek tip kare */
.ids .id img:first-of-type {
  width: 140px !important;
  height: 140px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  display: block;
  margin: 0 auto;
  background: #fff;
}

/* 2) Alttaki logo okunaklı olsun: kırpma yok, sığdır */
.ids .id .logo-under-id {
  width: auto !important;
  height: auto !important;
  max-width: 140px !important;
  max-height: 80px !important;
  object-fit: contain !important;
  border-radius: 12px;
  display: block;
  margin: 10px auto 0;
  background: #fff;            /* istersen kaldırabilirsin */
  padding: 6px;                /* ince beyaz çerçeve efekti */
}

/* İsim yazısı aralığı */
.ids .id p {
  margin: 10px 0 8px;
  font-weight: 600;
}
/* === H1: hizalama + "Partenariat entre" tek satır === */
.title-wrapper h1 {
  margin: 0 auto !important;
  text-align: center !important;
  line-height: 1.25 !important;
  font-size: clamp(22px, 5vw, 40px) !important;
  white-space: normal !important;        /* eski nowrap'ı bastır */
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
}
.title-wrapper h1 .no-break { white-space: nowrap !important; }

/* (İstersen) önceki kuraldaki nowrap'ı etkisiz bırakmak için ekstra güvence */
header .title-wrapper h1 { white-space: normal !important; }

/* === ID foto + logo boyut düzeltmesi === */
.ids .id img { width: auto !important; height: auto !important; }

.ids .id img:first-of-type {
  width: 140px !important;
  height: 140px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  display: block;
  margin: 0 auto;
  background: #fff;
}

.ids .id .logo-under-id {
  width: auto !important;
  height: auto !important;
  max-width: 140px !important;
  max-height: 80px !important;
  object-fit: contain !important;
  border-radius: 12px;
  display: block;
  margin: 10px auto 0;
  background: #fff;
  padding: 6px;
}
/* ⭐ Nos Services VIP — MERKEZLEME FINAL ⭐ */
.link-box {
  background-color: #f2f2f2;
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
  max-width: 900px;
  margin: 20px auto;
  color: #003366;
  font-family: 'Lato', sans-serif;
  text-align: center;
}

.link-box h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #003366;
}

/* UL’yi ortala + tek satır/çok satır düzgün hizala */
.link-box ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  text-align: center !important;
}

/* LI: içerik kadar; bullets tamamen kapalı */
.link-box li {
  margin: 0 !important;
  list-style: none !important;
  flex: 0 0 auto !important;
}

/* Link hit-area */
.link-box a {
  display: inline-block !important;
  padding: 6px 12px !important;
  text-decoration: none !important;
  color: #0099cc !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  transition: color .3s ease !important;
}
.link-box a:hover { color: #006688 !important; }

@media (max-width: 480px) {
  .link-box ul { gap: 10px !important; }
  .link-box a { padding: 5px 10px !important; }
}


