﻿/* ======================================
   Shufeng Yayun - Traditional Chinese Style
   ====================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

/* ========== CSS Variables ========== */
:root {
  --crimson: #8B1A1A;
  --crimson-dark: #6B1212;
  --crimson-light: #B22222;
  --gold: #C9A84C;
  --gold-light: #E8C76A;
  --gold-dark: #A67C35;
  --ink: #1A1A1A;
  --ink-light: #2D2D2D;
  --parchment: #FAF5E8;
  --parchment-dark: #F0E8D0;
  --parchment-deep: #E8D8B0;
  --cream: #FFF8EE;
  --jade: #2E6B4F;
  --jade-light: #3D8A65;
  --shadow: rgba(0,0,0,0.15);
  --shadow-deep: rgba(0,0,0,0.3);
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'EB Garamond', Georgia, serif;
  --transition: all 0.3s ease;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: hidden;
}

/* ========== Decorative Border Pattern ========== */
.pattern-border {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--crimson) 0px,
    var(--crimson) 20px,
    var(--gold) 20px,
    var(--gold) 25px,
    var(--crimson) 25px,
    var(--crimson) 45px,
    var(--gold) 45px,
    var(--gold) 50px
  );
}

.pattern-border-thin {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px,
    var(--gold) 10px,
    var(--crimson) 10px,
    var(--crimson) 12px,
    var(--gold) 12px,
    var(--gold) 22px
  );
}

/* ========== Header ========== */
.site-header {
  background: linear-gradient(180deg, #1a0505 0%, var(--crimson-dark) 100%);
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 20px var(--shadow-deep);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.logo-emblem {
  width: 70px;
  height: 70px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 3px solid var(--gold-light);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
  flex-shrink: 0;
}

.logo-text {
  color: white;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  display: block;
  line-height: 1.2;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1px;
  font-style: italic;
}

.header-contact {
  text-align: right;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

.header-contact a {
  color: var(--gold-light);
  text-decoration: none;
}

.header-contact .phone {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}

/* ========== Navigation ========== */
.main-nav {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(5px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
}

.nav-menu li a {
  display: block;
  padding: 14px 25px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
}

.nav-menu li a::after {
  content: '◆';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.4rem;
  color: var(--gold);
  opacity: 0.6;
}

.nav-menu li:last-child a::after {
  display: none;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: white;
  font-size: 1.5rem;
}

/* ========== Hero Slider ========== */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.slider-wrapper {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
  min-width: 100%;
  position: relative;
  height: 580px;
  overflow: hidden;
}

.slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.slide-bg-fallback {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.slide-ornament {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 10px;
}

.slide-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 4px 12px rgba(0,0,0,0.6);
  margin-bottom: 15px;
  line-height: 1.2;
}

.slide-subtitle {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--gold-light);
  font-style: italic;
  margin-bottom: 30px;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
}

.btn-primary {
  display: inline-block;
  padding: 14px 35px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-dark));
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid var(--gold-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--ink);
}

/* Slider Controls */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: 2px solid var(--gold);
  color: var(--gold);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover, .slider-next:hover {
  background: var(--gold);
  color: var(--ink);
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 30px;
  height: 3px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--gold);
  width: 50px;
}

/* ========== Section Styles ========== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--parchment);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-header {
  text-align: center;
  margin-bottom: 55px;
}

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 12px;
}

.ornament-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament-line.right {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament-diamond {
  color: var(--gold);
  font-size: 1.2rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--crimson-dark);
  margin-bottom: 15px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

/* ========== About Strip ========== */
.about-strip {
  background: linear-gradient(180deg, var(--crimson-dark) 0%, #2d0808 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.about-strip::before {
  content: attr(data-watermark);
  position: absolute;
  font-size: 120px;
  color: rgba(255,255,255,0.03);
  font-family: serif;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  letter-spacing: 20px;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-badge {
  text-align: center;
}

.badge-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.badge-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1px;
  margin-top: 5px;
}

.about-text {
  text-align: center;
  padding: 0 20px;
}

.about-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-text .about-badge-text {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

/* ========== Performances Grid ========== */
.performances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.perf-card {
  background: white;
  border: 1px solid var(--parchment-deep);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.perf-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold), var(--crimson));
  z-index: 2;
}

