/**
 * =============================================================================
 * HEAL WITH SRAVYA — HERO SECTION (EDITORIAL PHOTOGRAPHIC MASTERPIECE)
 * Developer: Damerax Cloud Solutions (https://damerax.com/)
 * =============================================================================
 */

.hero-section {
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

/* Subtle Organic Ambient Light (Soft Cream & Sage glow) */
.hero-ambient-glow {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  max-width: 650px;
  background: radial-gradient(circle, rgba(253, 230, 138, 0.22) 0%, rgba(220, 230, 220, 0.15) 50%, transparent 75%);
  filter: blur(45px);
  pointer-events-none;
  z-index: 0;
}

.hero-ambient-glow-right {
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  background: radial-gradient(circle, rgba(235, 203, 194, 0.25) 0%, rgba(250, 248, 245, 0) 70%);
  filter: blur(50px);
  pointer-events-none;
  z-index: 0;
}

/* Main Split Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
  }
}

@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
  }
}

/* Hero Content Column */
.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-kicker-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.hero-kicker {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-dot {
  color: var(--accent-amber);
  font-size: 1.1rem;
  line-height: 1;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  font-weight: 800;
  line-height: 1.14;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.hero-script-lead {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.hero-script-text {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  font-weight: 600;
  color: var(--accent-ochre);
}

.hero-script-line {
  height: 1.5px;
  width: 50px;
  background-color: var(--border-amber);
  display: inline-block;
}

.hero-description {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

/* Quick Meta Strip under CTA */
.hero-meta-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ochre);
  flex-shrink: 0;
}

/* =============================================================================
   HERO PHOTOGRAPHIC COMPOSITION (SRAVYA'S REAL PHOTOGRAPH DOMINATES)
   ============================================================================= */
.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-container {
  position: relative;
  border-radius: var(--radius-xl);
  background-color: var(--bg-surface);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  object-position: center 15%;
  border-radius: calc(var(--radius-xl) - 8px);
  display: block;
}

/* Floating Practitioner Badge */
.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-badge-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-badge-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-badge-tag {
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--accent-ochre);
  font-weight: 600;
}

/* Decorative Organic Accent behind frame */
.hero-photo-backdrop {
  position: absolute;
  inset: -14px;
  border-radius: calc(var(--radius-xl) + 12px);
  background: linear-gradient(135deg, rgba(253, 230, 138, 0.4) 0%, rgba(220, 230, 220, 0.5) 100%);
  z-index: -1;
  transform: rotate(-1.5deg);
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-photo-backdrop {
  transform: rotate(0.8deg);
}

/* MOBILE SPECIFIC HERO REFINEMENTS */
@media (max-width: 991px) {
  .hero-grid {
    display: flex;
    flex-direction: column-reverse; /* Portrait visible right away or content lead */
  }

  .hero-photo {
    aspect-ratio: 4 / 4.4;
    object-position: center 10%;
  }

  .hero-title {
    font-size: 2.25rem;
  }
}

/* =============================================================================
   HERO PREMIUM ENHANCEMENTS
   ============================================================================= */

/* Animated multi-layer ambient shimmer on backdrop */
@keyframes backdropShimmer {
  0%   { background: linear-gradient(135deg, rgba(253,230,138,0.42) 0%, rgba(220,230,220,0.52) 100%); }
  33%  { background: linear-gradient(160deg, rgba(235,203,194,0.38) 0%, rgba(253,230,138,0.48) 100%); }
  66%  { background: linear-gradient(115deg, rgba(220,230,220,0.45) 0%, rgba(235,203,194,0.40) 100%); }
  100% { background: linear-gradient(135deg, rgba(253,230,138,0.42) 0%, rgba(220,230,220,0.52) 100%); }
}

.hero-photo-backdrop {
  animation: backdropShimmer 9s ease-in-out infinite;
}

/* Kicker word pulse dot */
.hero-dot {
  display: inline-block;
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

/* Handwritten script shimmer on hover */
.hero-script-text {
  position: relative;
  display: inline-block;
  transition: color var(--transition-smooth);
}

.hero-script-text::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-amber), var(--accent-ochre));
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.hero-content:hover .hero-script-text::after {
  width: 100%;
}

/* Meta strip icon pulse */
.hero-meta-icon {
  animation: iconBreath 3.5s ease-in-out infinite;
}

@keyframes iconBreath {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

/* Hero image container — premium inner glow on hover */
.hero-image-container {
  transition: box-shadow var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-image-container {
  box-shadow: 0 0 0 1px var(--border-amber), 0 24px 64px -12px rgba(232,169,56,0.20);
}

/* Floating badge subtle pulse */
.hero-floating-badge {
  animation: badgeFloat 4s ease-in-out infinite;
}

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

/* Highlight brush style inline emphasis */
.highlight-brush {
  position: relative;
  display: inline;
}

.highlight-brush::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -3px;
  right: -3px;
  height: 12px;
  background: linear-gradient(90deg, rgba(253,230,138,0.7) 0%, rgba(232,169,56,0.5) 100%);
  transform: skewX(-3deg);
  z-index: -1;
  border-radius: 3px;
}
