/* ========================================================
   BAYBORO BREWING CO. — MODERN THEME
   Scoped to [data-theme="modern"] for toggle switching.
   ======================================================== */

/* ===== CUSTOM PROPERTY OVERRIDES ===== */
[data-theme="modern"] {
  --color-bg: #0a0a0a;
  --color-bg-card: #111111;
  --color-border: rgba(255,255,255,0.06);
  --color-border-light: rgba(255,255,255,0.1);
  --color-border-subtle: rgba(255,255,255,0.04);
  --color-border-card: rgba(255,255,255,0.08);
  --section-padding: clamp(40px, 8vw, 100px) clamp(16px, 4vw, 40px);
}

/* ===== SMOOTH THEME TRANSITION ===== */
[data-theme="modern"] *,
[data-theme="modern"] *::before,
[data-theme="modern"] *::after {
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* ===== TYPOGRAPHY — FLUID ===== */
[data-theme="modern"] body {
  font-size: clamp(0.9rem, 0.85rem + 0.25vw, 1.05rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER — Sticky Glassmorphism ===== */
[data-theme="modern"] .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  text-align: left;
}

[data-theme="modern"] .header-logo-left,
[data-theme="modern"] .header-logo-right {
  display: flex;
  align-items: center;
}

[data-theme="modern"] .header-logo-left img,
[data-theme="modern"] .header-logo-right img {
  height: 48px;
  width: auto;
  margin: 0;
}

[data-theme="modern"] .header-tagline {
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* ===== NAVIGATION — Integrated Modern ===== */
[data-theme="modern"] .main-nav {
  background: transparent;
  border: none;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

[data-theme="modern"] .main-nav ul {
  max-width: 900px;
  gap: 0;
}

[data-theme="modern"] .main-nav > ul > li > a,
[data-theme="modern"] .main-nav > ul > li > span {
  padding: 16px 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
  position: relative;
}

[data-theme="modern"] .main-nav > ul > li > a::after,
[data-theme="modern"] .main-nav > ul > li > span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  transition: transform var(--transition-med);
  border-radius: 1px;
}

[data-theme="modern"] .main-nav > ul > li > a:hover::after,
[data-theme="modern"] .main-nav > ul > li > span:hover::after,
[data-theme="modern"] .main-nav > ul > li.active > a::after,
[data-theme="modern"] .main-nav > ul > li.active > span::after {
  transform: translateX(-50%) scaleX(1);
}

[data-theme="modern"] .main-nav > ul > li > a:hover,
[data-theme="modern"] .main-nav > ul > li > span:hover,
[data-theme="modern"] .main-nav > ul > li.active > a,
[data-theme="modern"] .main-nav > ul > li.active > span {
  color: #fff;
}

/* Dropdown Modern */
[data-theme="modern"] .dropdown-menu {
  background: rgba(20,20,20,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
  min-width: 200px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  margin-top: 4px;
}

[data-theme="modern"] .dropdown-menu a {
  padding: 14px 24px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

[data-theme="modern"] .dropdown-menu a:last-child {
  border-bottom: none;
}

[data-theme="modern"] .dropdown-menu a:hover {
  background: rgba(107,163,160,0.1);
  color: var(--color-accent);
}

/* ===== HERO — Cinematic Full-Bleed ===== */
[data-theme="modern"] .hero {
  min-height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="modern"] .hero-side-image {
  display: none;
}

[data-theme="modern"] .hero-main {
  position: absolute;
  inset: 0;
}

[data-theme="modern"] .hero-main-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.1);
}

[data-theme="modern"] .hero-content {
  position: relative;
  z-index: 2;
  background: none;
  padding: 40px;
  max-width: 800px;
  text-align: center;
}

[data-theme="modern"] .hero-content h1 {
  font-size: clamp(2.5rem, 2rem + 3vw, 5rem);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.05;
  margin-bottom: 24px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

[data-theme="modern"] .hero-content p {
  font-size: clamp(0.9rem, 0.85rem + 0.25vw, 1.05rem);
  color: rgba(255,255,255,0.75);
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.8;
  /* Show full text */
}

[data-theme="modern"] .hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--color-bg), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Hero full variant */
[data-theme="modern"] .hero-full {
  min-height: 55vh;
}

[data-theme="modern"] .hero-full::after {
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.3) 0%,
    rgba(10,10,10,0.6) 60%,
    rgba(10,10,10,0.9) 100%
  );
}

[data-theme="modern"] .hero-full h1 {
  font-size: clamp(2rem, 1.5rem + 3vw, 4.5rem);
  letter-spacing: 6px;
  font-weight: 700;
}

[data-theme="modern"] .hero-full p {
  color: rgba(255,255,255,0.6);
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 1rem);
}