.perf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-deep);
}

.perf-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--parchment-deep);
}

.perf-image-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--crimson-dark), var(--ink));
  color: var(--gold);
}

.perf-body {
  padding: 20px;
}

.perf-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.perf-date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--crimson);
  color: white;
  padding: 5px 12px;
  min-width: 50px;
}

.perf-date-badge .month {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.perf-date-badge .day {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.perf-date-info {
  font-size: 0.9rem;
  color: #666;
}

.perf-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--crimson-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.perf-venue {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.perf-prices {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.price-tag {
  font-size: 0.78rem;
  padding: 3px 10px;
  border: 1px solid;
}

.price-tag.vip {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201,168,76,0.08);
}

.price-tag.standard {
  border-color: var(--crimson);
  color: var(--crimson);
  background: rgba(139,26,26,0.05);
}

.price-tag.economy {
  border-color: var(--jade);
  color: var(--jade);
  background: rgba(46,107,79,0.05);
}

.availability-bar {
  height: 4px;
  background: var(--parchment-deep);
  margin-bottom: 15px;
  border-radius: 2px;
  overflow: hidden;
}

.availability-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--jade), var(--crimson));
  border-radius: 2px;
  transition: width 0.5s ease;
}

.perf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tickets-left {
  font-size: 0.82rem;
  color: #888;
}

.tickets-left.low {
  color: var(--crimson);
  font-weight: 600;
}

/* ========== News Grid ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.news-card {
  background: white;
  overflow: hidden;
  border: 1px solid var(--parchment-deep);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px var(--shadow);
}

.news-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.news-image-placeholder {
  width: 100%;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--parchment-deep), var(--parchment));
  color: var(--crimson);
}

.news-body {
  padding: 20px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.news-category {
  font-size: 0.72rem;
  padding: 2px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-display);
}

.news-category.announcement { background: var(--crimson); color: white; }
.news-category.performance { background: var(--jade); color: white; }
.news-category.news { background: var(--gold-dark); color: white; }
.news-category.culture { background: #5a4a8a; color: white; }

.news-date {
  font-size: 0.83rem;
  color: #999;
}

.news-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-summary {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--crimson);
  font-size: 0.85rem;
  font-family: var(--font-display);
  text-decoration: none;
  letter-spacing: 1px;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--gold-dark);
  gap: 10px;
}

/* ========== Arts Features Section ========== */
.arts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
}

.art-item {
  text-align: center;
  padding: 35px 20px;
  background: white;
  border: 1px solid var(--parchment-deep);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.art-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.art-item:hover {
  background: linear-gradient(180deg, white, var(--parchment));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow);
}

.art-item:hover::after {
  width: 80%;
}

.art-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.art-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--crimson-dark);
  margin-bottom: 8px;
}

.art-desc {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
}

