/*
Theme Name: Anita Lyons Theme
Theme URI: https://anitalyons.com
Author: Tamagna Design Studio
Author URI: https://www.tamagnadesign.studio
Description: Custom single-page portfolio theme for American dramatic soprano Anita Lyons. Dark cinematic design with gold accents, tabbed content sections, and performance schedule integration.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anita-theme
*/


/* ═══════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════ */

:root {
  --text-light: #f5f3f0;
  --text-muted: rgba(245, 243, 240, 0.6);
  --text-warm: #e8d5c4;
  --overlay-dark: rgba(12, 8, 6, 0.55);
  --overlay-gradient: linear-gradient(135deg, rgba(12, 8, 6, 0.7) 0%, rgba(20, 15, 12, 0.5) 50%, rgba(30, 20, 15, 0.6) 100%);
  --panel-bg: rgba(15, 10, 8, 0.75);
  --panel-border: rgba(245, 243, 240, 0.08);
  --accent-gold: #c9a86c;
  --accent-rose: #b8847c;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Josefin Sans', 'Helvetica Neue', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}


/* ═══════════════════════════════════════
   BASE RESET
   ═══════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #1a1512;
  overflow-x: hidden;
  min-height: 100vh;
}


/* ═══════════════════════════════════════
   SCROLLBAR & SELECTION
   ═══════════════════════════════════════ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 108, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 108, 0.5);
}

::selection {
  background: rgba(201, 168, 108, 0.3);
  color: var(--text-light);
}


/* ═══════════════════════════════════════
   HERO SECTION & BACKGROUND LAYERS
   ═══════════════════════════════════════ */

.hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  color: var(--text-light);
}

.hero::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: 65% center;
  background-repeat: no-repeat;
  filter: saturate(0.85) contrast(1.05);
  z-index: -2;
}

.hero::after {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--overlay-gradient);
  pointer-events: none;
  z-index: -1;
}


/* ═══════════════════════════════════════
   GRAIN TEXTURE OVERLAY
   ═══════════════════════════════════════ */

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 1000;
}


/* ═══════════════════════════════════════
   LEFT COLUMN CONTAINER
   ═══════════════════════════════════════ */

.column-left {
  position: relative;
  z-index: 10;
  width: 48%;
  min-width: 480px;
  max-width: 680px;
  padding: 4rem 4rem 5rem;
  display: flex;
  flex-direction: column;
}


/* ═══════════════════════════════════════
   LOGO
   ═══════════════════════════════════════ */

.logo {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out-expo) 0.2s forwards;
}

.logo img {
  width: 22rem;
  max-width: 100%;
  height: auto;
  filter: brightness(1.05);
}


/* ═══════════════════════════════════════
   NAVIGATION MENU
   ═══════════════════════════════════════ */

.menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem 1.6rem;
  margin: 0 0 2.5rem 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.4s forwards;
}

.menu a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.4s ease;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out-expo);
}

.menu a:hover {
  color: var(--text-light);
}

.menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu a.active {
  color: var(--text-light);
}

.menu a.active::after {
  transform: scaleX(1);
  background: var(--text-light);
}


/* ═══════════════════════════════════════
   CONTENT PANELS
   ═══════════════════════════════════════ */

.panel {
  position: relative;
  background: var(--panel-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: 2px;
  padding: 2.5rem 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.6s forwards;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  isolation: isolate;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
  opacity: 0.3;
}


/* ═══════════════════════════════════════
   SECTIONS (CROSSFADE SYSTEM)
   ═══════════════════════════════════════ */

.sections-wrapper {
  position: relative;
  flex: 1;
  isolation: isolate;
}

/* Hold explicit height during crossfade so wrapper doesn't collapse */
.sections-wrapper.transitioning {
  overflow: hidden;
}

/* Base: hidden, absolute, no transition — snaps instantly to hidden */
.section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Active (resting state): relative so it sizes the wrapper */
.section.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Leaving: absolute on top, fades out */
.section.leaving {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition: opacity 0.4s ease-in;
}

/* Entering: absolute underneath, invisible, no transition yet */
.section.entering {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition: none;
}

/* Entering + active: stays absolute, fades in */
.section.entering.active {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--ease-out-quart);
}