/* ===== BUTTONS — Refined ===== */
[data-theme="modern"] .btn-primary {
  padding: 16px 40px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  transition: all var(--transition-med);
  box-shadow: 0 4px 24px rgba(224,74,50,0.3);
  position: relative;
  overflow: hidden;
}

[data-theme="modern"] .btn-primary:hover {
  background: #c73d28;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(224,74,50,0.4);
}

[data-theme="modern"] .btn-outline {
  border-width: 1px;
  border-radius: 4px;
  padding: 14px 36px;
  font-size: 0.8rem;
  letter-spacing: 3px;
  transition: all var(--transition-med);
}

[data-theme="modern"] .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

[data-theme="modern"] .btn-dark {
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 3px;
  transition: all var(--transition-med);
}

[data-theme="modern"] .btn-dark:hover {
  background: var(--color-accent);
  color: #000;
}

/* ===== CONTACT SECTION — Refined ===== */
[data-theme="modern"] .contact-section {
  padding: clamp(60px, 8vw, 120px) 20px;
  position: relative;
}

[data-theme="modern"] .contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

[data-theme="modern"] .contact-section > * {
  position: relative;
  z-index: 1;
}

[data-theme="modern"] .contact-section h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.5vw, 2rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  margin-bottom: 24px;
}

[data-theme="modern"] .social-icons {
  gap: 16px;
  margin-bottom: 40px;
}

[data-theme="modern"] .social-icons a {
  width: 48px;
  height: 48px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

[data-theme="modern"] .social-icons a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

[data-theme="modern"] .contact-form {
  max-width: 480px;
  gap: 0;
}

[data-theme="modern"] .contact-form input,
[data-theme="modern"] .contact-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 14px 18px;
  color: #fff;
  margin-bottom: 14px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

[data-theme="modern"] .contact-form input:focus,
[data-theme="modern"] .contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(107,163,160,0.15);
}

[data-theme="modern"] .contact-form label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

[data-theme="modern"] .contact-form .btn-outline {
  margin-top: 8px;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

[data-theme="modern"] .contact-form .btn-outline:hover {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}

/* ===== NEWSLETTER SECTION — Modern ===== */
[data-theme="modern"] .newsletter-section {
  background: linear-gradient(135deg, #6ba3a0, #4a8885);
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 600px;
}

[data-theme="modern"] .newsletter-section h2 {
  font-size: 1.3rem;
  letter-spacing: 4px;
}

[data-theme="modern"] .newsletter-section input[type="email"] {
  border: none;
  border-radius: 4px;
  padding: 14px 18px;
}

[data-theme="modern"] .newsletter-section input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.2);
}

[data-theme="modern"] .newsletter-section .btn-dark {
  border-radius: 4px;
  background: #000;
  letter-spacing: 3px;
  padding: 14px 36px;
}

[data-theme="modern"] .newsletter-section .btn-dark:hover {
  background: #222;
}

/* ===== CARD GRID — Elevated ===== */
[data-theme="modern"] .card-grid {
  gap: 24px;
  max-width: 1200px;
  padding: clamp(40px, 6vw, 80px) 20px;
}

[data-theme="modern"] .card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  border: 1px solid rgba(107,163,160,0.15);
}

[data-theme="modern"] .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(107,163,160,0.15);
}

[data-theme="modern"] .card img {
  height: 260px;
  transition: transform var(--transition-med);
}

[data-theme="modern"] .card:hover img {
  transform: scale(1.03);
}

[data-theme="modern"] .card-body {
  padding: 28px 24px;
}

/* Dark card variant */
[data-theme="modern"] .card-dark {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color var(--transition-med);
}

