/* =====================================================
   GENEL
===================================================== */
:root {
  --navbar-height: 80px;
  --accent-green: #198754;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  scroll-behavior: smooth;
}

.navbar {
  transition: all 0.3s ease;
  background: #fff;
  box-shadow: none;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1050;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  font-weight: 700;
  color: var(--accent-green);
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.75rem 1rem;
  color: #333;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--accent-green);
}


/* ============================================================
   Navbar Randevu Al Butonu (Her zaman görünür + hover efekti)
   ============================================================ */
.navbar .btn.btn-success {
  background-color: #1a8754; /* Tema success yeşili */
  color: #fff !important;
  border: none;
  transition: all 0.3s ease;
}

.navbar .btn.btn-success:hover {
  background-color: #157347; /* Hover için biraz koyu ton */
  color: #fff !important;
}

.navbar .btn.btn-success i {
  color: #fff;
  margin-right: 6px; /* İkon ile metin arasında boşluk */
  transition: transform 0.3s ease;
}

.navbar .btn.btn-success:hover i {
  transform: scale(1.1) rotate(10deg);
}



/* =====================================================
   HERO
===================================================== */
.hero-section {
  position: relative;
  padding-top: var(--navbar-height);
  overflow: hidden;
}

.hero-swiper {
  height: calc(100vh - var(--navbar-height));
}

.hero-slide {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center; /* Dikey ortalama */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.12) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--navbar-height));
  padding: 0 2rem;
}

.hero-section h1,
.hero-section p {
  color: #fff;
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  max-width: 80%;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.hero-section p.lead {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 70%;
  color: rgba(255, 255, 255, 0.9);
}

/* =====================================================
   BUTTONLAR
===================================================== */
.btn-animated {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-animated:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(25, 135, 84, 0.3);
}

/* =====================================================
   FLOATING BUTTONS
===================================================== */
#action-buttons {
  position: fixed;
  right: 15px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

#action-buttons a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--accent-green);
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

#action-buttons a:hover {
  transform: translateY(-5px);
}

/* Back to Top */
#btn-back-to-top {
  position: fixed;
  right: 15px;
  bottom: 25px;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #222;
  color: #fff;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.25s ease;
}

#btn-back-to-top:hover {
  transform: translateY(-6px);
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 991px) {
  :root {
    --navbar-height: 70px;
  }

  .hero-section .container {
    text-align: center;
    justify-content: center;
    padding: 0 1.2rem;
  }

  .hero-section h1 {
    max-width: 100%;
    font-size: 2rem;
  }

  .hero-section p.lead {
    max-width: 100%;
  }

  #action-buttons {
    right: 15px;
    bottom: 80px;
  }

  #action-buttons a,
  #btn-back-to-top {
    width: 44px;
    height: 44px;
  }
}

/* =====================================================
   DİĞER BÖLÜMLER
===================================================== */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--accent-green);
}

.faq-section,
.cta-section,
.blog-section,
.footer {
  background: #fff;
}


/* =====================================================
   SCROLL PROGRESS BAR
===================================================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--accent-green);
  width: 0%;
  z-index: 2000;
  transition: width 0.2s linear;
}


/* =====================================================
   DANIŞAN YORUMLARI (Testimonials)
===================================================== */
.testimonials-section {
  background-color: #f8f9fa;
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}

.testimonial-card {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 4px solid var(--accent-green);
}

.testimonial-card .stars {
  color: #ffc107;
  font-size: 1.1rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .testimonials-section {
    padding: 60px 20px;
  }
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  .testimonial-card img {
    width: 90px;
    height: 90px;
  }
  .testimonial-card p {
    font-size: 0.9rem;
  }
}



/* =====================================================
   CTA Bölümü (id="cta") - Nihai Arka Planlı Versiyon
   ===================================================== */
section#cta {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(44, 162, 76, 0.1), rgba(44, 162, 76, 0.25));
}

/* Opsiyonel: arka plan görsel efekti */
section#cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/cta-bg.jpg'); /* Görsel dosyan varsa buraya ekle */
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* Hafif şeffaflık */
  z-index: 1;
}

#cta .container {
  position: relative;
  z-index: 2; /* Yazıları üstte tut */
  max-width: 900px;
  margin: 0 auto;
}

#cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

#cta p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.6;
}

#cta .btn {
  background-color: #2ca24c !important;
  color: #fff !important;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#cta .btn:hover {
  background-color: #23913f !important;
  transform: translateY(-2px);
}

/* Mobil görünüm optimizasyonu */
@media (max-width: 768px) {
  section#cta {
    padding: 4rem 1rem 5rem;
    background: linear-gradient(135deg, rgba(44, 162, 76, 0.05), rgba(44, 162, 76, 0.15));
  }

  #cta h2 {
    font-size: 1.6rem;
  }

  #cta p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  #cta .btn {
    width: 100%;
    max-width: 280px;
  }
}



/* =====================================================
   UZMANLIKLARIM — Bölüme özel premium efektler
   (Sadece #uzmanliklarim seçicisini kullanır; global etki yok)
===================================================== */
#uzmanliklarim .card {
  border-radius: 16px;
  background: #ffffff;
  transition: transform 0.45s cubic-bezier(.2,.9,.3,1), box-shadow 0.45s ease, background-color 0.45s ease;
  position: relative;
  overflow: hidden;
}

/* Hover / focus efekti (masaüstü) */
#uzmanliklarim .card:hover,
#uzmanliklarim .card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(12, 40, 25, 0.12);
  background-color: #f0fbf5; /* çok hafif yeşil ton */
}

/* Yumuşak iç parıltı (hover'da görünür) */
#uzmanliklarim .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(72,187,120,0.06), transparent 30%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
#uzmanliklarim .card:hover::before { opacity: 1; }

