@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --blue: black;
  --light-blue: #eaf7ff;
  --gold: #d4b04a;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f8fbff;
  --radius: 14px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  color: var(--text);
  line-height: 1.6;
}

/* ===========================
   HEADER
=========================== */
header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  min-height: 75px;
}

.logo img {
  width: 150px;
  height: auto;
}

/* Menü */

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}

nav a:hover,
nav a.active {
  color: var(--blue);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 250px;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 8px 0;
}

.dropdown:hover>.dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.dropdown-content a:hover {
  background: linear-gradient(180deg, #86abdb 0%, #eef6ff 100%);
  color: var(--blue);
}

/* Mobil Menü */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  position: fixed;
  /* absolute değil fixed */
  top: 22px;
  /* container ile hizalanır */
  right: 24px;
  /* tamamen sağda */
  z-index: 9999999;
  color: var(--blue);
}

.menu-toggle.active i {
  transform: rotate(90deg);
}

nav {
  position: relative;
  z-index: 99999;
}

/* =============== MOBİL MENÜ ================== */
@media (max-width: 950px) {

  @media (max-width: 950px) {
    #navbar ul {
      position: fixed;
      top: 0;
      right: -100%;
      width: 260px;
      height: 100vh;
      background: #fff;
      flex-direction: column;
      align-items: flex-start;
      padding: 100px 20px;
      gap: 20px;
      box-shadow: -4px 0 14px rgba(0, 0, 0, 0.1);
      transition: right 0.4s ease;
      z-index: 999999;
    }

    /* Açıldığında UL’i içeri getir */
    #navbar.active ul {
      right: 0 !important;
    }

  }

  /* Dropdown içerikleri */
  #navbar .dropdown-content {
    position: static;
    box-shadow: none;
    padding-left: 20px;
  }

  .menu-toggle {
    display: block !important;
    position: fixed;
    top: 20px;
    right: 24px;
    font-size: 28px;
    color: black;
    z-index: 9999999 !important;
  }

}


/* ===========================
   SLIDER
=========================== */
.slider {
  position: relative;
  overflow: hidden;
  height: 70vh;
  border-bottom: 4px solid var(--gold);
  max-width: 1150px;
  /* services-hero ile aynı */
  margin: 0 auto;
  /* ortalamak için */
  padding: 0 24px;
  /* services-hero padding’i ile aynı */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* VİDEO */
.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  z-index: 3;
}

.overlay h1 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 10px;
}

.arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 4;
  /* padding kaldırıldı */
}

.arrow {
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  user-select: none;
}

.arrow.left {
  left: 24px;
  position: absolute;
}

.arrow.right {
  right: 24px;
  position: absolute;
}


/* ===========================
   HİZMETLER
=========================== */
.services-hero {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #e9f8ff 100%);
  width: 100%;
  padding: 80px 0;
  border-bottom: 2px solid var(--gold);
}

.grid-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-content: center;
  gap: 24px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 30px 40px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 22px;
  text-align: center;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* =========================
   ZİKZAK HİZMET YAPISI (NEW)
========================= */

