/* ============================================================
   M.B.R AESTHETICS - RÜYALAR ALEMİ HERO SECTION
   Ultra Göz Alıcı - Işıltılı - Büyüleyici
   ============================================================ */

/* ---- GENEL ARKA PLAN ---- */
body {
  background: #04040c !important;
  overflow-x: hidden;
}

/* ---- CANVAS (TOZ ANİMASYONU) ---- */
#dust-canvas {
  display: none !important;
}

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(
    ellipse 120% 100% at 50% 60%,
    rgba(212, 175, 55, 0.12) 0%,
    rgba(90, 143, 214, 0.08) 40%,
    rgba(4, 4, 12, 0.0) 70%
  ), #04040c;
  z-index: 1;
}

/* Hareketli arka plan ışık efekti */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212, 175, 55, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(90, 143, 214, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(212, 175, 55, 0.22) 0%, transparent 50%);
  animation: heroBackgroundPulse 6s ease-in-out infinite alternate;
  z-index: 0;
}

/* Üst ışık hüzmesi */
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 200%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(212, 175, 55, 0.0) 20%,
    rgba(212, 175, 55, 0.4) 50%,
    rgba(212, 175, 55, 0.0) 80%,
    transparent 100%
  );
  animation: lightBeam 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes heroBackgroundPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  50%  { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0.7; transform: scale(1.02); }
}

@keyframes lightBeam {
  0%, 100% { opacity: 0; transform: translateX(-50%) scaleX(1); }
  30%       { opacity: 1; transform: translateX(-50%) scaleX(3); }
  60%       { opacity: 0.6; transform: translateX(-50%) scaleX(1.5); }
}

/* ---- HERO İÇERİK ---- */
.hero-content {
  position: relative;
  z-index: 10;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* ---- LOGO / BAŞLIK ---- */
.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  background: rgba(212, 175, 55, 0.06);
  backdrop-filter: blur(10px);
  animation: badgePulse 3s ease-in-out infinite;
  box-shadow:
    0 0 20px rgba(212, 175, 55, 0.3),
    inset 0 0 20px rgba(212, 175, 55, 0.05);
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.05); }
  50%       { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6), inset 0 0 30px rgba(212, 175, 55, 0.1); }
}

/* ---- ANA BAŞLIK ---- */
.hero h1,
.hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  margin-bottom: 1.5rem !important;
  color: #f5f5f5 !important;
  text-shadow:
    0 0 40px rgba(212, 175, 55, 0.5),
    0 0 80px rgba(212, 175, 55, 0.2),
    0 2px 4px rgba(0,0,0,0.8) !important;
  animation: titleGlow 4s ease-in-out infinite alternate !important;
  letter-spacing: -0.02em !important;
}

/* Altın renkli vurgular */
.hero h1 em,
.hero-title em,
.hero h1 .gold,
.gold-text {
  font-style: italic !important;
  background: linear-gradient(
    135deg,
    #ffe066 0%,
    #ffd700 25%,
    #d4af37 50%,
    #ffc200 75%,
    #ffe066 100%
  ) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: goldShimmer 3s linear infinite !important;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8)) !important;
}

@keyframes titleGlow {
  0%   { text-shadow: 0 0 40px rgba(212,175,55,0.4), 0 0 80px rgba(212,175,55,0.15), 0 2px 4px rgba(0,0,0,0.8); }
  100% { text-shadow: 0 0 60px rgba(212,175,55,0.7), 0 0 120px rgba(212,175,55,0.3), 0 2px 4px rgba(0,0,0,0.8); }
}

@keyframes goldShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ---- ALT YAZI ---- */
.hero p,
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem) !important;
  color: rgba(245, 245, 245, 0.75) !important;
  max-width: 600px !important;
  margin: 0 auto 2.5rem !important;
  line-height: 1.8 !important;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2) !important;
  animation: subtitleFade 2s ease-out forwards !important;
}

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

