/* ============================================
   Cheri Maracle — Modern Single-Page Site
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg-dark: #1a1a1a;
  --bg-darker: #111111;
  --bg-card: #222222;
  --gold: #C9A96E;
  --gold-light: #d4b97e;
  --cream: #F5F0E8;
  --cream-dim: #b8b1a6;
  --white: #ffffff;
  --nav-height: 70px;
  --section-padding: 5rem 1.5rem;
  --max-width: 1100px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--bg-dark);
  color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.nav__wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__links a {
  color: var(--cream);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: 0.25rem 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__links a:hover {
  color: var(--gold);
}

.nav__links a:hover::after {
  width: 100%;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: var(--transition);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.45);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.3) 0%,
    rgba(17, 17, 17, 0.1) 40%,
    rgba(17, 17, 17, 0.6) 80%,
    rgba(26, 26, 26, 1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.hero__name {
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 300;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--cream-dim);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.hero__scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1px solid var(--cream-dim);
  border-bottom: 1px solid var(--cream-dim);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Section Shared --- */
.section {
  padding: var(--section-padding);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section__rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin-bottom: 2rem;
}

.section--alt {
  background: var(--bg-darker);
}

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- About --- */
.about__text {
  font-size: 1.1rem;
  max-width: 750px;
  margin-bottom: 2rem;
}

.about__quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  max-width: 600px;
}

.about__quote cite {
  display: block;
  font-style: normal;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--cream-dim);
  margin-top: 0.5rem;
}

/* --- Acting --- */
.acting__bio {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 800px;
}

.acting__bio p {
  margin-bottom: 1rem;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.credit-item {
  background: var(--bg-card);
  padding: 1.25rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}

.credit-item__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.credit-item__detail {
  font-size: 0.9rem;
  color: var(--cream-dim);
}

.headshots-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.headshots-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  transition: transform var(--transition), filter var(--transition);
  cursor: pointer;
}

.headshots-gallery img:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.acting__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 4px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}

.btn:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* --- Music --- */
.music__bio {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 800px;
}

.music__bio p {
  margin-bottom: 1rem;
}

.audio-players {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.audio-card {
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.audio-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.audio-card audio {
  width: 100%;
  height: 40px;
  filter: sepia(20%) saturate(70%) brightness(0.8);
}

.music__albums h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.album-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.album-list li {
  font-size: 1rem;
}

.album-list li span {
  color: var(--cream-dim);
  font-size: 0.9rem;
}

/* --- Shows --- */
.shows-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
}

.show-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 3px solid var(--gold);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.show-card__date {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold);
  white-space: nowrap;
  min-width: 100px;
}

.show-card__info h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.show-card__info p {
  font-size: 0.9rem;
  color: var(--cream-dim);
}

/* --- Contact --- */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 800px;
}

.contact-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 6px;
  border-top: 3px solid var(--gold);
}

.contact-card h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.contact-card p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-card .label {
  color: var(--cream-dim);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  font-size: 0.85rem;
  color: var(--cream-dim);
}

/* ============================================
   Responsive
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
  :root {
    --section-padding: 3.5rem 1.25rem;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    width: 250px;
    height: calc(100vh - var(--nav-height));
    background: rgba(17, 17, 17, 0.97);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__hamburger {
    display: flex;
  }

  .headshots-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .show-card {
    flex-direction: column;
    gap: 0.5rem;
  }

  .show-card__date {
    min-width: unset;
  }

  .credits-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --nav-height: 60px;
    --section-padding: 2.5rem 1rem;
  }

  .nav {
    padding: 0 1rem;
  }

  .nav__wordmark {
    font-size: 1.2rem;
  }

  .headshots-gallery {
    grid-template-columns: 1fr;
  }

  .hero__name {
    letter-spacing: 0.04em;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .acting__links {
    flex-direction: column;
  }
}