/* ═══════════════════════════════════════
   BIO / ABOUT SECTION
   ═══════════════════════════════════════ */

.bio p {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-light);
  margin: 0 0 1.75rem 0;
  letter-spacing: 0.01em;
}

.bio p:last-child {
  margin-bottom: 0;
}

.bio em {
  font-style: italic;
  color: var(--text-warm);
}

.bio p:first-child::first-letter {
  font-size: 10.5rem;
  font-weight: 600;
  float: left;
  line-height: 0.85;
  margin-right: 0.12em;
  margin-top: 0.05em;
  color: var(--accent-gold);
}


/* ═══════════════════════════════════════
   PRESS SECTION
   ═══════════════════════════════════════ */

.press {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.press-container {
  position: relative;
  width: 100%;
  min-height: 160px;
}

.press-quote {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.2s var(--ease-out-quart), transform 1.2s var(--ease-out-quart);
}

.press-quote.active {
  opacity: 1;
  transform: translateY(0);
}

.press-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0 0 1.25rem 0;
  text-align: center;
}

.press-quote blockquote::before {
  content: '\201C';
  display: block;
  font-size: 3rem;
  font-style: normal;
  color: var(--accent-gold);
  opacity: 0.5;
  line-height: 0.5;
  margin-bottom: 0.5rem;
}

.press-quote .source {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.press-quote .source em {
  font-style: normal;
  color: var(--accent-rose);
}

.press-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.press-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.4s ease;
}

.press-dot:hover {
  opacity: 0.6;
}

.press-dot.active {
  opacity: 1;
  background: var(--accent-gold);
  transform: scale(1.2);
}


/* ═══════════════════════════════════════
   SCHEDULE SECTION
   ═══════════════════════════════════════ */

.audio-panel h3,
.video-panel h3,
.schedule-panel h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin: 0 0 2rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--panel-border);
  position: relative;
}

.audio-panel h3::after,
.video-panel h3::after,
.schedule-panel h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
}

.schedule-panel {
  min-height: 200px;
}

.event-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--panel-border);
  position: relative;
}

.event-item:first-child {
  padding-top: 0;
}

.event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-gold) 0%, transparent 100%);
  opacity: 0.3;
}

.event-type {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(201, 168, 108, 0.3);
  border-radius: 2px;
}

.event-role {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.event-role em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-warm);
}

.event-company {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent-rose);
  margin-bottom: 1.25rem;
}

.event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.event-details .detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.event-details .detail-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 243, 240, 0.4);
}

.event-details .detail-value {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

.event-link {
  margin-top: 1.5rem;
}

.event-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent-gold);
  border-radius: 2px;
  transition: all 0.4s var(--ease-out-expo);
}

.event-link a::after {
  content: '\2192';
  transition: transform 0.4s var(--ease-out-expo);
}

.event-link a:hover {
  background: var(--accent-gold);
  color: #1a1512;
}

.event-link a:hover::after {
  transform: translateX(4px);
}

.no-events {
  text-align: center;
  padding: 3rem 0;
}

.no-events p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 0 0 0.5rem 0;
}

.no-events .check-back {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  opacity: 0.6;
}


/* ═══════════════════════════════════════
   AUDIO SECTION
   ═══════════════════════════════════════ */

.track {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--panel-border);
}

.track:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.track-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.track-title em {
  font-style: italic;
  color: var(--text-warm);
}