[data-theme="modern"] .card-dark:hover {
  border-color: rgba(107,163,160,0.2);
}

/* ===== SPLIT HERO — Modern ===== */
[data-theme="modern"] .split-hero {
  border-radius: 0;
  overflow: hidden;
}

[data-theme="modern"] .split-hero .overlay-text {
  background: linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.5));
  padding: clamp(32px, 5vw, 60px);
}

[data-theme="modern"] .split-hero .overlay-text h1 {
  font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.5rem);
  letter-spacing: 3px;
}

/* ===== EVENTS PAGE — Poster Style ===== */
[data-theme="modern"] .events-section {
  max-width: 1100px;
  padding: clamp(30px, 5vw, 60px) 20px 80px;
}

/* Feed view */
[data-theme="modern"] .events-feed {
  gap: 20px;
}

[data-theme="modern"] .event-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all var(--transition-med);
}

[data-theme="modern"] .event-card:hover {
  border-color: rgba(107,163,160,0.2);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

[data-theme="modern"] .event-card-image {
  width: 280px;
}

[data-theme="modern"] .event-card-image img {
  transition: transform 0.5s ease;
}

[data-theme="modern"] .event-card:hover .event-card-image img {
  transform: scale(1.08);
}

[data-theme="modern"] .event-card-body {
  padding: 28px 28px;
}

[data-theme="modern"] .event-date-badge {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(224,74,50,0.3);
}

[data-theme="modern"] .event-card-info h3 {
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

[data-theme="modern"] .event-time {
  color: var(--color-accent);
}

[data-theme="modern"] .event-description {
  color: rgba(255,255,255,0.5);
}

/* Badges — Glass */
[data-theme="modern"] .event-badge {
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
}

[data-theme="modern"] .event-badge-genre {
  background: rgba(107,163,160,0.15);
  border-color: rgba(107,163,160,0.2);
}

[data-theme="modern"] .event-badge-price {
  background: rgba(224,74,50,0.12);
  border-color: rgba(224,74,50,0.2);
}

[data-theme="modern"] .event-badge-age {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

/* Event buttons */
[data-theme="modern"] .eventbrite-btn,
[data-theme="modern"] .event-card-footer .btn-outline {
  border-radius: 6px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  transition: all var(--transition-med);
}

[data-theme="modern"] .eventbrite-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(246,104,47,0.3);
}

/* View toggle */
[data-theme="modern"] .events-toolbar {
  gap: 4px;
  margin-bottom: 40px;
}

[data-theme="modern"] .view-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  padding: 12px 28px;
  transition: all var(--transition-fast);
}

[data-theme="modern"] .view-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

[data-theme="modern"] .view-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #000;
  box-shadow: 0 2px 12px rgba(107,163,160,0.3);
}

/* Calendar — Modern */
[data-theme="modern"] .events-calendar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 28px;
}

[data-theme="modern"] .calendar-day {
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  transition: background var(--transition-fast);
}

[data-theme="modern"] .calendar-day-has-event:hover {
  background: rgba(107,163,160,0.1);
}

[data-theme="modern"] .calendar-day-today {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(107,163,160,0.3);
}

[data-theme="modern"] .calendar-day-selected {
  background: var(--color-accent) !important;
  box-shadow: 0 4px 12px rgba(107,163,160,0.3);
}

/* ===== EVENT DETAIL — Modern ===== */
[data-theme="modern"] .event-detail-section {
  padding: clamp(30px, 5vw, 60px) 20px 80px;
}

[data-theme="modern"] .event-detail-container {
  max-width: 1200px;
  gap: 48px;
}

[data-theme="modern"] .event-detail-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

[data-theme="modern"] .event-detail-info h1 {
  font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.4rem);
  letter-spacing: 3px;
  line-height: 1.2;
}

[data-theme="modern"] .event-detail-meta p {
  color: rgba(255,255,255,0.5);
}

[data-theme="modern"] .event-detail-description {
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
}

/* Ticket Box — Glass */
[data-theme="modern"] .ticket-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

[data-theme="modern"] .ticket-box h2 {
  border-bottom-color: rgba(255,255,255,0.08);
  letter-spacing: 3px;
}

