/* ============================================================
   TONY SPERO MAGIC — Global Styles (Refreshed)
   - Black / gold theme
   - Clean structure and comments
   - Mobile-first, then enhanced for desktop
   ============================================================ */

/* ---------------
   1) RESET / BASE
   --------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #000;
  color: #b3b3b3;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------------
   2) THEME TOKENS
   --------------- */

:root {
  /* Main brand colors */
  --accent:  #d4af37;             /* gold */
  --primary: #a60000;             /* optional deep red */
  --surface: #0b0b0b;             /* dark cards */
  --hairline: #222;               /* subtle borders */
  --muted:   #9fa6ad;             /* muted text */

  /* Extra tokens used in components */
  --bg:      #000000;
  --gold:    #d4af37;
  --text:    #e0e0e0;
  --border:  rgba(212,175,55,0.25);
  --radius:  14px;
  --shadow:  0 6px 22px rgba(0,0,0,0.35);

  /* Marquee */
  --marquee-duration: 12s;
  --marquee-intro-duration: var(--marquee-duration);
}

/* Keyboard focus */
:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
}

/* ----------------
   3) TOP MARQUEE
   ----------------
   <div id="top-marquee" class="magic-marquee css-marquee">
     <div class="track"> ... </div>
   </div>
*/

.magic-marquee {
  background: #000;
  color: #d5b56a;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 8px 0;
  border-bottom: 1px solid #141414;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.magic-marquee .marquee-icon {
  height: 22px;
  width: auto;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px rgba(213,181,106,0.7));
}

/* Base track: start slightly right */
.css-marquee .track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  transform: translateX(50%);
}

/* Phase 1: intro slide in */
.css-marquee.intro .track {
  animation: marquee-intro var(--marquee-intro-duration) linear 1 forwards;
}

@keyframes marquee-intro {
  from { transform: translateX(50%); }
  to   { transform: translateX(0); }
}

/* Phase 2: continuous loop */
.css-marquee.run .track {
  animation: magic-marquee var(--marquee-duration) linear infinite;
}

@keyframes magic-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Fallback simple marquee (if JS/CSS marquee not used somewhere else) */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 0.75rem 0;
  background: #111;
  border-bottom: 1px solid var(--hairline);
}

.marquee span {
  display: inline-block;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.06em;
  padding-left: 100%;
  animation: marquee-scroll 16s linear infinite;
  animation-delay: .3s;
}

@keyframes marquee-scroll {
  from { transform: translateX(0%); }
  to   { transform: translateX(-100%); }
}

/* ----------------
   4) HERO SECTION
   ----------------
   <header class="hero-visual" id="index-hero">
     <img class="hero-image">
     <div class="hero-overlay"> ... </div>
   </header>
*/

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
}

/* Background hero image */
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%; /* nudged up so the head stays in frame */
  opacity: 0.46;
  filter: grayscale(1%) brightness(1.38) contrast(1.05) saturate(1.04);
  z-index: 0;
  transition: filter .4s ease, opacity .4s ease, object-position .4s ease;
}

/* Desktop tweak (already good above) */
@media (max-width: 900px) {
  .hero-image {
    object-position: 50% 10%;
  }
}

/* Hero content overlay */
.hero-overlay {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4rem) 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* center vertically */
  align-items: center;       /* center horizontally */
  text-align: center;
  gap: 1.6rem;
}

/* Mobile: show full image (no heavy crop) */
@media (max-width: 600px) {
  .hero-visual {
    min-height: auto;
    height: auto;
    padding: 2rem 0;
    position: relative;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;        /* full image visible */
    object-position: center;
    background-color: #000;
  }

  .hero-overlay {
    min-height: auto;
    padding: 2rem 1.25rem;
  }
}

/* Typed.js headline */
.hero-title {
  color: var(--accent);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: .02em;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}

/* Subtitle under headline */
.subtitle {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .07em;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  text-transform: uppercase;
  opacity: .95;
}