/* ---- BUTON ---- */
.hero .btn,
.hero a.btn,
.hero-btn,
.btn-gold {
  display: inline-block !important;
  padding: 1rem 2.8rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: #04040c !important;
  background: linear-gradient(135deg, #ffe066 0%, #ffd700 40%, #d4af37 70%, #ffc200 100%) !important;
  background-size: 200% auto !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  animation: btnShimmer 3s linear infinite, btnFloat 4s ease-in-out infinite !important;
  box-shadow:
    0 0 30px rgba(212, 175, 55, 0.6),
    0 0 60px rgba(212, 175, 55, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.hero .btn::before,
.hero a.btn::before,
.hero-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: skewX(-20deg);
  animation: btnSweep 2.5s ease-in-out infinite;
}

.hero .btn:hover,
.hero a.btn:hover,
.hero-btn:hover {
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow:
    0 0 50px rgba(212, 175, 55, 0.9),
    0 0 100px rgba(212, 175, 55, 0.5),
    0 12px 40px rgba(0, 0, 0, 0.5) !important;
}

@keyframes btnShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes btnFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes btnSweep {
  0%   { left: -100%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}

/* ---- KAMPANYA BANNER ---- */
.campaign-banner,
.promo-banner {
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.08) 0%,
    rgba(212, 175, 55, 0.18) 50%,
    rgba(212, 175, 55, 0.08) 100%
  ) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.5rem !important;
  margin-bottom: 2rem !important;
  backdrop-filter: blur(10px) !important;
  animation: bannerPulse 3s ease-in-out infinite !important;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2) !important;
}

@keyframes bannerPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.2); border-color: rgba(212, 175, 55, 0.35); }
  50%       { box-shadow: 0 0 50px rgba(212, 175, 55, 0.4); border-color: rgba(212, 175, 55, 0.6); }
}

/* ---- NAVİGASYON ---- */
nav, .navbar, header nav {
  background: rgba(4, 4, 12, 0.7) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
  box-shadow: 0 2px 30px rgba(212, 175, 55, 0.1) !important;
  position: relative;
  z-index: 100;
}

/* ---- HİZMET KARTLARI ---- */
.service-card,
.treatment-card,
.card {
  background: rgba(10, 10, 20, 0.8) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  position: relative;
  overflow: hidden;
}

.service-card::before,
.treatment-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.05) 0%,
    transparent 50%,
    rgba(90, 143, 214, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover,
.treatment-card:hover {
  transform: translateY(-12px) scale(1.02) !important;
  border-color: rgba(212, 175, 55, 0.6) !important;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(212, 175, 55, 0.3),
    inset 0 0 30px rgba(212, 175, 55, 0.05) !important;
}

.service-card:hover::before,
.treatment-card:hover::before {
  opacity: 1;
}

/* ---- KATEGORİ KARTLARI ---- */
.category-card {
  border: 1px solid rgba(212, 175, 55, 0.25) !important;
  background: rgba(10, 10, 20, 0.85) !important;
  border-radius: 12px !important;
  transition: all 0.4s ease !important;
  animation: categoryFloat 4s ease-in-out infinite !important;
}

.category-card:nth-child(2) { animation-delay: 0.5s !important; }
.category-card:nth-child(3) { animation-delay: 1s !important; }
.category-card:nth-child(4) { animation-delay: 1.5s !important; }

@keyframes categoryFloat {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 20px rgba(212, 175, 55, 0.15); }
  50%       { transform: translateY(-8px); box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3); }
}

.category-card:hover {
  border-color: rgba(212, 175, 55, 0.7) !important;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.4) !important;
  transform: translateY(-10px) scale(1.03) !important;
}

/* ---- İSTATİSTİK SAYAÇLARI ---- */
.stat-number,
.stats-number,
.counter {
  background: linear-gradient(135deg, #ffe066, #ffd700, #d4af37) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-size: 3rem !important;
  font-weight: 900 !important;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6)) !important;
  animation: statPulse 2.5s ease-in-out infinite !important;
}

@keyframes statPulse {
  0%, 100% { filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5)); }
  50%       { filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.9)); }
}

/* ---- FOOTER ---- */
footer {
  background: rgba(4, 4, 12, 0.95) !important;
  border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
  position: relative;
  z-index: 10;
}

/* ---- GENEL PARLAMA EFEKTİ ---- */
.glow-gold {
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5) !important;
}

/* ---- SCROLL ANIMASYONU ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero h1,
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem) !important;
  }

  .hero .btn,
  .hero-btn {
    padding: 0.85rem 2rem !important;
    font-size: 0.9rem !important;
  }
}