[data-theme="modern"] .ticket-row {
  border-bottom-color: rgba(255,255,255,0.06);
  padding: 16px 0;
}

[data-theme="modern"] .ticket-row-price {
  color: var(--color-accent);
  font-weight: 600;
}

[data-theme="modern"] .ticket-qty-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
}

[data-theme="modern"] .ticket-qty-select:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(107,163,160,0.15);
}

/* Promo input */
[data-theme="modern"] .promo-input-group input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
}

[data-theme="modern"] .promo-input-group input:focus {
  border-color: var(--color-accent);
  outline: none;
}

[data-theme="modern"] .promo-apply-btn {
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
}

[data-theme="modern"] .promo-apply-btn:hover {
  background: rgba(255,255,255,0.15);
}

/* Checkout button */
[data-theme="modern"] .checkout-btn {
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 3px;
  transition: all var(--transition-med);
  box-shadow: 0 4px 20px rgba(107,163,160,0.25);
}

[data-theme="modern"] .checkout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(107,163,160,0.35);
}

/* Customer form in ticket box */
[data-theme="modern"] .ticket-box .form-group input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
}

[data-theme="modern"] .ticket-box .form-group input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(107,163,160,0.15);
}

[data-theme="modern"] .ticket-box .form-group label {
  color: rgba(255,255,255,0.4);
}

/* ===== CHECKOUT PAGE — Modern ===== */
[data-theme="modern"] .checkout-summary,
[data-theme="modern"] .checkout-payment {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}

[data-theme="modern"] .stripe-card-element {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
}

[data-theme="modern"] .checkout-pay-btn {
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 3px;
  box-shadow: 0 4px 20px rgba(107,163,160,0.25);
}

[data-theme="modern"] .checkout-pay-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(107,163,160,0.35);
}

/* ===== CONFIRMATION PAGE ===== */
[data-theme="modern"] .confirmation-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}

[data-theme="modern"] .confirmation-container h1 {
  letter-spacing: 4px;
}

/* ===== TEAL SECTION ===== */
[data-theme="modern"] .teal-section {
  background: linear-gradient(135deg, #6ba3a0, #4a8885);
  padding: clamp(50px, 8vw, 100px) 40px;
}

[data-theme="modern"] .teal-section p {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.1rem);
}

/* ===== FOOTER — Minimal ===== */
[data-theme="modern"] .site-footer {
  background: var(--color-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 20px;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

[data-theme="modern"] .site-footer a {
  color: rgba(255,255,255,0.35);
  transition: color var(--transition-fast);
}

[data-theme="modern"] .site-footer a:hover {
  color: var(--color-accent);
}

/* ===== GALLERY — Modern ===== */
[data-theme="modern"] .gallery-grid {
  gap: 4px;
  padding: clamp(30px, 5vw, 60px) 20px;
}

[data-theme="modern"] .gallery-grid img {
  border-radius: 4px;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.85);
}

[data-theme="modern"] .gallery-grid img:hover {
  transform: scale(1.03);
  filter: brightness(1);
}

/* ===== TWO COLUMN — Modern ===== */
[data-theme="modern"] .two-col {
  padding: clamp(40px, 6vw, 80px) 20px;
  gap: 60px;
}

[data-theme="modern"] .two-col-text h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.5vw, 1.8rem);
  letter-spacing: 2px;
}

[data-theme="modern"] .two-col-text p {
  color: rgba(255,255,255,0.6);
}

/* ===== FORM SECTION ===== */
[data-theme="modern"] .form-section {
  background: rgba(255,255,255,0.02);
  padding: clamp(40px, 6vw, 80px) 20px;
}

[data-theme="modern"] .form-section input,
[data-theme="modern"] .form-section textarea,
[data-theme="modern"] .form-section select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

[data-theme="modern"] .form-section input:focus,
[data-theme="modern"] .form-section textarea:focus,
[data-theme="modern"] .form-section select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(107,163,160,0.15);
}

