/* ============================================================
   MVP Ghost Tour -- Mount Vernon Players
   Static Mockup Stylesheet
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --night:     #0B0D12;
  --dusk:      #161922;
  --lantern:   #D4A748;
  --parchment: #E5D9C5;
  --smoke:     #9598A3;
  --blood:     #7C2418;
  --ember:     #B8862D;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Raleway', 'Segoe UI', Helvetica, Arial, sans-serif;

  --max-width:  1140px;
  --nav-height: 72px;
  --radius:     4px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px); /* 2.4.11 Focus Not Obscured */
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--parchment);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lantern); text-decoration: none; transition: color var(--transition); }
a:hover { color: #f0c96e; }

/* --- Focus Indicators (2.4.7 Focus Visible) --- */
:focus-visible {
  outline: 2px solid var(--lantern);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus-visible {
  outline: 2px solid var(--lantern);
  outline-offset: 3px;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--lantern);
  outline-offset: 2px;
}
/* Remove outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* --- Skip to Content (2.4.1 Bypass Blocks) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--lantern);
  color: var(--night);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--parchment);
  outline-offset: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 12px; }
p { margin-bottom: 16px; }
.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lantern);
  margin-bottom: 8px;
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(11, 13, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 167, 72, 0.12);
  transition: background var(--transition);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--parchment);
  white-space: nowrap;
}
.nav-brand span { color: var(--lantern); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--smoke);
  letter-spacing: 0.03em;
  position: relative;
  padding: 8px 4px; /* 2.5.8 Target Size: min 24px touch target */
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--lantern);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--parchment);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Book Now nav button */
.nav-cta {
  display: inline-block;
  padding: 8px 20px;
  background: var(--lantern);
  color: var(--night) !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: #f0c96e;
  color: var(--night) !important;
  transform: translateY(-1px);
}
.nav-cta:focus-visible {
  outline: 2px solid var(--parchment);
  outline-offset: 3px;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--parchment);
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* Gradient simulating a foggy night scene */
  background:
    radial-gradient(ellipse 600px 400px at 50% 60%, rgba(212, 167, 72, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 900px 600px at 50% 80%, rgba(22, 25, 34, 0.9) 0%, transparent 60%),
    linear-gradient(175deg, #0B0D12 0%, #12151e 40%, #0e1018 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-content .section-subtitle { margin-bottom: 16px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: italic;
  color: var(--lantern);
}
.hero-description {
  font-size: 1.1rem;
  color: var(--smoke);
  max-width: 540px;
  margin: 0 auto 32px;
}

/* Lantern glow -- the signature element */
.lantern-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 167, 72, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.lantern-glow--hero {
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary {
  background: var(--lantern);
  color: var(--night);
}
.btn-primary:hover {
  background: #f0c96e;
  color: var(--night);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 167, 72, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--lantern);
  border: 2px solid var(--lantern);
}
.btn-outline:hover {
  background: var(--lantern);
  color: var(--night);
  transform: translateY(-2px);
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}
.section--alt {
  background: var(--dusk);
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header p {
  color: var(--smoke);
  margin-top: 8px;
}

/* Lantern divider between sections */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0;
}
.section-divider::before,
.section-divider::after {
  content: '';
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, rgba(212, 167, 72, 0.3), transparent);
}
.section-divider svg {
  width: 20px;
  height: 20px;
  fill: var(--lantern);
  opacity: 0.5;
}

/* --- Announcement Banner --- */
.announcement {
  background: linear-gradient(135deg, var(--blood), #5a1c12);
  text-align: center;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: var(--nav-height);
}
.announcement + .hero { margin-top: 0; min-height: calc(100vh - var(--nav-height) - 44px); }

/* --- Card Grid --- */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--dusk);
  border: 1px solid rgba(212, 167, 72, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover {
  border-color: rgba(212, 167, 72, 0.3);
  transform: translateY(-2px);
}

/* --- Cast Cards --- */
.cast-card {
  text-align: center;
  padding: 0;
  overflow: hidden;
}
.cast-card-img {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, #1e2130, #12151e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--smoke);
  font-size: 0.85rem;
}
.cast-card-body {
  padding: 24px;
}
.cast-card-character {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--lantern);
  margin-bottom: 4px;
}
.cast-card-actor {
  font-size: 0.85rem;
  color: var(--smoke);
  margin-bottom: 12px;
}
.cast-card-description {
  font-size: 0.92rem;
  color: var(--parchment);
  opacity: 0.85;
}

