/**
 * SAM ANGELO PHOTOGRAPHY & FILMS
 * Cinematic Hero & Opening Sequence (Points 10–15)
 */

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--canvas);
  color: var(--ink);
}

/* Hero Background Image Container */
.hero-media-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  transition: transform 1.8s var(--ease-editorial);
  will-change: transform;
}

.hero-section.revealed .hero-image {
  transform: scale(1.00);
}

/* Cinematic Subtle Dark Vignette Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(247, 244, 238, 0.4) 0%,
    rgba(247, 244, 238, 0.1) 40%,
    rgba(29, 32, 32, 0.15) 70%,
    rgba(29, 32, 32, 0.55) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   Curtain Panels (Points 10–11)
   ========================================================================== */
.hero-curtain-left,
.hero-curtain-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background-color: var(--canvas);
  z-index: 20;
  transition: transform 1.5s var(--ease-editorial);
  will-change: transform;
}

.hero-curtain-left {
  left: 0;
  border-right: 1px solid var(--line);
}

.hero-curtain-right {
  right: 0;
  border-left: 1px solid var(--line);
}

.hero-section.revealed .hero-curtain-left {
  transform: translateX(-100%);
}

.hero-section.revealed .hero-curtain-right {
  transform: translateX(100%);
}

/* Initial Curtain Brand Overlay */
.curtain-brand-intro {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 25;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.6s ease, transform 0.8s var(--ease-editorial);
  pointer-events: none;
}

.hero-section.revealed .curtain-brand-intro {
  opacity: 0;
  transform: translate(-50%, -60%);
}

/* ==========================================================================
   Hero Content & Typography (Point 12)
   ========================================================================== */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--max-width);
  padding: 0 var(--gutter);
  margin-top: clamp(2rem, 5vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--surface-soft);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-editorial) 0.5s,
              transform 1s var(--ease-editorial) 0.5s;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background-color: var(--accent-warm);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 960px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s var(--ease-editorial) 0.7s,
              transform 1.2s var(--ease-editorial) 0.7s;
}

.hero-title em {
  font-style: italic;
  font-family: var(--font-display);
  color: #EBD5B3;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--surface);
  margin-bottom: 1.5rem;
  max-width: 680px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s var(--ease-editorial) 0.9s,
              transform 1.2s var(--ease-editorial) 0.9s;
}

.hero-description {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  color: var(--surface-soft);
  max-width: 620px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s var(--ease-editorial) 1.1s,
              transform 1.2s var(--ease-editorial) 1.1s;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s var(--ease-editorial) 1.3s,
              transform 1.2s var(--ease-editorial) 1.3s;
}

.hero-section.revealed .hero-eyebrow,
.hero-section.revealed .hero-title,
.hero-section.revealed .hero-subtitle,
.hero-section.revealed .hero-description,
.hero-section.revealed .hero-cta-group {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Hero Visual Metadata Details (Point 13)
   ========================================================================== */
.hero-metadata-bar {
  position: absolute;
  bottom: 2rem;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 10;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.65);
  border-top: 1px solid rgba(247, 244, 238, 0.15);
  padding-top: 1rem;
}

.hero-meta-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-meta-value {
  color: var(--white);
  font-weight: 500;
}

/* Pointer Focus Light Indicator (Desktop Only - Point 15) */
.hero-pointer-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 213, 179, 0.15) 0%, rgba(235, 213, 179, 0) 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero-pointer-glow {
    opacity: 1;
  }
}
