/* Genel ayarlar */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #e6f2ec;
  color: #333;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

section {
  padding: 0 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/*navbar*//* Navbar Genel */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 12px 0;

}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-right: 20px;
  margin-left: auto; /* ✅ Bu satır menüyü sağa iter */
}


.logo img {
  height: 50px;
  width: auto;
}

.hero-text {
  text-align: center;
  padding: 40px 20px;
  font-size: 26px;
  color: #008080;
}

.dil-secim {
  display: flex;
  gap: 10px;
}

.dil-secim button {
  background: none;
  border: 1px solid #008080;
  color: #008080;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.dil-secim button:hover {
  background-color: #008080;
  color: white;
}

@keyframes fadeUpOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px);
  }
}

.fade-up-out {
  animation: fadeUpOut 1s ease forwards;
}

/* Menü Masaüstü Görünümü */
.nav-links li a {
  position: relative;
  font-size: 18px; /* Yazı büyüklüğü */
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 5px 0;
}



.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #008080;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #008080;
}

.nav-links li a:hover::after {
  width: 100%;
}

.randevu-btn {
  padding: 22px 40px; 
  font-size: 18px; 
  background-color: #008080;
  color: white !important;
  border-radius: 7px;
  transition: all 0.3s ease;
}

.randevu-btn:hover {
  background-color: white;
  color: #008080 !important;
  border: 2px solid #008080;
}


/* Hamburger Menü */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #008080;
  position: absolute;
  top: 25px;
  right: 30px; /* sağa sabitler */
  z-index: 1001; /* menüden yukarıda kalır */
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 220px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px;
    border-radius: 8px;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }
}


/* wp */
.whatsapp-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-float {
  background-color: #25d366;
  color: white;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  position: relative;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-tooltip {
  visibility: hidden;
  background-color: #25d366;
  color: #fff;
  text-align: center;
  padding: 6px 12px;
  border-radius: 8px;
  position: absolute;
  right: 70px;
  white-space: nowrap;
  font-size: 14px;
  transition: 0.3s;
  opacity: 0;
}

.whatsapp-float:hover .whatsapp-tooltip {
  visibility: visible;
  opacity: 1;
}

.whatsapp-tooltip {
  visibility: hidden;
  background-color: #25d366;
  color: #fff;
  text-align: center;
  padding: 6px 12px;
  border-radius: 8px;
  position: absolute;
  right: 70px;
  white-space: nowrap;
  font-size: 14px;
  transition: 0.3s;
  opacity: 0;
}

.whatsapp-float:hover .whatsapp-tooltip {
  visibility: visible;
  opacity: 1;
}

/* Tooltip solda, gizli başta */
.whatsapp-tooltip {
  position: absolute;
  right: 110%; /* butonun solunda */
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Hover ile görünür hale gelir */
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Mobil Görünüm */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 70px;
    right: 30px;
    width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px;
    border-radius: 5px;
  }

  .nav-links.active {
    display: flex;
  }
}


/* GALERİ */
.slider-gallery {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: 80px auto;
  padding: 40px 0;
  background-color: #e6f2ec;
  overflow: hidden; /* was: visible */
}

.slider-frame {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.5s ease;
  padding: 0; /* was: 0 100px */
  box-sizing: content-box;
}

.gallery-slide {
  min-width: 100%;
  height: 500px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
}
@media (max-width: 768px) {
  .gallery-slide {
    height: 300px;
  }
}


.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: white;
  border: none;
  padding: 15px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s ease;
  width: 44px;
  height: 44px;
  line-height: 1;
}

.gallery-prev:hover,
.gallery-next:hover {
  background-color: rgba(0,0,0,0.8);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

@media (max-width: 768px) {
  .gallery-slide {
    height: 300px;
  }
}



  .serit .kisim {
    flex: 1;
    min-width: 200px;
    margin: 10px;
  }

  .serit .kisim h2 {
    margin-top: 0;
    font-size: 1.5em;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
  }

  .serit .kisim p {
    margin: 5px 0;
    line-height: 1.5;
  }

  .alt-bilgi {
    text-align: center;
    margin-top: 0;
    padding: 15px;
    font-size: 0.9em;
    color: #fff;
    background-color: #111;
  }

  /* randevu */
  .randevu-bolum {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background-color: #ffffff;
  padding: 60px 40px;
  gap: 30px;
}

.randevu-sag {
  flex: 1 1 40%;
  padding: 20px;
  background-color: #e6f2ec;
  border-radius: 10px;
}

.randevu-sol {
  flex: 1 1 55%;
  padding: 20px;
  background-color: #f5fff8;
  border-radius: 10px;
}

.randevu-bolum form {
  display: flex;
  flex-direction: column;
}

.randevu-bolum input,
.randevu-bolum textarea,
.randevu-bolum select {
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.randevu-bolum .submit-button {
  background-color: #68bfa0;
  color: white;
  padding: 12px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.randevu-bolum .submit-button:hover {
  background-color: #56a88b;
}

.randevu-bolum .checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* konum */
.konum {
  display: flex;
  flex-wrap: wrap;
  width: 100vw;
  margin: 0;
  padding: 0;
}

.konum .contact-info {
  flex: 1 1 400px;
  padding: 30px;
  background-color: #f5fff8;
}

.konum .map-container {
  flex: 2 1 600px;
  height: 500px;
}


  .container {
    max-width: 800px;
    margin: 50px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
  }
  .left, .right {
    flex: 1 1 50%;
    padding: 30px;
  }
  .left {
    background-color: #e6f2ec;
  }
  h2 {
    margin-top: 0;
  }
  form {
    display: flex;
    flex-direction: column;
  }
  label {
    margin-top: 15px;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
  }
  .checkboxes {
    display: flex;
    flex-wrap: wrap;
  }
  .checkboxes label {
    width: 50%;
    margin-top: 5px;
  }
  .submit-button {
    background-color: #68bfa0;
    color: white;
    padding: 10px;
    border: none;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 5px;
  }
/* sertfikalar  */

/* Sertifikalar: 2 üst + 3 alt düzeni */
.sertifikalar .ikonlar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)); /* 6 sütunluk esnek ızgara */
  gap: 22px;
}