.services-zigzag {
  max-width: 1150px;
  margin: 60px auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

/* Resim alanı */
.service-img {
  flex: 1;
}

.service-img img {
  width: 100%;
  height: 330px;
  /* TÜM RESİMLER AYNI YÜKSEKLİK */
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Yazı alanı */
.service-text {
  flex: 1;
  background: #fff;
  padding: 32px 34px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.service-text h3 {
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 14px;
}

.service-text p {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 900px) {

  .service-row,
  .service-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .service-img img {
    height: 240px;
    /* Mobilde biraz daha düşük yükseklik */
  }

  .service-text {
    padding: 26px 22px;
  }
}

@media (max-width: 600px) {
  .services-zigzag {
    gap: 40px;
  }

  .service-text h3 {
    font-size: 1.5rem;
  }

  .service-text p {
    font-size: 0.95rem;
  }
}

/* ================================
   HAKKIMIZDA – MODERN APPLE TARZI
================================ */

.about-modern {
  width: 100%;
  padding: 60px 0;
  background: #f7fbff;
}

.about-modern-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* SOL FOTOĞRAF */
.about-modern-left img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* SAĞ KUTU */
.about-modern-right {
  flex: 1;
  position: relative;
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

/* DEV WATERMARK (01) */
.watermark {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 120px;
  font-weight: 800;
  opacity: 0.06;
  color: #000;
  pointer-events: none;
}

.watermark {
  display: none !important;
}

/* BAŞLIK */
.about-modern-right h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0b2239;
  margin-bottom: 15px;
}

/* ALT BAŞLIK */
.about-modern-right h3 {
  font-size: 1.3rem;
  margin-top: 25px;
  color: #0b2239;
}

/* METİNLER */
.about-modern-right p {
  font-size: 15.5px;
  color: #485566;
  margin-top: 10px;
  line-height: 1.75;
}

/* LİSTE */
.about-modern-right ul {
  margin-top: 15px;
  padding-left: 18px;
}

.about-modern-right ul li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #444;
}

/* ALTTTA RENKLİ ŞERİT */
.color-line {
  width: 100%;
  height: 6px;
  margin-top: 25px;
  border-radius: 4px;
  background: linear-gradient(90deg,
      #d4b04a,
      #8bb8ff,
      #88e0c1,
      #ff8585);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-modern-wrapper {
    flex-direction: column;
  }

  .about-modern-left img {
    max-width: 100%;
  }

  .about-modern-right {
    padding: 35px 24px;
  }

  .watermark {
    font-size: 70px;
    top: 5px;
    left: 10px;
  }
}

/* =========================
   GALERİ (Orijinal)
========================= */
.gallery-section {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  flex: 1;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px 60px;
  /* sağa-sola 24px, alta 60px boşluk */
}


.gallery-filters {
  text-align: center;
  margin-bottom: 40px;
}

.services-hero-inner p {
  margin-bottom: 40px;
  /* 2 satırlık boşluk etkisi */
}

@media (max-width: 768px) {
  .services-hero-inner p {
    margin-bottom: 30px;
    /* mobilde biraz daha az boşluk */
  }
}

.filter-btn {
  background: #fff;
  border: 2px solid var(--blue);
  color: black;
  padding: 10px 22px;
  border-radius: 30px;
  margin: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  color: #fff;
}

/* =========================
   GALERİ (Düzeltilmiş, Kare Görüntüler)
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  /* Kare görünüm için height'i width ile eşitliyoruz */
  aspect-ratio: 1 / 1;
  /* Modern tarayıcılar destekler */
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(103, 198, 234, 0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
  pointer-events: none !important;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 32px;
  margin-bottom: 8px;
}


/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#lightbox .close {
  position: absolute;
  top: 40px;
  right: 60px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

/* =========================
   İLETİŞİM (Orijinal)
========================= */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(340px, 1fr));
  gap: 40px 60px;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 5%;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.contact-card i {
  font-size: 42px;
  color: black;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Mobil uyum */
@media (max-width: 800px) {
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}



/* =========================
   FOOTER SABİT (Tüm Hakları Saklıdır)
========================= */
html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body>*:not(footer) {
  flex-shrink: 0;
}

footer {
  margin-top: auto;
  background: #0b1f33;
  color: #c6d4e3;
  text-align: center;
  padding: 20px 5%;
  font-size: 14px;
}

footer p {
  margin-top: 10px;
  font-size: 13px;
  color: #9fb5cc;
}


/* ===========================
   FOOTER
=========================== */
html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body>*:not(footer) {
  flex-shrink: 0;
}

footer {
  margin-top: auto;
  background: #0b1f33;
  color: #c6d4e3;
  text-align: center;
  padding: 20px 5%;
  font-size: 14px;
}


/* =========================
   HALI YIKAMA — KÜÇÜK FOTO GALERİ (FINAL)
========================= */

.service-gallery {
  padding: 40px 24px;
  max-width: 1150px;
  margin: 0 auto;
}

/* Geniş, düzenli kutular */
.service-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* genişlik buradan ayarlanır */
  gap: 20px;
}

/* Görsel kutusu */
.service-gallery .gallery-item {
  width: 100%;
  height: 300px;
  /* daha dengeli yükseklik */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  background: #fff;
  transition: 0.25s ease;
}

/* Resim */
.service-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-gallery .gallery-item:hover img {
  transform: scale(1.08);
}


/* Lightbox */
#lightbox img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

/* Mobil */
@media(max-width: 600px) {
  .service-gallery .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    /* daha küçük */
  }

  .service-gallery .gallery-item {
    height: 120px;
  }
}


/* Slider */
.service-slider {
  position: relative;
  width: 90%;
  max-width: 1100px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-slider img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

/* Oklar */
.slider-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 15px;
}

.slider-arrows .arrow {
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 30px;
  cursor: pointer;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  transition: 0.3s;
}

.slider-arrows .arrow:hover {
  background: #d4b04a;
  color: #fff;
}

/* Metin Alanı */
.service-detail {
  background: #f9fafc;
  padding: 70px 20px;
}

.detail-container {
  max-width: 950px;
  margin: 0 auto;
}

.detail-container h2 {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
}

.detail-container p {
  color: #444;
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 14px;
}

/* Hover efekt ve geçiş */
.service-slider img,
.slider-arrows .arrow {
  transition: all 0.3s ease;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .services-hero {
    padding: 50px 16px 40px;
  }

  .services-hero h1 {
    font-size: 26px;
  }

  .services-hero p {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .service-slider img {
    height: 320px;
  }

  .slider-arrows .arrow {
    font-size: 26px;
    width: 40px;
    height: 40px;
  }

  .detail-container {
    padding: 0 10px;
  }

  .detail-container h2 {
    font-size: 22px;
  }

  .detail-container p {
    font-size: 14.5px;
  }
}

nav a {
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

nav a:hover {
  background: linear-gradient(180deg, #86abdb 0%, #eef6ff 100%);
  /* mavi kutu */
  color: black;
  /* sıyah yazı */
}

/* Aktif sayfa daima mavi kutulu */
nav a.active {
  background: linear-gradient(180deg, #86abdb 0%, #eef6ff 100%);
  color: black;
}

/* Sabit butonların kapsayıcısı */
.floating-buttons {
  position: fixed;
  bottom: 25px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 9999;
}

/* Ortak buton stili */
.floating-buttons a {
  width: 55px;
  height: 55px;
  background: #fff;
  border-radius: 14px;
  /* hafif kutu formu */
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;

  /* gölge */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: 0.25s ease;
}

/* WhatsApp ikonu */
.btn-whatsapp i {
  font-size: 34px;
  color: #25D366;
  /* WhatsApp orijinal yeşil */
}

/* Telefon ikonu */
.btn-phone i {
  font-size: 30px;
  color: #1E90FF;
  /* Telefon için mavi */
}

/* Hover efekti */
.floating-buttons a:hover {
  transform: scale(1.12);
}

header {
  position: relative;
  z-index: 1000000 !important;
}
