/* =========================
   GENEL AYARLAR
========================= */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background-color: #0f0f0f;
  color: #ffffff;
}

.accent {
  color: #f5a623;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}



@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }

}

.hero-title {
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #ff8c00, #ffb347, #ff8c00);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 8px rgba(255,140,0,0.25), 0 0 16px rgba(255,140,0,0.15);
  opacity: 0;
  transform: translateY(40px);
  animation: heroFade 1s ease forwards;
}

@keyframes heroFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   3D HERO SLIDER
========================= */
.hero-gallery {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 420px;
  margin: 60px auto 0 auto;  /* üst boşluk verdik */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  position: absolute;
  width: 70%;
  height: 85%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.9s cubic-bezier(0.25, 0.8, 0.25, 1),
            opacity 0.6s ease,
            filter 0.6s ease;
  opacity: 0;
  transform: scale(0.8);
}

/* Ortadaki */
.hero-img.active {
  opacity: 1;
  transform: scale(1.03);
  z-index: 3;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25)
backdrop-filter: blur(2px);
}

/* Soldaki */
.hero-img.left {
  opacity: 0.6;
  transform: translateX(-40%) scale(0.9);
  z-index: 2;
}

/* Sağdaki */
.hero-img.right {
  opacity: 0.6;
  transform: translateX(40%) scale(0.9);
  z-index: 2;
}

.hero-img.left,
.hero-img.right {
  filter: brightness(0.75)blur(1px);
}
/* =========================
   WHATSAPP FLOAT
========================= */

.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
  z-index: 1000;
}

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

/* =========================
   HİZMET KARTLARI
========================= */

.service-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1rem;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(255,165,0,0.3);
}

.service-card img {
  height: 85px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
}

/* =========================
   PRODUCT CARD
========================= */

.product-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.4s;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.04);
  e20px 40px rgba(255,165,0,0.35);
}

/* =========================
   NAVBAR
========================= */