/* CTA buttons row */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Primary buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .035em;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #0b0b0b;
  box-shadow: 0 6px 22px rgba(212,175,55,.22);
  transition:
    transform .12s ease,
    box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease,
    color .22s ease;
}

.btn i {
  font-size: .95em;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(212,175,55,.32);
}

.btn:active {
  transform: translateY(0);
}

@media (max-width: 560px) {
  .btn {
    width: auto;
    justify-content: center;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
  }
  .cta-row { gap: 0.6rem; }
}

/* -----------------
   5) SECTIONS / LAYOUT
   ----------------- */

.section {
  width: min(1100px, 92vw);
  margin-inline: auto;
  padding: clamp(2.75rem, 6vw, 4.75rem) 0;
}

/* Default section headings (About, Booking, etc.) */
.section h2 {
  text-align: center;
  font-size: clamp(1.7rem, 3.8vw, 2.3rem);
  color: var(--accent);
  margin-bottom: 0.9rem;
  letter-spacing: .02em;
}

/* Default paragraphs inside sections */
.section p {
  color: #b3b3b3;
  max-width: 66ch;
  margin: 0.95rem auto 0 auto;
}

/* Mobile paragraph comfort */
@media (max-width: 600px) {
  .section p {
    padding: 0 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.8;
  }
}

/* Dark banded sections (Career Highlights, Booking) */
.section.dark {
  background: #0a0a0a;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* ----------------------
   6) VIDEO SHOWCASE
   ----------------------
   <section class="video-section">
     <h2 class="section-title">
     <div class="video-grid">
   */

.video-section {
  text-align: center;
  background: var(--bg);
  padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 32px);
}

.section-title {
  color: var(--gold);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 20px);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.video-card {
  background: linear-gradient(180deg, rgba(212,175,55,0.07), rgba(212,175,55,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(10px, 1.6vw, 14px);
  box-shadow: var(--shadow);
}

/* 16:9 responsive wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: #0b0b0b;
}

/* Actual <video> */
.video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* small crop is OK for drama */
}

/* Play indicator overlay */
.video-wrapper::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(32px, 7vw, 64px);
  color: rgba(212,175,55,0.95);
  text-shadow: 0 6px 18px rgba(0,0,0,.5);
  pointer-events: none;
  opacity: .85;
  transition: opacity .2s ease;
}

/* Hover effect on desktop */
@media (hover:hover) {
  .video-card:hover .video-wrapper::after {
    opacity: 1;
  }

  .video-card:hover {
    border-color: rgba(212,175,55,0.35);
    transform: translateY(-1px);
    transition: transform 160ms ease, border-color 160ms ease;
  }
}

.caption {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 10px;
  text-align: center;
}

.caption::before {
  content: "◆ ";
  color: var(--gold);
  opacity: 0.9;
}

/* ------------------------
   7) CAREER HIGHLIGHTS GRID
   ------------------------ */

.achievements {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  text-align: center;
  margin-top: 1.5rem;
}

@media (min-width: 720px) {
  .achievements {
    grid-template-columns: repeat(2, 1fr);
    max-width: 880px;
    margin-inline: auto;
  }
}

.achievement {
  background: linear-gradient(180deg, rgba(212,175,55,0.08), rgba(212,175,55,0.03));
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform .2s ease, border-color .2s ease;
}

.achievement:hover {
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.35);
}

.achievement i {
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: .6rem;
}

/* ------------------------------
   8) ABOUT GALLERY (PHOTOS)
   ------------------------------ */

.about-title {
  text-align: center;
  color: #d5b56a;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.side-icon {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 0 5px rgba(213,181,106,0.6));
  transform: translateY(2px);
}

/* Grid wrapper for images */
.about-gallery {
  width: min(1100px, 92vw);
  margin: 1.25rem auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(10px, 2vw, 16px);
}