/* 1. ve 2. sertifika: üst satırda yan yana (3+3=6 sütun) */
.sertifikalar .ikonlar .ikon:nth-child(-n+2) {
  grid-column: span 3;
}

/* 3., 4., 5. sertifika: alt satırda üçlü (2+2+2=6 sütun) */
.sertifikalar .ikonlar .ikon:nth-child(n+3):nth-child(-n+5) {
  grid-column: span 2;
}

/* Mobil/tablet uyumu */
@media (max-width: 900px) {
  .sertifikalar .ikonlar {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* tablet: 3 sütun */
  }
  .sertifikalar .ikonlar .ikon {
    grid-column: auto; /* varsayılana dön: 3 sütunda 2-2-1 gibi doğal dizilir */
  }
}

@media (max-width: 600px) {
  .sertifikalar .ikonlar {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* telefon: 2 sütun */
  }
}

.sertifikalar .ikonlar .ikon:nth-child(-n+2) img {
  width: 84px;
  height: 84px;
}

/* Sertifikalar: düzen ve başlık */
.ikonlar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

/* Sertifika ikonlarını küçültülmüş kare kutular halinde göster */
.sertifikalar .ikonlar .ikon img {
  width: 120px;   /* burayı 100–140px arası deneyebilirsin */
  height: auto;
  object-fit: contain;   /* bozulmadan sığsın */
  border-radius: 8px;    /* köşeler hafif yuvarlak */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.sertifikalar .ikonlar .ikon img:hover {
  transform: scale(1.05);   /* üzerine gelince hafif büyüsün */
}

.ikon {
  background: #fff;
  border: 1px solid #e7f2ee;
  border-radius: 12px;
  padding: 16px 12px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.ikon img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
  transition: transform .25s ease;
}

.ikon-baslik {
  display: block;
  font-size: 14px;
  color: #226a64;
  font-weight: 600;
}

.ikon:hover img {
  transform: scale(1.06) rotate(1.5deg);
}

/* Modal */
.cert-modal {
  width: min(1000px, 92vw);
  height: min(90vh, 760px);
  padding: 0;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
}

.cert-modal::backdrop {
  background: rgba(0,0,0,.5);
}

.cert-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.cert-download {
  position: absolute;
  bottom: 10px;
  right: 12px;
  z-index: 3;
  background: #008080;
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.cert-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #f8faf9;
}



/* hakkimda */
.hakkinda-bolumu {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 20px;
  background-color: #f5fff8;
  gap: 40px;
}

.hakkinda-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.hakkinda-sol {
  flex: 1 1 300px;
  text-align: center;
}

.hakkinda-sol img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.hakkinda-sol h3 {
  margin-top: 10px;
  color: #008080;
}

.hakkinda-sol ul {
  list-style: disc;
  text-align: left;
  padding-left: 20px;
  margin-top: 10px;
  color: #444;
}

.hakkinda-sag {
  flex: 1 1 600px;
}

.hakkinda-sag h2 {
  color: #008080;
  margin-bottom: 15px;
}

.hakkinda-sag p {
  margin-bottom: 15px;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hakkinda-wrapper {
    flex-direction: column;
    gap: 0;
  }

  .hakkinda-bolumu {
    padding: 40px 15px;
  }

  .hakkinda-sol {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
    margin-bottom: 20px;
  }

  .hakkinda-sol img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0;
  }

  .hakkinda-sol h3 {
    margin-top: 0;
    font-size: 16px;
    color: #008080;
  }

  .hakkinda-sol ul {
    padding-left: 18px;
    margin: 5px 0 0 0;
    font-size: 14px;
  }

  .hakkinda-sag {
    margin-top: 10px;
  }

  .hakkinda-sag h2 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
  }

  .hakkinda-sag p {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
  }
}





/* Hizmetler */
.hizmetlerimiz {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.bolum-baslik {
  font-size: 32px;
  margin-bottom: 40px;
  color: #2c3e50;
}

.hizmetler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.hizmet {
  padding: 20px;
  transition: transform 0.3s ease;
}

.hizmet:hover {
  transform: translateY(-5px);
}

.hizmet h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #008080;
}

.kategori {
  display: inline-block;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.hizmet:hover .kategori {
  color: #008080;
}

.hizmet p {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}


/* Yeni Footer Tasarımı */
.modern-footer {
  background-color: #004d40;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 200px;
  margin: 20px;
}

.footer-column h3 {
  color: #b2dfdb;
  margin-bottom: 10px;
}

.footer-column a {
  display: block;
  color: #e0f2f1;
  text-decoration: none;
  margin: 5px 0;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 15px;
}

.footer-socials a img {
  width: 24px;
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #00796b;
  margin-top: 20px;
  color: #b2dfdb;
}

.footer-socials a {
  margin-right: 12px;
  text-decoration: none;
}

.footer-socials i {
  font-size: 20px;
  transition: transform 0.2s;
}

.footer-socials i:hover {
  transform: scale(1.2);
}



/* Konum */
.map-container { 
  flex: 2 1 400px;
  min-height: 400px;
}


input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #68bfa0;
  box-shadow: 0 0 5px rgba(104, 191, 160, 0.6);
  transition: all 0.3s ease;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Hizmetler 3 sütun grid */
.hizmetler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* Sol altta tek dil butonu */
.lang-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #008080;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}