/* Başlık & icon geçişleri */
#uzmanliklarim .card-body i {
  transition: transform 0.45s cubic-bezier(.2,.9,.3,1), color 0.35s ease, text-shadow 0.35s ease;
  display: inline-block;
  will-change: transform;
}

/* Icon zıplama + büyüme animasyonu */
@keyframes uzmanlikIconBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.18); }
}

/* Hover sırasında ikon animasyonu ve renk/parlaklık */
#uzmanliklarim .card:hover .card-body i {
  animation: uzmanlikIconBounce 0.62s ease;
  color: var(--dark-green);
  text-shadow: 0 8px 20px rgba(40,167,69,0.12);
}

/* Başlık renği geçişi */
#uzmanliklarim .card:hover .card-body h5 {
  color: var(--dark-green);
  transition: color 0.35s ease, text-shadow 0.35s ease;
  text-shadow: 0 0 6px rgba(40,167,69,0.06);
}

/* Küçük ekranlarda hareketi hafiflet */
@media (max-width: 768px) {
  #uzmanliklarim .card:hover,
  #uzmanliklarim .card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(12, 40, 25, 0.08);
  }
  #uzmanliklarim .card:hover .card-body i {
    animation: uzmanlikIconBounce 0.5s ease;
  }
}

/* Erişilebilirlik: tercih edenlerde animasyonları azalt */
@media (prefers-reduced-motion: reduce) {
  #uzmanliklarim .card,
  #uzmanliklarim .card-body i {
    transition: none !important;
    animation: none !important;
  }
}


/* =============================
   FAQ (Sık Sorulan Sorular) — Premium + İkon Animasyonu
============================= */
#faq {
  position: relative;
  background: linear-gradient(180deg, #f8fdf9 0%, #ffffff 100%);
}

#faq .accordion-item {
  background: #fff;
  border-radius: 16px;
  transition: all 0.3s ease;
}

#faq .accordion-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

#faq .accordion-button {
  font-size: 1.05rem;
  padding: 1rem 1.25rem;
  background: transparent;
  color: #198754;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
}

#faq .accordion-button .faq-icon {
  transition: transform 0.3s ease, color 0.3s ease;
}

#faq .accordion-button:not(.collapsed) .faq-icon {
  transform: rotate(180deg);
  color: #0a4c2a;
}

#faq .accordion-button:not(.collapsed) {
  background: #d4f3dc;
  color: #0a4c2a;
  box-shadow: none;
}

#faq .accordion-body {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  animation: fadeInBody 0.4s ease;
}

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


/* =====================================================
   BLOG (Premium)
===================================================== */
#blog .blog-card {
  border-radius: 18px;
  transition: all 0.4s ease;
  background: #fff;
}

#blog .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

#blog .blog-img img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#blog .blog-img:hover img {
  transform: scale(1.08);
}

#blog .blog-img .overlay {
  position: absolute;
  inset: 0;
  background: rgba(40, 167, 69, 0.25);
  opacity: 0;
  transition: opacity 0.5s ease;
}

#blog .blog-img:hover .overlay {
  opacity: 1;
}

#blog .card-body h5 {
  transition: color 0.3s ease;
}

#blog .card-body h5:hover {
  color: var(--dark-green);
}



/* =====================================================
   PAGE HEADER (Tüm İç Sayfalar)
===================================================== */
.page-header {
  height: 50vh;
  background: url('../img/page-header-bg.webp') center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.4));
  backdrop-filter: blur(3px);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: #fff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}

.breadcrumb {
  background: transparent;
  font-size: 0.95rem;
}

.breadcrumb-item a {
  color: var(--light-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--green);
}

.breadcrumb-item.active {
  color: #fff;
  opacity: 0.9;
}

/* Premium Görünüm için Alt Işık Efekti */
.page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  z-index: 2;
}

/* Mobil Optimize */
@media (max-width: 768px) {
  .page-header {
    height: 35vh;
  }
  .page-header h1 {
    font-size: 1.8rem;
  }
}


/* =====================================================
   FOOTER - Premium Tasarım
===================================================== */
.footer {
  background: url('../img/footer-bg.webp') center/cover no-repeat, linear-gradient(180deg, #044d2b 0%, #022b18 100%);
  position: relative;
  color: #f8f9fa;
  overflow: hidden;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer h5 {
  font-weight: 600;
  color: #fff;
}

.footer a {
  color: #d9f3e5;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #80ed99;
  padding-left: 4px;
}

.footer .social-icons a {
  display: inline-block;
  color: #fff;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.footer .social-icons a:hover {
  color: #80ed99;
  transform: translateY(-3px);
}

.footer hr {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }
  .footer .social-icons {
    margin-top: 1rem;
  }
}


/* ============================= */
/* GALERİ STİLLERİ */
/* ============================= */
.gallery-item {
  position: relative;
  transition: all 0.4s ease;
  border-radius: 1.2rem;
  overflow: hidden;
}

.gallery-img {
  transition: transform 0.5s ease, filter 0.4s ease;
  border-radius: inherit;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.35);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
  .gallery-img {
    border-radius: 0.75rem;
  }
}


/* ============================= */
/* İLETİŞİM (Form Yok) */
/* ============================= */
#iletisim .card {
  border-radius: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#iletisim .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

#iletisim .icon {
  min-width: 55px;
  text-align: center;
}

#iletisim a:hover {
  color: var(--accent-green) !important;
}

#harita iframe {
  width: 100%;
  height: 450px;
  border: none;
  filter: grayscale(5%) contrast(1.05);
  transition: filter 0.3s ease;
}

#harita iframe:hover {
  filter: grayscale(0%) contrast(1.1);
}