/* Each image card */
.about-gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  outline: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 22px rgba(0,0,0,.35);
  filter: saturate(1.06) contrast(1.04);
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    filter .28s ease,
    outline-color .28s ease;
}

/* Hover lift */
@media (hover:hover) {
  .about-gallery img:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 26px rgba(0,0,0,.5);
    outline-color: rgba(212,175,55,.35);
    filter: saturate(1.08) contrast(1.07);
  }
}

/* Simple fade-in animation */
.about-gallery img {
  opacity: 0;
  transform: translateY(6px);
  animation: photoIn .45s ease forwards;
}

.about-gallery img:nth-child(2) { animation-delay: .06s; }
.about-gallery img:nth-child(3) { animation-delay: .12s; }

@keyframes photoIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Rhythm when gallery sits near sections */
.section + .about-gallery { margin-top: -0.25rem; }
.about-gallery + .section { margin-top: 1.75rem; }

/* Optional aspect ratios */
.about-gallery.ar-4-3 img { aspect-ratio: 4 / 3; }
.about-gallery.ar-1-1 img { aspect-ratio: 1 / 1; }
.about-gallery.ar-16-9 img { aspect-ratio: 16 / 9; }

/* Make .tall images span multiple rows on desktop */
@media (min-width: 900px) {
  .about-gallery .tall {
    grid-row: span 2;
    aspect-ratio: auto;
    height: 100%;
    object-fit: cover;
  }
}

/* Special handling so tall portrait shots don’t crop heads */
.about-gallery img.tall {
  aspect-ratio: auto;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  background: #000;
  justify-self: center;
}

/* --------------------------
   9) TESTIMONIALS SECTION
   --------------------------
   <section id="testimonials" class="section">
     <h2 id="testimonials-heading">
     <p class="section-intro">
     <div class="testimonials-grid">
   */

/* Heading with divider line */
#testimonials-heading {
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--accent);
  letter-spacing: 0.8px;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
  position: relative;
}

#testimonials-heading::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 0.6rem auto 1rem;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.85;
}

/* Intro line under heading */
.section p.section-intro {
  text-align: center;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
  margin: 0.8rem auto 2.8rem;  /* <= pushes away from cards */
  line-height: 1.75;
  opacity: 0.95;
  padding: 0 1rem;
}

@media (max-width: 600px) {
  .section p.section-intro {
    margin-bottom: 3rem;
  }
}

/* Grid of testimonial cards */
.testimonials-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 820px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Individual testimonial card */
.testimonial-card {
  position: relative;
  padding: 1.5rem 1.6rem 1.6rem;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(212,175,55,0.09), rgba(212,175,55,0.03));
  box-shadow: 0 6px 22px rgba(0,0,0,0.28);
  text-align: left;
  overflow: hidden;
}

/* Faint decorative quote in the top-right */
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(212,175,55,0.14);
  pointer-events: none;
}

/* Header row inside card (name, location, date) */
.testimonial-header {
  margin-bottom: 0.75rem;
  text-align: center;
}

.testimonial-name {
  display: block;
  font-weight: 700;
  color: #f5f5f5;
  font-size: 1.02rem;
  margin-bottom: 0.1rem;
}

.testimonial-location,
.testimonial-date {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--muted);
}

.testimonial-location::after {
  content: " • ";
}

/* The quote text itself */
.testimonial-text {
  margin: 0;
  color: #f0f0f0;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Hover polish on desktop */
@media (hover:hover) {
  .testimonial-card:hover {
    border-color: rgba(212,175,55,0.4);
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  }
}

/* -----------------------
   10) BOOKING SECTION
   ----------------------- */

#booking p {
  text-align: center;
}

/* ---------------------
   11) FOOTER
   --------------------- */

footer {
  text-align: center;
  padding: 1.25rem;
  font-size: .98rem;
  color: #b3b3b3;
}

footer .footer-container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* -----------------
   12) UTILITIES
   ----------------- */

