﻿/* ===== Artistic Portfolio — polished, header matched to Business, tidy resume, 3–2 grid ===== */

/* ---------- Base ---------- */
:root {
  --bg-1: #0a0a0f;
  --bg-2: #2a0f46;
  --panel-1: #1a1a1f;
  --panel-2: #292933;
  --text-1: #f2f2f6;
  --text-2: #cfd0db;
  --accent-1: #9c27b0;
  --accent-2: #5c007a;
}

html, body { overflow-x: hidden; }

html {
  scroll-behavior: smooth;
}

body{
  font-family: 'Poppins', Arial, sans-serif;
  text-align: center;
  margin:0;
  color: var(--text-1);
  background:
    radial-gradient(900px 700px at 15% -10%, #32004733, transparent 70%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
}

/* Style for the header */
header {
    background: #333;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center; /* Vertically align items in the center */
    height: 100px; /* Adjust header height as necessary */
    position: relative;
}

    /* Style for the logo */
    header .logo {
        position: absolute; /* Position the logo on the left */
        left: 20px; /* Space from the left side */
    }

        header .logo img {
            width: 60px; /* Adjust the size of the logo */
            height: auto;
        }

    /* Style for the title and bridging message (Centered) */
    header div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-grow: 1; /* Allow this section to take up available space */
    }

    header h1 {
        margin: 0;
        font-size: 2em; /* Adjust font size for the heading */
    }

    header p {
        margin: 10px 0; /* Adds margin between the heading and the paragraph */
        font-size: 1.2em;
    }

/* Add responsiveness */
@media (max-width: 700px) {
    header {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px 0;
    }

    /* Center logo on mobile */
    header .logo {
        position: relative;
        display: block;
        margin-bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
    }

    header .logo img {
        width: 60px;
        height: auto;
    }

    /* Adjust title and paragraph section */
    header div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-grow: 1;
        width: 100%;
        padding: 0 20px; /* ✅ ADDED: horizontal padding to prevent edge hugging */
        box-sizing: border-box; /* ✅ ENSURES padding doesn't cause overflow */
    }

    header h1 {
        margin: 10px 0;
        font-size: 2em;
        max-width: 700px; /* ✅ OPTIONAL: prevents overly wide text on larger phones */
    }

    header p {
        margin: 5px 0;
        font-size: 1.2em;
        line-height: 1.4; /* ✅ ADDED: improves legibility */
        max-width: 700px; /* ✅ OPTIONAL: keep it visually balanced */
    }
}


/* Regular Navigation */
nav {
    display: flex;
    justify-content: center;
    background-color: #222;
    padding: 25px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 0px;
    position: relative;
}

.nav-toggle {
    display: none; /* Hidden unless mobile */
}

/* Wrapper for 'Menu' + hamburger */
.nav-toggle-wrapper {
    display: none; /* hidden on desktop */
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    margin: 0 20px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    background-color: transparent;
    border: 2px solid transparent;
}

.nav-links li a:hover {
    color: white;
    border-color: white;
}

@media screen and (max-width: 1100px) {
  nav {
    position: relative; /* required for absolute dropdown positioning */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    z-index: 10;
  }

  .nav-toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    z-index: 20; /* ensure it’s above the dropdown */
  }

  .menu-label {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: inline-block;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    top: 100%; /* directly below the nav */
    left: 0;
    width: 100%;
    background-color: #222;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-links.show {
    max-height: 400px;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li a {
    width: 100%;
    font-size: 1.1rem;
    padding: 8px 12px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
  }

  .nav-links li a:hover {
    border-color: white;
  }
}


/* ---------- FULL-BLEED Utility ---------- */
.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ---------- Hero (FULL-BLEED) ---------- */
.hero-banner{
  position: relative;
  overflow: hidden;
  height: 64vh;
  min-height: 440px;
  max-height: 780px;
  border-bottom: 1px solid #ffffff14;
  isolation: isolate;
}

.hero-image{
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/slideshow/spring_awakening_1.jpg'); /* your hero image */
  background-size: cover;
  background-position: center 35%;
  transform: translateZ(0) scale(1.04);
  filter: brightness(0.95) contrast(1.06);
}