.navbar {
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(11,11,11,0.75) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.light-mode .navbar.scrolled {
  background: rgba(255,255,255,0.75) !important;
}

/* Logo Animasyon */
.navbar-brand.logo-letters span {
  color: #ffffff;
  display: inline-block;
  animation: letterFill 4s infinite;
}

.navbar-brand.logo-letters span:nth-child(1) { animation-delay: 0s; }
.navbar-brand.logo-letters span:nth-child(2) { animation-delay: 0.2s; }
.navbar-brand.logo-letters span:nth-child(3) { animation-delay: 0.4s; }
.navbar-brand.logo-letters span:nth-child(4) { animation-delay: 0.6s; }
.navbar-brand.logo-letters span:nth-child(5) { animation-delay: 0.8s; }
.navbar-brand.logo-letters span:nth-child(6) { animation-delay: 1s; }
.navbar-brand.logo-letters span:nth-child(7) { animation-delay: 1.2s; }
.navbar-brand.logo-letters span:nth-child(8) { animation-delay: 1.4s; }
.navbar-brand.logo-letters span:nth-child(9) { animation-delay: 1.6s; }
.navbar-brand.logo-letters span:nth-child(10) { animation-delay: 1.8s; }
.navbar-brand.logo-letters span:nth-child(11) { animation-delay: 2s; }

@keyframes letterFill {
  0%, 60%, 100% { color: #ffffff; }
  20%, 40% { color: #f5a623; }
}

/* Hamburger */
.navbar-toggler {
  border: none;
  width: 30px;
  height: 22px;
  position: relative;
}

.navbar-toggler span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: currentColor;
  transition: 0.3s ease;
}

.navbar-toggler span:nth-child(1) { top: 0; }
.navbar-toggler span:nth-child(2) { top: 9px; }
.navbar-toggler span:nth-child(3) { top: 18px; }

.navbar-toggler.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.navbar-toggler.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* =========================
   THEME UYUMU (Light/Dark)
========================= */

.light-mode {
  background-color: #f8f9fa !important;
  color: #111 !important;
}

.light-mode section {
  background-color: #f8f9fa !important;
}

.light-mode .service-card,
.light-mode .product-card {
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid #ddd !important;
}

.light-mode .text-white {
  color: #111 !important;
}

.light-mode footer {
  background-color: #f8f9fa !important;
  color: #111 !important;
}

.light-mode .navbar {
  background-color: #ffffff !important;
}

.light-mode .btn-outline-light {
  border-color: #333 !important;
  color: #333 !important;
}

.light-mode .btn-outline-light:hover {
  background: #f5a623 !important;
  color: #000 !important;
}

.light-mode .nav-contact-btn {
  border-color: #333 !important;
  color: #333 !important;
}

.light-mode .nav-contact-btn:hover {
  background: #f5a623 !important;
  color: #000 !important;
}

/* =========================
   BUTONLAR
========================= */

.btn-accent {
  background: #f5a623;
  color: #000;
  border-radius: 30px;
}

.btn-accent:hover {
  background: #ffbb33;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,166,35,0.35);
}

/* =========================
   FADE IN
========================= */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   THEME TOGGLE BUTON
========================= */

.theme-toggle-btn {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
  top: 80px !important;
  right: 20px !important;
  z-index: 1051 !important;
}

body:not(.light-mode) .theme-toggle-btn {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

body:not(.light-mode) .theme-toggle-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.1);
}

.light-mode .theme-toggle-btn {
  background: rgba(0,0,0,0.1);
  color: #111;
}

.light-mode .theme-toggle-btn:hover {
  background: rgba(0,0,0,0.2);
  transform: scale(1.1);
}

/* =========================
   DİĞER (Footer, Harita vs.)
========================= */

.footer-bg {
  background: #0b0b0b;
}

.light-mode .footer-bg {
  background: #f8f9fa !important;
}

.map-section {
  padding: 60px 0;
}

.map-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.minimal-cam-buton {
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: none;
}

body:not(.light-mode) .minimal-cam-buton {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

body:not(.light-mode) .minimal-cam-buton:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.light-mode .minimal-cam-buton {
  background: rgba(0,0,0,0.06);
  color: #111;
}

.light-mode .minimal-cam-buton:hover {
  background: rgba(0,0,0,0.12);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.randevu-buton {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(245,166,35,0.2);
  border: 1px solid rgba(245,166,35,0.2);
}

body:not(.light-mode) .randevu-buton {
  background: rgba(245,166,35,0.15);
  color: #fff;
}

body:not(.light-mode) .randevu-buton:hover {
  background: rgba(245,166,35,0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(245,166,35,0.4);
}

.light-mode .randevu-buton {
  background: rgba(245,166,35,0.1);
  color: #111;
  border: 1px solid rgba(0,0,0,0.15);
}

.light-mode .randevu-buton:hover {
  background: rgba(245,166,35,0.25);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(245,166,35,0.3);
}

/* Buton Alt Çizgi Kaldır (Link Gibi Durmasın) */
.randevu-buton,
.minimal-cam-buton,
.btn-accent {
  text-decoration: none !important;
}

/* Instagram Link Turuncu (Accent Renk) */
.footer-social-link {
  color: #f5a623 !important;
}

.footer-social-link:hover {
  color: #ffbb33 !important;  /* Hover daha açık turuncu */
}

/* Light Mode'da da turuncu kalsın */
.light-mode .footer-social-link {
  color: #f5a623 !important;
}

.light-mode .footer-social-link:hover {
  color: #ffbb33 !important;
}

/* Ürün Kartı Yazılar Karanlık Mod Fix */
body:not(.light-mode) .product-card,
body:not(.light-mode) .product-card h5,
body:not(.light-mode) .product-card p,
body:not(.light-mode) .product-card .accent {
  color: #fff !important;
}

body:not(.light-mode) .product-card p.opacity-75 {
  color: rgba(255,255,255,0.75) !important;
}

/* Light Mode zaten iyi, ama emin ol */
.light-mode .product-card h5,
.light-mode .product-card p {
  color: #111 !important;
}

/* İletişim Telefon Light Mode Fix */
.light-mode footer p,
.light-mode footer a {
  color: #111 !important;
}

.light-mode footer .accent {
  color: #f5a623 !important;
}

/* Sabit WhatsApp Float + Ürün Butonları Tema Uyumu */
.whatsapp-float,
.btn-accent {
  background: #f5a623 !important;  /* Dark mode turuncu */
  color: #000 !important;
}

.whatsapp-float:hover,
.btn-accent:hover {
  background: #ffbb33 !important;
  transform: scale(1.05);
}

/* Light Mode Yeşil */
.light-mode .whatsapp-float,
.light-mode .btn-accent {
  background: #25D366 !important;
  color: #fff !important;
}

.light-mode .whatsapp-float:hover,
.light-mode .btn-accent:hover {
  background: #1ebe5d !important;
}

/* Buton Alt Çizgi Kaldır (Link Gibi Durmasın, Tüm Butonlar İçin) */
.randevu-buton,
.minimal-cam-buton,
.btn-accent,
.footer-social-link {
  text-decoration: none !important;
}

/* Hover'da da çizgi çıkmasın */
.randevu-buton:hover,
.minimal-cam-buton:hover,
.btn-accent:hover,
.footer-social-link:hover {
  text-decoration: none !important;
}

/* Yorum Slider Oklar Tema Uyumu (Dark'ta Beyaz, Light'ta Siyah) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  /* Yorum Carousel Oklar Daha Büyük + Hover */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 50px;
  height: 50px;
  background-size: 100%;
}

/* Dark Mode (Beyaz ok) */
body:not(.light-mode) .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}

body:not(.light-mode) .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/* Light Mode (Siyah ok) */
.light-mode .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}

.light-mode .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/* Hover'da hafif opacity */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  opacity: 0.8;
}


/* SSS Accordion Açık Halde Turuncu Başlık */
.accordion-button:not(.collapsed) {
  background: rgba(245,166,35,0.2) !important;
  color: #f5a623 !important;
}

.light-mode .accordion-button:not(.collapsed) {
  background: rgba(245,166,35,0.15) !important;
  color: #f5a623 !important;
}