.text-muted {
  color: var(--muted);
}

hr.hairline {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 1.5rem 0;
}

/* Respect reduced motion settings */
@media (prefers-reduced-motion: reduce) {
  .marquee span {
    animation: none;
  }
  .css-marquee .track {
    animation: none;
    transform: translateX(0);
  }
}

/* --------------------------------
   13) LEARN MORE PAGE HERO (SUB)
   --------------------------------
   Used on learnmore.php
*/

.sub-hero.bg-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background-image: url("images/cards1.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;

  padding: 2rem 1rem;
  overflow: hidden;
}

/* Dark overlay over background image */
.sub-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Text content on top */
.sub-hero-content {
  position: relative;
  max-width: 700px;
  z-index: 2;
  color: #f2f2f2;
}

.sub-hero-content h1 {
  margin-bottom: 0.5rem;
}

.sub-hero-content p {
  margin-bottom: 1rem;
}

.sub-hero-content .cta-row {
  gap: 1rem;
  justify-content: center;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .sub-hero.bg-hero {
    height: 360px;
    padding: 1.5rem 1rem;
  }

  .sub-hero-content {
    padding: 0 0.5rem;
  }
}

/* Breadcrumbs + page titles */
.crumbs {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: .5rem;
}

.crumb-link {
  color: var(--accent);
  text-decoration: none;
}

.crumb-link:hover {
  text-decoration: underline;
}

.page-title {
  color: var(--accent);
  font-size: clamp(2rem, 5.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: .02em;
}

.page-subtitle {
  color: #b3b3b3;
  margin-top: .5rem;
}

/* -----------------------
   14) CONTENT GRID / CARDS
   ----------------------- */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin-top: 1.2rem;
}

@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Light card used on Learn More */
.card-lite {
  background: linear-gradient(180deg, rgba(212,175,55,0.07), rgba(212,175,55,0.02));
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: clamp(16px, 2.4vw, 22px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  text-align: center;
}

.card-lite h3 {
  color: #e7e7e7;
  margin-bottom: .4rem;
}

.card-lite i {
  color: var(--accent);
  margin-right: .35rem;
}

/* Feature bullet list inside cards */
.feature-list {
  text-align: center;
  margin-top: .45rem;
  padding-left: 1.1rem;
  color: #c9c9c9;
}

.feature-list li {
  margin: .25rem 0;
}

/* Badge for “Most Popular” etc. */
.badge {
  display: inline-block;
  background: rgba(212,175,55,0.16);
  border: 1px solid rgba(212,175,55,0.5);
  color: var(--accent);
  font-size: .8rem;
  padding: .22rem .5rem;
  border-radius: 999px;
  margin-bottom: .4rem;
}

/* Center cards but let lists stay readable */
.card-lite .feature-list {
  text-align: left;
  margin-inline: auto;
  display: inline-block;
}

/* --------------------
   15) WHY BOOK TONY
   -------------------- */

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: .75rem;
  margin-top: .5rem;
  text-align: center;
}

.hit {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--hairline);
  border-radius: .9rem;
  padding: .9rem 1rem;
  color: #e6e6e6;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.hit i {
  margin-right: .5rem;
  color: var(--accent);
}

@media (hover:hover) {
  .hit:hover {
    border-color: rgba(212,175,55,.35);
    box-shadow:
      0 0 0 1px rgba(212,175,55,.18) inset,
      0 10px 26px rgba(0,0,0,.28);
  }
}

/* ---------------
   16) FAQ ACCORDION
   --------------- */

.faqs details {
  text-align: center;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin: 0.6rem 0;
  background: #0b0b0b;
}

.faqs summary {
  cursor: pointer;
  color: #e0e0e0;
  font-weight: 600;
}

.faqs p {
  color: #cfcfcf;
  margin-top: .6rem;
}

.center-cta {
  text-align: center;
  margin-top: 1.2rem;
}