/* ===== LIGHTBOX — Modern ===== */
[data-theme="modern"] .event-lightbox {
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

[data-theme="modern"] .event-lightbox img {
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

/* ===== AGE GATE — Modern ===== */
[data-theme="modern"] .age-gate-overlay {
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

[data-theme="modern"] .age-gate-box {
  border-radius: 16px;
  padding: 48px 56px;
  background: #141414;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

[data-theme="modern"] .age-gate-box p {
  color: rgba(255,255,255,0.5);
}

[data-theme="modern"] .age-gate-buttons button {
  border-radius: 6px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all var(--transition-fast);
}

[data-theme="modern"] .btn-over-21 {
  background: var(--color-accent);
  color: #000;
}

[data-theme="modern"] .btn-over-21:hover {
  background: #5a908d;
  transform: translateY(-1px);
}

[data-theme="modern"] .btn-under-21 {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

[data-theme="modern"] .btn-under-21:hover {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}

/* ===== EMPTY STATE ===== */
[data-theme="modern"] .events-empty {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

/* ===== SLIDESHOW ===== */
[data-theme="modern"] .slideshow {
  border-radius: 12px;
  overflow: hidden;
}

[data-theme="modern"] .slideshow img {
  height: 450px;
}

[data-theme="modern"] .slideshow-controls button {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition-fast);
}

[data-theme="modern"] .slideshow-controls button:hover {
  background: rgba(255,255,255,0.2);
}

/* ===== CENTERED TEXT ===== */
[data-theme="modern"] .centered-text {
  padding: clamp(40px, 6vw, 80px) 20px;
}

[data-theme="modern"] .centered-text h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  letter-spacing: 3px;
}

[data-theme="modern"] .centered-text p {
  color: rgba(255,255,255,0.6);
}

/* ===== VETERANS BANNER ===== */
[data-theme="modern"] .veterans-banner img {
  border-radius: 8px;
}

[data-theme="modern"] .veterans-info {
  border-radius: 8px;
  background: linear-gradient(135deg, #d4c5a0, #c0b08a);
}

/* ===== PRESS LIST ===== */
[data-theme="modern"] .press-list a {
  border-bottom-color: rgba(255,255,255,0.06);
  transition: all var(--transition-fast);
  padding: 14px 0;
}

[data-theme="modern"] .press-list a:hover {
  padding-left: 8px;
  color: var(--color-accent);
}

/* ===== VIDEO GRID ===== */
[data-theme="modern"] .video-thumb {
  border-radius: 8px;
  overflow: hidden;
}

[data-theme="modern"] .video-thumb img {
  transition: transform 0.5s ease;
}

[data-theme="modern"] .video-thumb:hover img {
  transform: scale(1.05);
}

/* ===== RESPONSIVE — ADDITIONAL BREAKPOINTS ===== */

/* Large tablets / small desktops */
@media (max-width: 1024px) {
  [data-theme="modern"] .event-card-image { width: 220px; }
  [data-theme="modern"] .event-detail-container { grid-template-columns: 1fr 360px; }
}

/* Tablets */
@media (max-width: 768px) {
  [data-theme="modern"] .site-header {
    padding: 10px 20px;
  }

  [data-theme="modern"] .header-tagline {
    display: none;
  }

  [data-theme="modern"] .header-logo-left img,
  [data-theme="modern"] .header-logo-right img {
    height: 36px;
    width: auto;
  }

  [data-theme="modern"] .hero {
    min-height: 60vh;
  }

  [data-theme="modern"] .hero-content {
    padding: 24px;
  }

  [data-theme="modern"] .hero-content h1 {
    font-size: clamp(1.8rem, 1.5rem + 2vw, 3rem);
  }

  [data-theme="modern"] .event-card-image {
    width: 100%;
    max-height: 220px;
  }

  [data-theme="modern"] .event-detail-container {
    grid-template-columns: 1fr;
  }

  [data-theme="modern"] .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  [data-theme="modern"] .contact-form {
    max-width: 100%;
  }

  [data-theme="modern"] .newsletter-section {
    margin: 0 16px;
    padding: 36px 28px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  [data-theme="modern"] .hero {
    min-height: 50vh;
  }

  [data-theme="modern"] .hero-content h1 {
    font-size: 1.8rem;
  }

  [data-theme="modern"] .btn-primary {
    padding: 14px 32px;
    font-size: 0.8rem;
  }

  [data-theme="modern"] .event-card-body {
    padding: 20px;
  }
}