/* ========== Quote Banner ========== */
.quote-banner {
  background: linear-gradient(135deg, var(--crimson-dark), #3d0a0a);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-banner::before,
.quote-banner::after {
  content: '"';
  position: absolute;
  font-family: Georgia, serif;
  font-size: 200px;
  color: rgba(201, 168, 76, 0.08);
  line-height: 1;
  top: -20px;
}

.quote-banner::before { left: 30px; }
.quote-banner::after { right: 30px; content: '"'; }

.quote-text {
  font-family: var(--font-body);
  font-size: 1.7rem;
  font-style: italic;
  color: white;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.6;
  text-shadow: 1px 2px 8px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
}

.quote-author {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

/* ========== Footer ========== */
.site-footer {
  background: linear-gradient(180deg, #0d0303, #1a0505);
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.footer-brand .logo-name {
  font-size: 1.3rem;
  margin-bottom: 15px;
  display: block;
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-h {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '◈';
  color: var(--gold);
  font-size: 0.6rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item .icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ========== Page Banner ========== */
.page-banner {
  background: linear-gradient(135deg, var(--crimson-dark) 0%, #1a0505 50%, var(--crimson-dark) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M30 5 L35 25 L55 25 L40 38 L45 58 L30 46 L15 58 L20 38 L5 25 L25 25 Z" fill="none" stroke="rgba(201,168,76,0.08)" stroke-width="1"/></svg>') repeat;
}

.page-banner-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.page-banner-subtitle {
  color: var(--gold-light);
  font-style: italic;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); font-size: 0.8rem; }
.breadcrumb .current { color: var(--gold-light); font-size: 0.85rem; }

/* ========== Forms ========== */
.form-section {
  background: white;
  border: 1px solid var(--parchment-deep);
  padding: 40px;
}

.form-header {
  text-align: center;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--parchment-deep);
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--crimson-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--parchment-deep);
  background: var(--parchment);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-control.error {
  border-color: var(--crimson);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-error {
  color: var(--crimson);
  font-size: 0.83rem;
  margin-top: 5px;
}

/* ========== Ticket Types ========== */
.ticket-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.ticket-option {
  position: relative;
}

.ticket-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.ticket-option label {
  display: block;
  padding: 18px 15px;
  border: 2px solid var(--parchment-deep);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--parchment);
}

.ticket-option label:hover {
  border-color: var(--gold);
}

.ticket-option input:checked + label {
  border-color: var(--crimson);
  background: rgba(139,26,26,0.05);
}

.ticket-type-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--crimson-dark);
  display: block;
  margin-bottom: 5px;
}

.ticket-type-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--crimson);
}

.ticket-type-currency {
  font-size: 0.8rem;
  font-weight: normal;
}

/* ========== Alerts ========== */
.alert {
  padding: 15px 20px;
  border-left: 4px solid;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.alert-success {
  background: rgba(46,107,79,0.1);
  border-color: var(--jade);
  color: var(--jade);
}

.alert-error {
  background: rgba(139,26,26,0.1);
  border-color: var(--crimson);
  color: var(--crimson);
}

.alert-info {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* ========== Pagination ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--parchment-deep);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  transition: var(--transition);
}

.pagination a:hover {
  background: var(--crimson);
  color: white;
  border-color: var(--crimson);
}

.pagination .active {
  background: var(--crimson);
  color: white;
  border-color: var(--crimson);
}

/* ========== Loading ========== */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: var(--crimson);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--parchment-deep);
  border-top-color: var(--crimson);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== Toast Notification ========== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  min-width: 300px;
  max-width: 450px;
  padding: 15px 20px;
  background: white;
  border-left: 4px solid;
  box-shadow: 0 5px 20px var(--shadow-deep);
  animation: slideIn 0.3s ease;
  font-size: 0.9rem;
}

.toast.success { border-color: var(--jade); }
.toast.error { border-color: var(--crimson); }
.toast.info { border-color: var(--gold); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ========== Utility ========== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-crimson { color: var(--crimson); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.d-flex { display: flex; }
.gap-3 { gap: 1rem; }
.align-center { align-items: center; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { display: none; }
}

@media (max-width: 768px) {
  .header-top { padding: 12px 20px; }
  .header-contact { display: none; }
  .logo-name { font-size: 1.2rem; }

  .nav-toggle { display: block; }
  .nav-container { justify-content: flex-end; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--crimson-dark);
    flex-direction: column;
    display: none;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a { padding: 14px 25px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-menu li a::after { display: none; }
  .main-nav { position: relative; }

  .slide { height: 380px; }
  .slide-title { font-size: 2rem; }
  .slide-subtitle { font-size: 1rem; }

  .section { padding: 55px 0; }
  .section-title { font-size: 1.8rem; }
  .performances-grid, .news-grid { grid-template-columns: 1fr; }
  .arts-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .ticket-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-banner-title { font-size: 2rem; }
  .quote-text { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .slide-title { font-size: 1.6rem; }
  .arts-grid { grid-template-columns: 1fr 1fr; }
  .btn-primary, .btn-outline { padding: 12px 25px; font-size: 0.8rem; }
}