.hero-banner::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.58));
}

.hero-overlay{
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
}

.hero-overlay h2{ font-size:clamp(28px,4.5vw,48px); margin:.2rem 0 .4rem; letter-spacing:.2px; }
.hero-overlay p{ color:var(--text-2); margin:0 auto 14px; max-width:720px; }
.overlay-cta{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:6px; }
.btn{ display:inline-block; padding:12px 18px; border-radius:12px; text-decoration:none; font-weight:700; border:1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn-primary{ background:linear-gradient(135deg, var(--accent-2), var(--accent-1)); color:#fff; }
.btn-ghost{ background:transparent; color:#fff; border-color:#ffffff44; }
.btn:hover{ transform:translateY(-2px); box-shadow: var(--elev); }

/* ---------- Section Shell (NOT full-bleed) ---------- */
section:not(.hero-banner):not(.edu-bar){
  padding:36px 24px;
  margin:28px auto;
  max-width:1100px;
  background: linear-gradient(135deg, var(--panel-1), var(--panel-2));
  border-radius:16px;
  border:1px solid #ffffff1a;
  box-shadow: var(--elev);
  position:relative;
  overflow:hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
section:not(.hero-banner):not(.edu-bar):hover{
  transform: translateY(-3px);
  box-shadow: var(--elev-lg);
}
section h2{ font-size:2rem; margin:0 0 10px; }
section p{ font-size:1.06rem; line-height:1.75; color:var(--text-2); margin:.5rem auto 0; max-width:900px; }

/* Utility: left-aligned lists inside centered blocks */
ul.left{ text-align:left; margin:.25rem auto 0; max-width:900px; padding-left:18px; }
ul.left li{ margin-bottom:6px; }
ul.compact li{ margin-bottom:4px; }

/* ---------- Résumé (tidy, thumbnail-like) ---------- */
.resume-block{ background: linear-gradient(135deg, #181820, #242432); }
.resume-layout{
  display:grid;
  /* slightly more balanced columns so the right side never overpowers */
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 1.1fr);
  gap:24px;
  align-items: start;     /* do NOT stretch to full height */
  margin-top:12px;
}
@media (max-width:900px){ .resume-layout{ grid-template-columns: 1fr; } }

.resume-stats{ display:flex; flex-direction:column; gap:16px; }
.stat-grid{ display:grid; grid-template-columns:1fr; gap:16px; }
.stat-card{
  background:#ffffff0b; border:1px solid #ffffff22; border-radius:14px; padding:14px; text-align:left;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.stat-card:hover{ transform: translateY(-3px); box-shadow: var(--elev-lg); background:#ffffff12; }
.stat-card h3{ margin:0 0 6px; font-size:1.05rem; }
.stat-card p, .stat-card li{ color:var(--text-2); }
.quick-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:4px; }

/* Preview panel behaves like a neat thumbnail next to the stats */
.resume-preview{
  margin:0;
  align-self: start;              /* sit at the top, same as the stat column */
  display:flex; align-items:center; justify-content:center;
  padding:10px; border-radius:12px; border:1px solid #ffffff22; box-shadow: var(--elev);
  background:#ffffff08;
  max-width: 100%;
}
.resume-preview img{
  width:auto; max-width:100%;
  height:auto;
  max-height: 320px;             /* <<< CAP so it visually matches the stats column */
  object-fit: contain;
  border:none; box-shadow:none; display:block;
}
.resume-preview figcaption{
  margin-top:8px; color:#cfcfe4; font-size:.95rem; text-align:center;
}

/* Mobile: stack columns; keep preview modest */
@media (max-width:900px){
  .resume-preview img{ max-height: 360px; }
}

/* ---------- FULL-BLEED Education, Training & Skills ---------- */
.edu-bar{
  background: linear-gradient(135deg, #1b1026, #2f0b4a);
  border-top:1px solid #ffffff14;
  border-bottom:1px solid #ffffff14;
  box-shadow: inset 0 0 32px rgba(255,255,255,.04);
}
.edu-inner{
  max-width:1100px; margin:0 auto; padding:24px; display:grid; gap:16px;
  grid-template-columns: repeat(3, 1fr);
}

/* Consistent left alignment for all h4s in education cards */
.edu-card h4 {
  text-align: left;
  margin: 12px 0 6px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-1);
  letter-spacing: 0.3px;
}



@media (max-width:980px){ .edu-inner{ grid-template-columns:1fr; } }
.edu-card{
  background:#ffffff0b; border:1px solid #ffffff24; border-radius:14px; padding:16px; text-align:center;
  transition: box-shadow .25s ease, transform .25s ease, background .25s ease;
}
.edu-card:hover{ transform: translateY(-3px); box-shadow: var(--elev-lg); background:#ffffff12; }
.edu-card h3{ margin:0 0 8px; font-size:1.15rem; }
.edu-card p{ margin:0; color:var(--text-2); }

/* ---------- Stage Life ---------- */
.stage-life{
  background: linear-gradient(135deg,#17171f,#262638);
}
.stage-head h2{ margin-bottom:6px; }
.stage-head p{ margin-top:4px; }

.subhead h3{ margin:0 0 8px; }
.divider{
  height:1px; margin:28px auto; background:#ffffff22; width:80%; max-width:900px;
}

/* More breathing room between subtitle and header */
.stage-head p {
  margin-bottom: 32px;
}
/* Credits grid — 3 / 2 / 1 */
.showcase-grid{
  display:grid; gap:16px; margin-top:8px;
  grid-template-columns: repeat(3, minmax(240px, 1fr));   /* desktop: 3 columns */
}
@media (max-width: 980px){
  .showcase-grid{ grid-template-columns: repeat(2, minmax(220px, 1fr)); } /* tablet: 2 columns */
}
@media (max-width: 620px){
  .showcase-grid{ grid-template-columns: 1fr; } /* mobile: 1 column */
}

.show-item{
  background:#0000003d; border:1px solid #ffffff22; border-radius:14px; overflow:hidden; text-align:center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.show-item:hover{ transform: translateY(-3px); box-shadow: var(--elev-lg); }
.show-item img{ width:100%; height:220px; object-fit:cover; filter:brightness(.96) contrast(1.08); display:block; }
.show-meta{ padding:14px; }
.show-meta h4{ margin:0 0 6px; font-size:1.1rem; }
.show-meta p{ margin:4px 0; color:var(--text-2); }
.watch-button{ display:inline-block; margin-top:6px; padding:6px 12px; border-radius:10px; background:#92000c; color:#fff; text-decoration:none; transition: transform .2s ease, box-shadow .2s ease; }
.watch-button:hover{ background:#d90016; transform: translateY(-1px); box-shadow: var(--elev); }

/* --- Accessible helper (optional) --- */
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Container styled to match your theme */
.photo-carousel {
  padding: 20px 16px;
  margin: 28px auto;
  max-width: 1100px;
  background: linear-gradient(135deg, #1a1a20, #2b0f47);
  border: 1px solid #ffffff1a;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
  text-align: center;
}

/* viewport */
.carousel {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #ffffff1a;
  isolation: isolate;         /* new stacking context */
}

/* track below arrows */
.carousel-track {
  position: relative;
  z-index: 1;                 /* <- ensures buttons can sit above */
  display: flex;
  transition: transform 500ms ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;         /* EXACTLY one viewport wide */
  width: 100%;
  min-width: 100%;
  box-sizing: border-box; /* belt & suspenders */
}

.photo-carousel .carousel-slide img {
  width: 100%;
  height: clamp(260px, 55vw, 520px);
  object-fit: cover; /* or contain if you prefer */
  object-position: center;
  display: block;
  border-radius: 10px;
}

/* Example: tweak framing for a specific slide (5th) */
.carousel-slide:nth-child(5) img { object-position: 50% 45%; }
.carousel-slide:nth-child(6) img { object-position: 50% 40%; }

/* arrows above everything inside .carousel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;                /* <- raise above track/images */
  pointer-events: auto;       /* <- ensure clicks land */
  cursor: pointer;
  border: none;
  border-radius: 50%;
  padding: 10px 14px;
  font-size: 26px;
  line-height: 1;
  color: #fff;
  background: rgba(255,255,255,.18);
  transition: background .2s ease, transform .2s ease;
}
.carousel-btn:hover { background: rgba(255,255,255,.32); transform: translateY(-50%) scale(1.05); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 2px;
}

.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ffffff66; border: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.carousel-dots button[aria-selected="true"] {
  background: #fff; transform: scale(1.1);
}

/* ---------- EP ---------- */
.album {
  background: linear-gradient(135deg, #0f0f14, #1b1b24);
}

.album-content {
  display: flex;
  flex-direction: column;
  gap: 20px; /* slightly increased for breathing room */
}

/* Centers the description block but keeps the text left-aligned */
.album-info {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

/* Adds more spacing between the description and cover/tracklist */
.album-details {
  display: flex;
  flex-wrap: wrap;
  gap: 28px; /* increased gap between image and tracklist */
  justify-content: center;
  align-items: flex-start;
  margin-top: 40px; /* more space between text and album row */
}

.album-art {
  width: 300px;
  height: auto;
  border-radius: 12px;
  border: 1px solid #ff5f6d;
  box-shadow: var(--elev);
  transition: transform 0.2s ease;
}

.album-art:hover {
  transform: translateY(-2px);
}

.album-tracklist h3 {
  margin: 0 0 6px;
}

.album .left {
  padding-left: 18px;
}

/* Tracklist (ordered numbering, left-aligned) */
.tracklist {
  list-style: decimal;
  padding-left: 1.5rem;
  text-align: left;
}

.tracklist li {
  margin-bottom: 4px;
  color: var(--text-2);
}

/* Motion safety */
@media (prefers-reduced-motion: reduce){
  * { transition: none !important; }
}

/* ===== On-load fade animations (match Business page vibe) ===== */
/* Keyframe Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Headings fade down */
main section:not(.hero-banner) h2,
main section:not(.hero-banner) h3,
main section:not(.hero-banner) h4 {
  opacity: 0;
  animation: fadeInDown 0.7s ease-out forwards;
}

/* Body text & common blocks fade up */
main section:not(.hero-banner) p,
.resume-preview,
.stat-card,
.edu-card ul,
.show-item,
.album-info,
.album-details,
.album-tracklist,
.photo-carousel,
.theatrical-experience,
.stage-head,
.subhead {
  opacity: 0;
  animation: fadeInUp 0.7s ease-out 0.15s forwards;
}

/* Gentle stagger for grids/lists so items rise in sequence */
.showcase-grid > *:nth-child(1),
.edu-inner > *:nth-child(1),
.album-details > *:nth-child(1) { animation-delay: 0.10s; }
.showcase-grid > *:nth-child(2),
.edu-inner > *:nth-child(2),
.album-details > *:nth-child(2) { animation-delay: 0.18s; }
.showcase-grid > *:nth-child(3),
.edu-inner > *:nth-child(3),
.album-details > *:nth-child(3) { animation-delay: 0.26s; }
.showcase-grid > *:nth-child(4) { animation-delay: 0.34s; }
.showcase-grid > *:nth-child(5) { animation-delay: 0.42s; }

/* Keep hero copy animating nicely too (optional) */
.hero-overlay h2 { opacity: 0; animation: fadeInDown 0.8s ease-out 0.05s forwards; }
.hero-overlay p  { opacity: 0; animation: fadeInUp   0.8s ease-out 0.20s forwards; }
.hero-overlay .overlay-cta { opacity: 0; animation: fadeInUp 0.8s ease-out 0.35s forwards; }

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal,
  .reveal.visible { opacity: 1 !important; transform: none !important; }
}

/* ---------- Footer (unchanged) ---------- */
footer {
  background: #222; color: white; text-align: center; padding: 20px; margin-top: 50px; width: 100%;
}
footer p { margin: 0; font-size: 0.9rem; opacity: 0.7; }
footer a { color: #007bff; text-decoration: none; font-weight: bold; }
footer a:hover { text-decoration: underline; }