.track audio {
  width: 100%;
  height: 44px;
  border-radius: 4px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.track audio::-webkit-media-controls-panel {
  background: rgba(201, 168, 108, 0.15);
  border-radius: 4px;
}

.track audio::-webkit-media-controls-play-button {
  background-color: var(--accent-gold);
  border-radius: 50%;
  transform: scale(1.3);
}

.track audio::-webkit-media-controls-current-time-display,
.track audio::-webkit-media-controls-time-remaining-display {
  color: var(--text-light);
}

.track audio::-webkit-media-controls-timeline {
  background: rgba(245, 243, 240, 0.2);
  border-radius: 4px;
}

.track audio {
  background: rgba(201, 168, 108, 0.15);
  border: 1px solid rgba(201, 168, 108, 0.2);
}


/* ═══════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════ */

.video-panel {
  padding-bottom: 3rem;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  margin: 0 -1rem;
}

.video-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(201, 168, 108, 0.2);
  border-radius: 4px;
  pointer-events: none;
  z-index: 10;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* ═══════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════ */

.contact-content {
  text-align: center;
  padding: 1rem 0;
}

.contact-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.5rem 0;
}

.contact-email {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.contact-email a {
  position: relative;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.4s ease;
}

.contact-email a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-gold);
  transform: scaleX(0.3);
  transform-origin: center;
  transition: transform 0.5s var(--ease-out-expo);
}

.contact-email a:hover {
  color: var(--accent-gold);
}

.contact-email a:hover::after {
  transform: scaleX(1);
}


/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


/* ═══════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════ */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  left: -9999rem;
  top: 2.5rem;
  z-index: 999999999;
  text-decoration: underline;
}

.skip-link:focus {
  display: block;
  left: 6px;
  top: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: normal;
  padding: 15px 23px 14px;
  z-index: 100000;
  right: auto;
  background: #f7f7f7;
  color: #007acc;
}


/* ═══════════════════════════════════════
   RESPONSIVE — 1100px
   ═══════════════════════════════════════ */

@media (max-width: 1100px) {
  .column-left {
    width: 50%;
    min-width: 380px;
  }
}


/* ═══════════════════════════════════════
   RESPONSIVE — 900px (TABLET)
   ═══════════════════════════════════════ */

@media (max-width: 900px) {
  .hero {
    justify-content: center;
  }

  .hero::before {
    background-position: center center;
  }

  .column-left {
    width: 100%;
    min-width: auto;
    max-width: 540px;
    padding: 3rem 2rem 4rem;
  }

  .logo {
    text-align: center;
  }

  .logo img {
    width: 16rem;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.2rem;
  }

  .panel {
    padding: 2rem 2rem;
  }

  .bio p {
    font-size: 1.05rem;
  }

  .bio p:first-child::first-letter {
    font-size: 2.8rem;
  }

  .press-quote blockquote {
    font-size: 1.15rem;
  }
}


/* ═══════════════════════════════════════
   RESPONSIVE — 600px (MOBILE)
   ═══════════════════════════════════════ */

@media (max-width: 600px) {
  .event-role {
    font-size: 1.5rem;
  }

  .event-company {
    font-size: 1rem;
  }

  .event-details {
    flex-direction: column;
    gap: 1rem;
  }

  .event-item::before {
    display: none;
  }
}


/* ═══════════════════════════════════════
   RESPONSIVE — 500px (SMALL MOBILE)
   ═══════════════════════════════════════ */

@media (max-width: 500px) {
  .column-left {
    padding: 2.5rem 1.5rem 3rem;
  }

  .menu {
    gap: 0.4rem 1.2rem;
  }

  .menu a {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }

  .panel {
    padding: 1.75rem 1.5rem;
  }

  .bio p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .press {
    min-height: 180px;
  }

  .press-quote blockquote {
    font-size: 1.05rem;
  }
}


/* ═══════════════════════════════════════
   PAGE TEMPLATE (for non-front-page pages)
   ═══════════════════════════════════════ */

.anita-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  color: var(--text-light);
  min-height: 100vh;
}

.anita-page h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--text-light);
  margin: 0 0 2rem 0;
  letter-spacing: 0.02em;
}

.anita-page h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-light);
  margin: 2rem 0 1rem 0;
}

.anita-page p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 1.5rem 0;
}

.anita-page a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.anita-page a:hover {
  color: var(--text-light);
}