/* --- Testimonials --- */
.testimonial {
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--lantern);
}
.testimonial blockquote {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--parchment);
  opacity: 0.9;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--lantern);
  font-weight: 600;
}
.testimonial-stars {
  color: var(--lantern);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* --- Sponsor Tiers --- */
.sponsor-tier { margin-bottom: 48px; }
.sponsor-tier h3 {
  text-align: center;
  color: var(--lantern);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 167, 72, 0.15);
}
.sponsor-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
.sponsor-logo {
  background: rgba(229, 217, 197, 0.06);
  border: 1px solid rgba(212, 167, 72, 0.1);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: border-color var(--transition);
  color: var(--smoke);
  font-size: 0.85rem;
  text-align: center;
}
.sponsor-logo:hover { border-color: rgba(212, 167, 72, 0.4); }
.sponsor-logo--lg { width: calc(50% - 12px); min-height: 140px; font-size: 1.1rem; }
.sponsor-logo--md { width: calc(33.33% - 16px); }
.sponsor-logo--sm { width: calc(25% - 18px); min-height: 80px; }

/* --- FAQ Accordion --- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(212, 167, 72, 0.1);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--parchment);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--lantern); }
.faq-question .faq-icon {
  font-size: 1.4rem;
  color: var(--lantern);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--smoke);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--parchment);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--dusk);
  border: 1px solid rgba(212, 167, 72, 0.15);
  border-radius: var(--radius);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--lantern);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* --- Info Cards (Tour details, Contact info) --- */
.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 167, 72, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--lantern);
  font-size: 1.2rem;
}
.info-card-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 4px;
}
.info-card-content p {
  color: var(--smoke);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* --- Booking Placeholder --- */
.booking-placeholder {
  background: var(--dusk);
  border: 2px dashed rgba(212, 167, 72, 0.2);
  border-radius: var(--radius);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}
.booking-placeholder h3 { color: var(--lantern); margin-bottom: 12px; }
.booking-placeholder p { color: var(--smoke); max-width: 480px; }

/* --- Local Area List --- */
.area-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(212, 167, 72, 0.08);
}
.area-item:last-child { border-bottom: none; }
.area-item-img {
  width: 120px;
  height: 90px;
  background: linear-gradient(135deg, #1e2130, #12151e);
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--smoke);
  font-size: 0.75rem;
}
.area-item-content h4 { margin-bottom: 4px; }
.area-item-content p { color: var(--smoke); font-size: 0.9rem; margin-bottom: 4px; }
.area-item-content a { font-size: 0.85rem; }

/* --- Footer --- */
.site-footer {
  background: var(--dusk);
  border-top: 1px solid rgba(212, 167, 72, 0.08);
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 8px;
}
.footer-brand span { color: var(--lantern); }
.footer-tagline {
  color: var(--smoke);
  font-size: 0.85rem;
  max-width: 280px;
}
.footer-links h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--parchment);
  margin-bottom: 12px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 4px; }
.footer-links a {
  color: var(--smoke);
  font-size: 0.88rem;
  display: inline-block;
  padding: 4px 0; /* 2.5.8 Target Size */
  min-height: 24px;
}
.footer-links a:hover { color: var(--lantern); }
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(212, 167, 72, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--smoke);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--lantern);
  color: var(--lantern);
}
.footer-bottom {
  text-align: center;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(212, 167, 72, 0.06);
  color: var(--smoke);
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--smoke); }

/* --- Page Headers (for inner pages) --- */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 167, 72, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 { position: relative; z-index: 1; margin-bottom: 12px; }
.page-header p {
  position: relative;
  z-index: 1;
  color: var(--smoke);
  max-width: 520px;
  margin: 0 auto;
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col--reverse .two-col-content { order: -1; }

.content-img-placeholder {
  width: 100%;
  min-height: 350px;
  background: linear-gradient(135deg, #1e2130, #12151e);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--smoke);
  font-size: 0.85rem;
  border: 1px solid rgba(212, 167, 72, 0.08);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col--reverse .two-col-content { order: 0; }
  .sponsor-logo--lg,
  .sponsor-logo--md,
  .sponsor-logo--sm { width: calc(50% - 12px); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(11, 13, 18, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid rgba(212, 167, 72, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
  }
  .nav-links a::after { display: none; }
  .nav-cta {
    display: block;
    text-align: center;
    margin-top: 12px;
  }
  .hero { min-height: 80vh; }
  .section { padding: 56px 0; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .area-item { flex-direction: column; }
  .area-item-img { width: 100%; height: 160px; }
  .sponsor-logo--lg,
  .sponsor-logo--md,
  .sponsor-logo--sm { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .lantern-glow--hero { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
