/* =============================================
   SOUND HEALING HUB — Theme Stylesheet
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background-color: #f8f4ee;
  color: #1a1a2e;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
.font-display { font-family: 'Cormorant Garamond', Georgia, serif; }

/* --- Gold gradient text --- */
.text-gold-gradient {
  background: linear-gradient(135deg, #d4af77 0%, #f0d9a8 50%, #b8934f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Navbar glass effect --- */
.navbar-glass {
  background: rgba(10, 37, 64, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 119, 0.15);
}

/* --- Section reveal on scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Decorative divider --- */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #d4af77, transparent);
}

/* --- Hero overlay --- */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(6,24,40,0.82) 0%,
    rgba(10,37,64,0.5) 50%,
    rgba(6,24,40,0.90) 100%
  );
}

/* --- Sound wave animation --- */
.wave-bar {
  width: 2.5px;
  border-radius: 3px;
  background: linear-gradient(to top, #d4af77, #f0d9a8);
  animation: wave 1.4s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50%       { transform: scaleY(1); }
}

/* --- Service card --- */
.service-card {
  border: 1px solid rgba(212, 175, 119, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    border-color: rgba(212, 175, 119, 0.55);
  }
}
@media (max-width: 639px) {
  .service-card:active {
    border-color: rgba(212, 175, 119, 0.5);
    background: rgba(255,255,255,0.09);
  }
}

/* --- Benefit icon ring --- */
.icon-ring {
  background: linear-gradient(135deg, rgba(212,175,119,0.15), rgba(212,175,119,0.05));
  border: 1px solid rgba(212, 175, 119, 0.3);
  transition: background 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

/* --- Testimonial card --- */
.testimonial-card {
  border: 1px solid rgba(212, 175, 119, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 8rem;
  color: rgba(212, 175, 119, 0.10);
  line-height: 1;
  pointer-events: none;
}
@media (hover: hover) {
  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.10);
    border-color: rgba(212, 175, 119, 0.38);
  }
}

/* --- CTA button (gold) --- */
.btn-gold {
  background: linear-gradient(135deg, #d4af77 0%, #c49a5a 100%);
  color: #0a2540;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  text-decoration: none;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212,175,119,0.45);
  filter: brightness(1.08);
  color: #0a2540;
  text-decoration: none;
}

/* --- CTA button (outline) --- */
.btn-outline {
  border: 2px solid #d4af77;
  color: #d4af77;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  text-decoration: none;
}
.btn-outline:hover {
  background: #d4af77;
  color: #0a2540;
  transform: translateY(-2px);
  text-decoration: none;
}

/* --- Contact form inputs --- */
.form-input {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(10,37,64,0.15);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px !important;
}
.form-input:focus {
  outline: none;
  border-color: #d4af77;
  box-shadow: 0 0 0 3px rgba(212,175,119,0.15);
}

/* --- Mobile menu --- */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
}
#mobile-menu.open { max-height: 480px; }

.mobile-link {
  border-radius: 8px;
  padding-left: 8px;
  padding-right: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-link:active {
  background: rgba(212,175,119,0.1);
  color: #d4af77;
}

/* --- Gradient orbs --- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

/* --- Stars --- */
.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; }
  50%       { opacity: 0.85; }
}

/* --- Section background textures --- */
.bg-navy-texture {
  background: linear-gradient(135deg, #0a2540 0%, #0f3460 50%, #0a2540 100%);
  position: relative;
  overflow: hidden;
}
.bg-navy-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af77' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* --- Timeline step icon --- */
.step-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(212,175,119,0.1);
  border: 2px solid rgba(212,175,119,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 0.3s;
}
@media (max-width: 1023px) {
  .step-icon { width: 56px; height: 56px; }
  .step-icon i { font-size: 1.25rem !important; }
}

/* --- Stat number mobile --- */
@media (max-width: 639px) {
  .stat-number { font-size: 2.5rem !important; }
}

/* --- Gallery tabs --- */
.gallery-tab {
  background: rgba(212,175,119,0.08);
  border: 1px solid rgba(212,175,119,0.25);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}
.gallery-tab:hover {
  border-color: rgba(212,175,119,0.5);
  color: #d4af77;
}
.gallery-tab.active-tab {
  background: linear-gradient(135deg, #d4af77 0%, #c49a5a 100%);
  border-color: transparent;
  color: #0a2540;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f8f4ee; }
::-webkit-scrollbar-thumb { background: #d4af77; border-radius: 3px; }

/* --- Mobile safe area --- */
.mobile-safe-bottom { padding-bottom: env(safe-area-inset-bottom, 0); }

/* --- Floating WhatsApp button --- */
#whatsapp-float { display: none; }
@media (max-width: 1023px) {
  #whatsapp-float {
    display: flex;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 100;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  #whatsapp-float:active { transform: scale(0.96); }
}

/* --- WP admin bar offset --- */
body.admin-bar #navbar { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar #navbar { top: 46px; }
}

/* --- Tailwind utility helpers (subset) --- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.italic { font-style: italic; }

/* ── Nav desktop visibility fallback ── */
@media (min-width: 1024px) {
  #desktop-nav  { display: flex !important; }
  #hamburger    { display: none !important; }
  #mobile-menu  { display: none !important; }
}
@media (max-width: 1023px) {
  #desktop-nav  { display: none !important; }
  #hamburger    { display: flex !important; }
}
