/* Ankara Duşakabin Theme Styles */
[x-cloak] {
  display: none !important;
}

:root {
  --brand-color: #876830;
  --brand-light: #D4B878;
  --brand-dark: #6E5426;
  --accent-color: #B8944F;
  --page-bg: #F8FAFC;
  --primary-text: #0F172A;
  --secondary-text: #475569;
}

/* Global Overflow Lock to Prevent Mobile Horizontal Shift */
/* "clip" yatay taşmayı keser ama "hidden" gibi body'yi ayrı bir kaydırma alanına
   çevirmez; böylece sayfa window üzerinde kayar (yukarı çık, header gölgesi vb. çalışır).
   "hidden" satırı clip desteklemeyen eski tarayıcılar için yedektir. */
html, body {
  overflow-x: hidden !important;
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

main {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 70px; /* Space for mobile app bottom bar */
  }
}

.hero-bg {
  contain: strict;
}

.hero-bg-layer {
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bg-layer.is-front {
  z-index: 2;
  opacity: 1;
}

.hero-bg-layer.is-back {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-layer {
    transition: none !important;
  }
}

.hero-dim {
  background: rgba(0, 0, 0, 0.36);
}

.hero-gradient {
  background: linear-gradient(180deg,
      rgba(10, 16, 12, 0.28) 0%,
      rgba(8, 14, 11, 0.1) 42%,
      rgba(6, 12, 9, 0.38) 100%);
}

.hero-legible {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 2px 18px rgba(0, 0, 0, 0.32);
}

.hero-eyebrow {
  letter-spacing: 0.22em;
  opacity: 0.72;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .hero-eyebrow {
    margin-bottom: 1rem;
  }
}

.hero-heading {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 0 48px rgba(168, 132, 63, 0.12);
}

.hero-heading--brand {
  color: var(--brand-light);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 4px 28px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(168, 132, 63, 0.35);
}

@media (max-width: 1023px) {
  #site-header.header-menu-open {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }
}

.hero-text-panel {
  background: linear-gradient(90deg,
      rgba(6, 14, 10, 0.88) 0%,
      rgba(10, 22, 16, 0.6) 42%,
      rgba(14, 26, 18, 0.25) 88%,
      rgba(18, 32, 22, 0.1) 100%);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 15px 45px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

@media (max-width: 767px) {
  .hero-text-panel {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: auto;
    margin-bottom: 2rem;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hero-text-panel {
    background: linear-gradient(90deg,
        rgba(12, 22, 16, 0.94) 0%,
        rgba(16, 28, 20, 0.78) 50%,
        rgba(18, 32, 24, 0.88) 100%);
  }
}

.footer-social-link {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-social-link:hover {
  transform: scale(1.08);
  background-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12), 0 10px 28px rgba(0, 0, 0, 0.28);
  opacity: 1;
}

.footer-social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  display: block;
}

.header-hero-glass {
  background: rgba(20, 20, 20, 0.90);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-phone--hero {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.header-phone--hero:hover {
  background-color: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.6);
}

.lang-btn--hero {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn--hero:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.lang-btn--solid {
  color: #1f1f1f;
  border-color: #D9D6D2;
}

.lang-btn--solid:hover {
  background-color: rgba(217, 214, 210, 0.35);
  border-color: #C4C1BC;
}

#lang-dropdown-root.is-open .lang-chevron {
  transform: rotate(180deg);
}

.header-phone--solid {
  background-color: rgba(168, 132, 63, 0.12);
  border-color: rgba(168, 132, 63, 0.35);
  color: #1f1f1f;
}

.header-phone--solid:hover {
  background-color: rgba(168, 132, 63, 0.2);
  border-color: rgba(168, 132, 63, 0.5);
}

.bottom-bar-phone {
  background-color: #fff;
  border: 2px solid rgba(168, 132, 63, 0.65);
  color: #1f1f1f;
}

.bottom-bar-phone:hover {
  background-color: #f7faf7;
  border-color: rgba(168, 132, 63, 0.9);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

details[open] summary .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  transition: transform 0.3s ease;
}

.product-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card .product-thumb img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-thumb img {
  transform: scale(1.03);
}

.yalitim-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yalitim-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(31, 31, 31, 0.12);
}

@media (prefers-reduced-motion: reduce) {

  .product-card,
  .product-card .product-thumb img,
  .yalitim-card {
    transition: none;
  }

  .product-card:hover,
  .yalitim-card:hover {
    transform: none;
  }
}

.product-detail-prose p {
  margin-bottom: 0.75rem;
}

.product-detail-prose p:last-child {
  margin-bottom: 0;
}

.pm-slide {
  flex-shrink: 0;
  width: min(52vw, 230px);
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(217, 214, 210, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  background: rgba(217, 214, 210, 0.15);
}

@media (min-width: 768px) {
  .pm-slide {
    width: min(20vw, 220px);
  }
}

@media (min-width: 1024px) {
  .pm-slide {
    width: min(16vw, 210px);
  }
}

@media (min-width: 1280px) {
  .pm-slide {
    width: 210px;
  }
}

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

.faaliyet-hero-frame {
  height: 250px;
}

.faaliyet-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.project-marquee-wrap {
  position: relative;
}



.project-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 1rem 0 2.5rem 0;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes marquee-infinite {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-slow {
  animation: marquee-infinite 60s linear infinite;
}

.animate-marquee-slow:hover {
  animation-play-state: paused;
}

@media (min-width: 768px) {
  .project-marquee-track {
    gap: 1rem;
  }
}

.project-marquee-btn {
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #D9D6D2;
  color: #1F1F1F;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (min-width: 640px) {
  .project-marquee-btn {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.project-marquee-btn:hover {
  background: #fff;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.16);
}

.project-marquee-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.project-marquee-btn--prev {
  left: 0.25rem;
}

.project-marquee-btn--next {
  right: 0.25rem;
}

@media (min-width: 1024px) {
  .project-marquee-btn--prev {
    left: -0.25rem;
  }

  .project-marquee-btn--next {
    right: -0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-marquee-btn {
    transition: none;
  }

  .project-marquee-btn:active {
    transform: translateY(-50%);
  }
}

.footer-sc-link {
  color: var(--brand-color);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.footer-sc-link:hover {
  opacity: 0.88;
}

/* Glass Header Nav Links */
.header-hero-glass .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

.header-hero-glass .nav-link:hover {
  color: #fff !important;
}

.header-hero-glass .header-logo-text {
  color: #fff !important;
}

.header-hero-glass #mobile-menu-btn {
  color: #fff !important;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5rem;
  z-index: 40;
  width: 3.25rem;
  height: 3.25rem;
  background-color: var(--brand-color);
  color: #fff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(168, 132, 63, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:not(.show) {
  transform: translateY(20px);
}

#back-to-top:hover {
  background-color: var(--brand-dark);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(168, 132, 63, 0.5);
}

@media (min-width: 768px) {
  #back-to-top {
    right: 2rem;
    bottom: 5rem;
  }
}

/* =========================================================================
   ALT SAYFALAR İÇİN MİMARİ HEADER ZEMİNİ & KARARTMA PERDESİ
   ========================================================================= */
section.bg-primary,
.page-hero-bg {
  background-color: #0E0D0B !important;
  /* Perde: Damla logosunun sıcak siyahı */
  background-image: linear-gradient(180deg, rgba(14, 13, 11, 0.78) 0%, rgba(14, 13, 11, 0.92) 100%), url('/assets/page-header-bg.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
}

section.bg-primary::before,
.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Logodaki altın tonlarında hafif ışık */
  background: radial-gradient(circle at 80% 20%, rgba(201, 160, 83, 0.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(168, 132, 63, 0.10), transparent 55%);
  pointer-events: none;
  z-index: 1;
}

/* =========================================================================
   FOOTER SECTION (KOYU ZEMİN VE OKUNAKLI STİL)
   ========================================================================= */
footer,
.footer-section {
  background-color: #0E0D0B !important;
  /* Alt sayfa başlıklarıyla aynı fotoğraflı zemin; yazılar okunsun diye perde daha koyu */
  background-image: linear-gradient(180deg, rgba(14, 13, 11, 0.90) 0%, rgba(14, 13, 11, 0.97) 100%), url('/assets/page-header-bg.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: #ffffff !important;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 0%, rgba(201, 160, 83, 0.14), transparent 45%);
  pointer-events: none;
}

footer > * {
  position: relative;
  z-index: 1;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}

.footer-section a:hover {
  color: #ffffff !important;
}

/* Tailwind Utility Classes Override */
.bg-brand {
  background-color: var(--brand-color) !important;
}

.hover\:bg-brand-dark:hover {
  background-color: var(--brand-dark) !important;
}

.text-brand {
  color: var(--brand-color);
}

.border-brand {
  border-color: var(--brand-color) !important;
}

.ring-brand {
  --tw-ring-color: var(--brand-color);
}

/* Universal Button Hover Text Contrast Fixes */
.hover\:text-white:hover,
.hover\:text-white:hover *,
.group:hover .group-hover\:text-white,
.group:hover .group-hover\:text-white *,
a.header-phone-btn:hover,
a.header-phone-btn:hover *,
a[class*="hover:bg-brand"]:hover,
a[class*="hover:bg-brand"]:hover *,
button[class*="hover:bg-brand"]:hover,
button[class*="hover:bg-brand"]:hover * {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

a.header-phone-btn:hover {
  background-color: var(--brand-color, #A8843F) !important;
  border-color: var(--brand-color, #A8843F) !important;
}

/* Service Cards Button Hover Contrast Fix */
.product-card:hover .service-card-btn {
  background-color: var(--brand-color, #A8843F) !important;
  color: #ffffff !important;
}
.product-card:hover .service-card-btn * {
  color: #ffffff !important;
}

/* =========================================================================
   CIRCULAR SCROLL PROGRESS BACK TO TOP BUTTON
   ========================================================================= */
.progress-wrap {
  position: fixed;
  right: 18px;
  bottom: 84px; /* Sits right above the mobile bottom app bar */
  height: 48px;
  width: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .progress-wrap {
    right: 28px;
    bottom: 92px; /* Positioned directly above the desktop floating widget */
    height: 50px;
    width: 50px;
  }
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-wrap .progress-arrow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--brand-color, #A8843F);
  transition: transform 200ms ease, color 200ms ease;
  z-index: 2;
  pointer-events: none;
}

.progress-wrap:hover .progress-arrow {
  transform: translateY(-2px);
  color: var(--brand-dark, #8A6A2E);
}

.progress-wrap svg path {
  fill: none;
}

.progress-wrap svg.progress-circle path {
  stroke: var(--brand-color, #A8843F);
  stroke-width: 4.5;
  box-sizing: border-box;
  transition: all 150ms linear;
}

/* Damla altın logo: koyu footer zemininde beyaz kutu olmadan görünsün (footer.php'ye dokunmadan) */
footer .bg-white\/95.rounded-2xl {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}
footer .bg-white\/95.rounded-2xl img {
  height: 4rem !important;
  max-height: 4rem !important;
}
#mobile-app-bar a[aria-label="Hemen Arayın"] {
  box-shadow: 0 8px 20px rgba(168, 132, 63, 0.35) !important;
}
/* Telefonda başlık/footer arka planı için küçük (768px) WebP sürümü */
@media (max-width: 768px) {
  section.bg-primary,
  .page-hero-bg {
    background-image: linear-gradient(180deg, rgba(14, 13, 11, 0.78) 0%, rgba(14, 13, 11, 0.92) 100%), url('/assets/page-header-bg-768.webp') !important;
  }
  footer,
  .footer-section {
    background-image: linear-gradient(180deg, rgba(14, 13, 11, 0.90) 0%, rgba(14, 13, 11, 0.97) 100%), url('/assets/page-header-bg-768.webp') !important;
  }
}
/* Anasayfa hizmet kartları: beyaz zeminde kaybolmasın diye bölüme sıcak açık ton,
   kartlara belirgin kenarlık ve gölge */
#hizmetler {
  background-color: #F4F0E8 !important;
}
#hizmetler .product-card {
  background-color: #ffffff;
  border-color: rgba(135, 104, 48, 0.18) !important;
  box-shadow: 0 4px 18px -6px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}
#hizmetler .product-card:hover {
  border-color: rgba(135, 104, 48, 0.45) !important;
  box-shadow: 0 22px 44px -14px rgba(15, 23, 42, 0.22) !important;
}
#hizmetler .product-card .product-thumb {
  background-color: #F4F0E8;
}
