/* ==========================================================================
   Ahsen Boutique — 1:1 Pixel-Perfect Storefront Styles
   ========================================================================== */

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #FAF6F1; color: #2A1F24; }
.font-display { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.01em; }
.font-display-italic { font-family: 'Cormorant Garamond', serif; font-style: italic; }
.text-balance { text-wrap: balance; }
.slide-in-right { animation: slideRight 0.35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes slideRight { from { transform: translateX(100%);} to { transform: translateX(0);} }
.slide-in-up { animation: slideUp 0.35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes slideUp { from { transform: translateY(100%); opacity:0;} to { transform: translateY(0); opacity:1;} }
.btn-primary { background: #6B1F3A; color: #FAF6F1; transition: all .3s; }
.btn-primary:hover { background: #4A1428; }
.btn-outline { border: 1px solid #FAF6F1; color: #FAF6F1; transition: all .3s; }
.btn-outline:hover { background: #FAF6F1; color: #6B1F3A; }
.btn-outline-dark { border: 1px solid #2A1F24; color: #2A1F24; transition: all .3s; }
.btn-outline-dark:hover { background: #2A1F24; color: #FAF6F1; }
.product-card:hover .product-img-2 { opacity: 1; }
.product-card:hover .product-img-1 { opacity: 0; }
.product-img-1, .product-img-2 { transition: opacity .6s ease; }
.marquee { animation: marquee 30s linear infinite; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .chev { transform: rotate(180deg); }
.chev { transition: transform .3s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #6B1F3A; }
.star { color: #C9A961; }
.insta-grid img { transition: transform .6s ease; }
.insta-grid a:hover img { transform: scale(1.06); }
.gallery-thumb.active { border-color: #6B1F3A !important; }
.gallery-main { transition: opacity .4s ease; }

.slide { opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide .slide-bg { transform: scale(1.04); transition: transform 7s ease-out; }
.slide.active .slide-bg { transform: scale(1.16); }
.slide .slide-content > * { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.slide.active .slide-content > * { opacity: 1; transform: translateY(0); }
.slide.active .slide-content > *:nth-child(1){ transition-delay:.25s; }
.slide.active .slide-content > *:nth-child(2){ transition-delay:.40s; }
.slide.active .slide-content > *:nth-child(3){ transition-delay:.55s; }
.slide.active .slide-content > *:nth-child(4){ transition-delay:.70s; }
.slide-dot { transition: all .3s ease; }
.slide-dot.active { width: 28px; background: #C9A961; }
@media (max-width: 767px) {
  .slide .slide-content > * { transform: translateY(14px); }
  .slide-title { font-size: 2.5rem; line-height: 1.14; }
}
@media (min-width: 640px) and (max-width: 767px) { .slide-title { font-size: 3rem; line-height: 1.1; } }

.aspect-\[3\/4\], [class*="aspect-[3/4]"] { aspect-ratio: 3 / 4; position: relative; width: 100%; display: block; }
.aspect-\[4\/5\], [class*="aspect-[4/5]"] { aspect-ratio: 4 / 5; position: relative; width: 100%; display: block; }
.aspect-square, [class*="aspect-square"] { aspect-ratio: 1 / 1; position: relative; width: 100%; display: block; }
.product-card { display: block; position: relative; }
.product-card .product-img-1, .product-card .product-img-2 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reveal { opacity: 1 !important; transform: none !important; }

.wa-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.wa-bubble {
  background: rgba(42, 31, 36, 0.94);
  backdrop-filter: blur(8px);
  color: #FAF6F1;
  padding: 10px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(201, 169, 97, 0.5);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: waBubbleBreath 3.5s ease-in-out infinite;
}
.wa-bubble:hover {
  transform: translateY(-2px);
  border-color: #C9A961;
  background: #2A1F24;
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.3);
}
@keyframes waBubbleBreath {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.wa-float {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  background: #25D366;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  animation: waBlinkGlow 2s ease-in-out infinite;
  transition: transform 0.25s ease;
}
.wa-float:hover {
  transform: scale(1.1);
}

/* Ana Yanıp Sönme & Işıma Animasyonu */
@keyframes waBlinkGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8), 0 8px 24px rgba(37, 211, 102, 0.45);
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 28px 8px rgba(37, 211, 102, 0.75), 0 12px 32px rgba(37, 211, 102, 0.6);
    transform: scale(1.07);
    filter: brightness(1.15);
  }
}

/* Çift Katmanlı Dışa Yayılan Radar Halka & Yeşil Işık Dalgası */
.wa-pulse, .wa-pulse-1, .wa-pulse-2 {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.55) 0%, rgba(37, 211, 102, 0.2) 65%, rgba(37, 211, 102, 0) 100%);
  border: 2px solid rgba(37, 211, 102, 0.85);
  opacity: 0.85;
  pointer-events: none;
  animation: waRadarWave 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.wa-pulse-2 {
  animation-delay: 1.1s;
}
@keyframes waRadarWave {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  60% {
    opacity: 0.45;
  }
  100% {
    transform: scale(2.15);
    opacity: 0;
  }
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .75; }
  80%, 100% { transform: scale(2.15); opacity: 0; }
}

/* Yanıp Sönen Canlı Çevrimiçi Bildirim Rozeti */
.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: #E53E3E;
  color: #FAF6F1;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FAF6F1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 2;
  animation: waBadgePulse 1.6s ease-in-out infinite;
}
@keyframes waBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}

.wa-float svg {
  position: relative;
  z-index: 1;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.load-more-btn { position: relative; overflow: hidden; }
.load-more-btn::after { content:""; position:absolute; inset:0; background: linear-gradient(120deg, transparent 30%, rgba(107,31,58,.08) 50%, transparent 70%); transform: translateX(-100%); transition: transform .6s ease; }
.load-more-btn:hover::after { transform: translateX(100%); }

.lang-pill { transition: border-color .25s ease, color .25s ease, background-color .25s ease, transform .15s ease; }
.lang-pill:active { transform: scale(.94); }

/* Lüks Simetrik Navigasyon Stilleri */
.nav-link-luxury {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: #2A1F24;
  padding: 6px 0;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.nav-link-luxury::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: #C5A880;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}
.nav-link-luxury:hover {
  color: #6B1F3A;
}
.nav-link-luxury:hover::after {
  width: 100%;
}

