/* =============================================
   ABADA Capoeira Tirol - Custom Styles
   Blue-first premium visual system
   ============================================= */

@font-face {
  font-family: "FF Providence Sans";
  src: url("../assets/fonts/ProvidenceSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Base ---------- */
:root {
  --font-display: "FF Providence Sans", "Providence Sans", "Bebas Neue", "Manrope", sans-serif;
}

::selection {
  background-color: #fed39e;
  color: #2d1302;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(254, 211, 158, 0.3), transparent 44%),
    radial-gradient(circle at 100% 0%, rgba(141, 175, 194, 0.16), transparent 42%),
    #f7eddc;
}

.font-providence {
  font-family: var(--font-display);
}

/* ---------- Navigation ---------- */
.nav-link {
  color: rgba(45, 19, 2, 0.74);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: #35566a;
}

.mobile-nav-link {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(141, 175, 194, 0.18);
  transition: color 0.25s ease;
}

.mobile-nav-link:hover {
  color: #8dafc2;
}

.hamburger-line {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: #2d1302;
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(255, 248, 238, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(141, 175, 194, 0.18);
  box-shadow: 0 10px 30px rgba(45, 19, 2, 0.08);
}

#navbar.scrolled .hamburger-line {
  background: #2d1302;
}

#navbar.scrolled .nav-link {
  color: rgba(45, 19, 2, 0.74);
}

#navbar.scrolled .nav-link:hover {
  color: #35566a;
}

#navbar.scrolled a.group > span {
  color: #2d1302;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  background: #f8a63a;
  color: #2d1302;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 0.75rem;
  transition: all 0.28s ease;
}

.btn-primary:hover {
  background: #fed39e;
  box-shadow: 0 10px 25px rgba(248, 166, 58, 0.24);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  display: inline-block;
  border: 2px solid rgba(141, 175, 194, 0.5);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 0.75rem;
  transition: all 0.28s ease;
}

.btn-secondary:hover {
  border-color: #8dafc2;
  color: #fff;
  background: rgba(141, 175, 194, 0.2);
  box-shadow: 0 10px 25px rgba(53, 86, 106, 0.14);
}

.btn-secondary:active {
  transform: scale(0.97);
}

.btn-cta-white {
  display: inline-block;
  background: #fed39e;
  color: #2d1302;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0.75rem;
  transition: all 0.28s ease;
}

.btn-cta-white:hover {
  background: #f8a63a;
  color: #2d1302;
  box-shadow: 0 10px 25px rgba(45, 19, 2, 0.16);
}

.btn-cta-white:active {
  transform: scale(0.97);
}

/* ---------- Hero Pattern ---------- */
.hero-pattern {
  background-image:
    radial-gradient(circle at 25% 25%, rgba(141, 175, 194, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(254, 211, 158, 0.08) 0%, transparent 48%);
  background-size: 120px 120px;
}

.hero-cinematic-base {
  background:
    radial-gradient(circle at 14% 24%, rgba(141, 175, 194, 0.24), transparent 48%),
    radial-gradient(circle at 78% 18%, rgba(254, 211, 158, 0.12), transparent 44%),
    linear-gradient(112deg, #cdbfa8 0%, #c2d1dd 54%, #9fb7c8 100%);
}

.hero-cinematic-image {
  opacity: 0.34;
  filter: grayscale(20%) contrast(108%) brightness(0.82);
}

.hero-cinematic-overlay {
  background:
    linear-gradient(92deg, rgba(202, 185, 154, 0.96) 0%, rgba(202, 185, 154, 0.84) 44%, rgba(202, 185, 154, 0.58) 70%, rgba(159, 183, 200, 0.88) 100%),
    radial-gradient(circle at 84% 40%, rgba(141, 175, 194, 0.12), transparent 46%);
}

.hero-headline {
  font-size: clamp(3.8rem, 9.5vw, 9.2rem);
  color: #2d1302;
  text-shadow: 0 10px 24px rgba(45, 19, 2, 0.2);
}

.hero-headline .text-capoeira-yellow {
  color: #35566a;
}

.hero-copy {
  color: #2d1302;
}

.hero-kicker {
  background: rgba(141, 175, 194, 0.14);
  border: 1px solid rgba(53, 86, 106, 0.34);
}

.hero-kicker-label {
  color: #35566a;
}

.hero-subtext {
  color: rgba(45, 19, 2, 0.84);
}

.hero-direct {
  color: rgba(45, 19, 2, 0.64);
}

.hero-direct-link {
  color: #35566a;
  font-weight: 600;
}

.hero-direct-link:hover {
  color: #842922;
}

.hero-portrait-shell {
  position: relative;
}

.hero-portrait-shell::before {
  content: "";
  position: absolute;
  inset: -1.1rem -1.1rem 2.4rem 2.8rem;
  border: 1px solid rgba(141, 175, 194, 0.28);
  border-radius: 1.25rem;
  pointer-events: none;
}

.hero-portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(53, 86, 106, 0.24);
  background: linear-gradient(160deg, rgba(53, 86, 106, 0.46), rgba(16, 35, 50, 0.72));
  box-shadow: 0 24px 42px rgba(45, 19, 2, 0.2);
}

.hero-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 20, 29, 0.08) 0%, rgba(9, 20, 29, 0.58) 100%),
    linear-gradient(90deg, rgba(9, 20, 29, 0.04) 0%, rgba(9, 20, 29, 0.24) 100%);
  pointer-events: none;
}

.hero-stats-strip {
  max-width: 52rem;
}

.hero-stat {
  border: 1px solid rgba(53, 86, 106, 0.2);
  background: rgba(223, 208, 182, 0.62);
  backdrop-filter: blur(8px);
  border-radius: 0.85rem;
  padding: 0.95rem 1rem 0.85rem;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: #8dafc2;
  line-height: 1;
}

.hero-stat-label {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: rgba(45, 19, 2, 0.66);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-cinematic .btn-secondary {
  border-color: rgba(53, 86, 106, 0.4);
  color: #2d1302;
  background: rgba(255, 248, 238, 0.4);
}

.hero-cinematic .btn-secondary:hover {
  border-color: #8dafc2;
  background: rgba(141, 175, 194, 0.28);
  color: #2d1302;
}

.hero-scroll-indicator {
  color: rgba(45, 19, 2, 0.5);
}

@media (max-width: 1024px) {
  .hero-cinematic-image {
    opacity: 0.3;
  }

  .hero-cinematic-overlay {
    background:
      linear-gradient(180deg, rgba(202, 185, 154, 0.92) 0%, rgba(202, 185, 154, 0.8) 42%, rgba(159, 183, 200, 0.9) 100%),
      radial-gradient(circle at 50% 22%, rgba(141, 175, 194, 0.1), transparent 44%);
  }

  .hero-headline {
    font-size: clamp(3.1rem, 15vw, 6.3rem);
  }
}

@media (max-width: 640px) {
  .hero-stats-strip {
    max-width: 100%;
  }

  .hero-stat {
    padding: 0.85rem 0.95rem 0.75rem;
  }
}

/* ---------- About Metrics ---------- */
.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-metric {
  text-align: center;
  padding: 0.75rem;
}

.about-metric-ring-wrap {
  position: relative;
  width: 9rem;
  height: 9rem;
  margin: 0 auto 1rem;
}

.about-metric-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.about-metric-track,
.about-metric-progress {
  fill: none;
  stroke-width: 4;
}

.about-metric-track {
  stroke: rgba(53, 86, 106, 0.2);
}

.about-metric-progress {
  stroke: #35566a;
  stroke-linecap: round;
  stroke-dasharray: 339.29;
  stroke-dashoffset: 339.29;
  transition: stroke-dashoffset 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-metric-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(45, 19, 2, 0.82);
}

.about-metric-suffix {
  font-size: 0.7em;
  margin-left: 0.06em;
}

.about-metric-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(45, 19, 2, 0.9);
}

@media (max-width: 900px) {
  .about-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-metrics {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .about-metric-ring-wrap {
    width: 8.1rem;
    height: 8.1rem;
  }
}

.about-angled-cta-wrap {
  margin-top: 3.2rem;
}

.about-angled-cta {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: #842922;
  clip-path: polygon(0 9%, 100% 1%, 100% 88%, 0 100%);
  padding: 5.1rem 1rem 4.7rem;
  border-top: 1px solid rgba(234, 241, 245, 0.2);
  border-bottom: 1px solid rgba(234, 241, 245, 0.2);
}

.about-angled-cta-content {
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
}

.about-angled-cta-title {
  margin: 0;
  color: #eaf1f5;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.03;
  text-transform: uppercase;
}

.about-angled-cta-text {
  margin: 1rem 0 1.7rem;
  color: rgba(234, 241, 245, 0.85);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.35;
}

.about-angled-cta-btn {
  display: inline-block;
  border: 2px solid rgba(234, 241, 245, 0.82);
  color: #eaf1f5;
  background: transparent;
  padding: 0.85rem 1.8rem;
  border-radius: 0.35rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.about-angled-cta-btn:hover {
  background: #fed39e;
  color: #2d1302;
  border-color: #fed39e;
}

@media (max-width: 640px) {
  .about-angled-cta {
    clip-path: polygon(0 6%, 100% 0, 100% 92%, 0 100%);
    padding: 4.3rem 1rem 4.1rem;
  }

  .about-angled-cta-text br {
    display: none;
  }
}

/* ---------- Light Section Readability ---------- */
#about .text-white,
#training .text-white,
#events .text-white,
#gallery .text-white,
#trainers .text-white,
#contact .text-white {
  color: #2d1302;
}

#about .text-white\/80,
#training .text-white\/80,
#events .text-white\/80,
#gallery .text-white\/80,
#trainers .text-white\/80,
#contact .text-white\/80 {
  color: rgba(45, 19, 2, 0.82);
}

#about .text-white\/70,
#training .text-white\/70,
#events .text-white\/70,
#gallery .text-white\/70,
#trainers .text-white\/70,
#contact .text-white\/70 {
  color: rgba(45, 19, 2, 0.72);
}

#about .text-white\/60,
#training .text-white\/60,
#events .text-white\/60,
#gallery .text-white\/60,
#trainers .text-white\/60,
#contact .text-white\/60 {
  color: rgba(45, 19, 2, 0.64);
}

#about .text-white\/50,
#training .text-white\/50,
#events .text-white\/50,
#gallery .text-white\/50,
#trainers .text-white\/50,
#contact .text-white\/50 {
  color: rgba(45, 19, 2, 0.58);
}

#about .text-white\/40,
#training .text-white\/40,
#events .text-white\/40,
#gallery .text-white\/40,
#trainers .text-white\/40,
#contact .text-white\/40 {
  color: rgba(45, 19, 2, 0.5);
}

#about .text-white\/30,
#training .text-white\/30,
#events .text-white\/30,
#gallery .text-white\/30,
#trainers .text-white\/30,
#contact .text-white\/30 {
  color: rgba(45, 19, 2, 0.4);
}

#about .text-white\/20,
#training .text-white\/20,
#events .text-white\/20,
#gallery .text-white\/20,
#trainers .text-white\/20,
#contact .text-white\/20 {
  color: rgba(45, 19, 2, 0.3);
}

#about .text-white\/10,
#training .text-white\/10,
#events .text-white\/10,
#gallery .text-white\/10,
#trainers .text-white\/10,
#contact .text-white\/10 {
  color: rgba(45, 19, 2, 0.2);
}

#about .border-white\/10,
#training .border-white\/10,
#events .border-white\/10,
#gallery .border-white\/10,
#trainers .border-white\/10,
#contact .border-white\/10 {
  border-color: rgba(53, 86, 106, 0.22);
}

#about .border-white\/5,
#training .border-white\/5,
#events .border-white\/5,
#gallery .border-white\/5,
#trainers .border-white\/5,
#contact .border-white\/5 {
  border-color: rgba(53, 86, 106, 0.14);
}

#about .bg-white\/5,
#training .bg-white\/5,
#events .bg-white\/5,
#gallery .bg-white\/5,
#trainers .bg-white\/5,
#contact .bg-white\/5 {
  background-color: rgba(141, 175, 194, 0.14);
}

#about .bg-white\/10,
#training .bg-white\/10,
#events .bg-white\/10,
#gallery .bg-white\/10,
#trainers .bg-white\/10,
#contact .bg-white\/10 {
  background-color: rgba(141, 175, 194, 0.2);
}

#about .bg-dark-brown,
#events .bg-dark-brown,
#trainers .bg-dark-brown {
  background-color: rgba(141, 175, 194, 0.22);
}

#events .hover\:text-white:hover {
  color: #35566a;
}

/* ---------- Training Schedule ---------- */
.location-tab {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(53, 86, 106, 0.24);
  color: rgba(53, 86, 106, 0.75);
  cursor: pointer;
  transition: all 0.25s ease;
}

.location-tab:hover {
  border-color: rgba(53, 86, 106, 0.4);
  color: #4e7086;
}

.location-tab.active {
  border-color: #4e7086;
  color: #4e7086;
  background: rgba(141, 175, 194, 0.25);
}

.schedule-matrix-shell {
  margin-top: 0.25rem;
}

.schedule-filter-row {
  margin-bottom: 0.6rem;
}

.schedule-filter {
  min-width: 220px;
  border: 1px solid rgba(53, 86, 106, 0.28);
  border-radius: 0.15rem;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(45, 19, 2, 0.86);
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.4rem 0.55rem;
}

.schedule-matrix-wrap {
  border: 1px solid rgba(141, 175, 194, 0.4);
}

.schedule-matrix {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  table-layout: fixed;
}

.schedule-matrix th,
.schedule-matrix td {
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.schedule-matrix thead th {
  background: rgba(141, 175, 194, 0.26);
  color: #2d1302;
  font-size: 1.78rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.6rem 0.5rem;
}

.schedule-matrix thead th.time-col-head {
  width: 4.2rem;
}

.schedule-matrix tbody th {
  background: rgba(141, 175, 194, 0.16);
  color: rgba(45, 19, 2, 0.72);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  padding: 0.8rem 0.45rem;
}

.schedule-matrix tbody td {
  background: rgba(255, 255, 255, 0.42);
  min-height: 68px;
  text-align: center;
  vertical-align: middle;
  padding: 0.7rem 0.5rem;
  color: rgba(45, 19, 2, 0.86);
}

.schedule-matrix td.course-block {
  background: #2d1302;
  color: #eaf1f5;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.14;
}

.schedule-matrix td.course-block span {
  display: block;
  margin-top: 0.24rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(254, 211, 158, 0.92);
}

.schedule-matrix td.course-block.is-filtered-out {
  background: rgba(255, 255, 255, 0.42) !important;
  color: transparent !important;
  box-shadow: none !important;
}

.schedule-matrix td.course-block.is-filtered-out span {
  display: none;
}

.schedule-matrix td.course-block.is-all {
  background: #35566a;
}

.schedule-matrix td.course-block.is-advanced {
  background: #4e7086;
}

.schedule-matrix td.course-block.is-roda {
  background: #842922;
}

.schedule-matrix-shell .overflow-x-auto {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
  .schedule-matrix thead th {
    font-size: 1.3rem;
    padding: 0.55rem 0.35rem;
  }

  .schedule-matrix tbody th {
    font-size: 0.92rem;
    padding: 0.7rem 0.35rem;
  }

  .schedule-matrix tbody td {
    padding: 0.6rem 0.4rem;
  }

  .schedule-matrix td.course-block {
    font-size: 0.86rem;
  }

  .schedule-matrix td.course-block span {
    font-size: 0.68rem;
  }
}

.schedule-location-note {
  color: rgba(45, 19, 2, 0.54);
}

.schedule-panel {
  display: none;
}

.schedule-panel.active {
  display: block;
}

/* ---------- Event Cards ---------- */
.event-card {
  padding: 0.25rem;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.event-location {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(141, 175, 194, 0.15);
  border: 1px solid rgba(53, 86, 106, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  color: rgba(45, 19, 2, 0.72);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eaf1f5;
  background: rgba(78, 112, 134, 0.75);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

@media (max-width: 480px) {
  .gallery-item-tall {
    grid-row: span 1;
  }
  .gallery-item-wide {
    grid-column: span 1;
  }
}

/* ---------- Image Placeholders ---------- */
.image-placeholder {
  position: relative;
  background: linear-gradient(135deg, rgba(141, 175, 194, 0.24), rgba(254, 211, 158, 0.24));
}

.image-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(141, 175, 194, 0.08) 25%, transparent 25%),
    linear-gradient(225deg, rgba(141, 175, 194, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, rgba(141, 175, 194, 0.08) 25%, transparent 25%),
    linear-gradient(315deg, rgba(141, 175, 194, 0.08) 25%, transparent 25%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-600 { animation-delay: 0.6s; opacity: 0; }

/* Scroll-triggered animations */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Misc ---------- */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #eaf1f5;
}

::-webkit-scrollbar-thumb {
  background: #35566a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4e7086;
}

/* Select dropdown fix for CTA dark theme */
select option {
  background: #35566a;
  color: #eaf1f5;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid #f8a63a;
  outline-offset: 2px;
}

/* ---------- Dark Test Theme ---------- */
body.theme-dark {
  background:
    radial-gradient(circle at 10% 0%, rgba(141, 175, 194, 0.2), transparent 42%),
    radial-gradient(circle at 92% 14%, rgba(132, 41, 34, 0.2), transparent 44%),
    #0f1c28 !important;
  color: #eaf1f5 !important;
}

body.theme-dark .text-dark-brown {
  color: #eaf1f5 !important;
}

body.theme-dark #about {
  background: linear-gradient(180deg, #122435 0%, #13293b 100%) !important;
}

body.theme-dark #training {
  background: linear-gradient(180deg, #10202f 0%, #152c40 100%) !important;
}

body.theme-dark #events {
  background: linear-gradient(180deg, #0f1d2b 0%, #132638 100%) !important;
}

body.theme-dark #gallery {
  background: linear-gradient(180deg, #132739 0%, #102131 100%) !important;
}

body.theme-dark #trainers {
  background: linear-gradient(180deg, #102235 0%, #13293c 100%) !important;
}

body.theme-dark #contact {
  background: linear-gradient(180deg, #0f1e2e 0%, #13253a 100%) !important;
}

body.theme-dark #navbar.scrolled {
  background: rgba(15, 29, 43, 0.9);
  border-bottom-color: rgba(141, 175, 194, 0.26);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

body.theme-dark #navbar.scrolled .nav-link,
body.theme-dark #navbar.scrolled a.group > span {
  color: rgba(234, 241, 245, 0.86);
}

body.theme-dark #navbar.scrolled .nav-link:hover {
  color: #fed39e;
}

body.theme-dark #about .text-white,
body.theme-dark #training .text-white,
body.theme-dark #events .text-white,
body.theme-dark #gallery .text-white,
body.theme-dark #trainers .text-white,
body.theme-dark #contact .text-white {
  color: #eaf1f5;
}

body.theme-dark #about .text-white\/80,
body.theme-dark #training .text-white\/80,
body.theme-dark #events .text-white\/80,
body.theme-dark #gallery .text-white\/80,
body.theme-dark #trainers .text-white\/80,
body.theme-dark #contact .text-white\/80 {
  color: rgba(234, 241, 245, 0.82);
}

body.theme-dark #about .text-white\/70,
body.theme-dark #training .text-white\/70,
body.theme-dark #events .text-white\/70,
body.theme-dark #gallery .text-white\/70,
body.theme-dark #trainers .text-white\/70,
body.theme-dark #contact .text-white\/70 {
  color: rgba(234, 241, 245, 0.72);
}

body.theme-dark #about .text-white\/60,
body.theme-dark #training .text-white\/60,
body.theme-dark #events .text-white\/60,
body.theme-dark #gallery .text-white\/60,
body.theme-dark #trainers .text-white\/60,
body.theme-dark #contact .text-white\/60 {
  color: rgba(234, 241, 245, 0.64);
}

body.theme-dark #about .text-white\/50,
body.theme-dark #training .text-white\/50,
body.theme-dark #events .text-white\/50,
body.theme-dark #gallery .text-white\/50,
body.theme-dark #trainers .text-white\/50,
body.theme-dark #contact .text-white\/50 {
  color: rgba(234, 241, 245, 0.56);
}

body.theme-dark #about .text-white\/40,
body.theme-dark #training .text-white\/40,
body.theme-dark #events .text-white\/40,
body.theme-dark #gallery .text-white\/40,
body.theme-dark #trainers .text-white\/40,
body.theme-dark #contact .text-white\/40 {
  color: rgba(234, 241, 245, 0.46);
}

body.theme-dark #about .border-white\/10,
body.theme-dark #training .border-white\/10,
body.theme-dark #events .border-white\/10,
body.theme-dark #gallery .border-white\/10,
body.theme-dark #trainers .border-white\/10,
body.theme-dark #contact .border-white\/10 {
  border-color: rgba(141, 175, 194, 0.26);
}

body.theme-dark #about .border-white\/5,
body.theme-dark #training .border-white\/5,
body.theme-dark #events .border-white\/5,
body.theme-dark #gallery .border-white\/5,
body.theme-dark #trainers .border-white\/5,
body.theme-dark #contact .border-white\/5 {
  border-color: rgba(141, 175, 194, 0.18);
}

body.theme-dark #about .bg-white\/5,
body.theme-dark #training .bg-white\/5,
body.theme-dark #events .bg-white\/5,
body.theme-dark #gallery .bg-white\/5,
body.theme-dark #trainers .bg-white\/5,
body.theme-dark #contact .bg-white\/5 {
  background-color: rgba(141, 175, 194, 0.14);
}

body.theme-dark #about .bg-white\/10,
body.theme-dark #training .bg-white\/10,
body.theme-dark #events .bg-white\/10,
body.theme-dark #gallery .bg-white\/10,
body.theme-dark #trainers .bg-white\/10,
body.theme-dark #contact .bg-white\/10 {
  background-color: rgba(141, 175, 194, 0.2);
}

body.theme-dark #about .bg-dark-brown,
body.theme-dark #events .bg-dark-brown,
body.theme-dark #trainers .bg-dark-brown {
  background-color: rgba(15, 28, 40, 0.62);
}

body.theme-dark .about-metric-number,
body.theme-dark .about-metric-label {
  color: #eaf1f5;
}

body.theme-dark .about-metric-track {
  stroke: rgba(141, 175, 194, 0.32);
}

body.theme-dark .about-metric-progress {
  stroke: #fed39e;
}

body.theme-dark .location-tab {
  border-color: rgba(141, 175, 194, 0.32);
  color: rgba(234, 241, 245, 0.75);
}

body.theme-dark .location-tab:hover {
  border-color: rgba(254, 211, 158, 0.46);
  color: #fed39e;
}

body.theme-dark .location-tab.active {
  border-color: #fed39e;
  color: #fed39e;
  background: rgba(254, 211, 158, 0.12);
}

body.theme-dark .schedule-filter {
  border-color: rgba(141, 175, 194, 0.34);
  background: rgba(18, 34, 49, 0.92);
  color: rgba(234, 241, 245, 0.9);
}

body.theme-dark .schedule-matrix-wrap {
  border-color: rgba(141, 175, 194, 0.34);
}

body.theme-dark .schedule-matrix th,
body.theme-dark .schedule-matrix td {
  border-color: rgba(141, 175, 194, 0.2);
}

body.theme-dark .schedule-matrix thead th {
  color: rgba(254, 211, 158, 0.96);
  background: rgba(132, 41, 34, 0.52);
}

body.theme-dark .schedule-matrix tbody th {
  background: rgba(141, 175, 194, 0.1);
  color: rgba(234, 241, 245, 0.7);
}

body.theme-dark .schedule-matrix tbody td {
  background: rgba(18, 34, 49, 0.72);
  color: rgba(234, 241, 245, 0.9);
}

body.theme-dark .schedule-matrix td.course-block {
  background: #2d1302;
  color: #eaf1f5;
}

body.theme-dark .schedule-matrix td.course-block span {
  color: rgba(254, 211, 158, 0.9);
}

body.theme-dark .schedule-matrix td.course-block.is-all {
  background: #35566a;
}

body.theme-dark .schedule-matrix td.course-block.is-advanced {
  background: #4e7086;
}

body.theme-dark .schedule-matrix td.course-block.is-roda {
  background: #842922;
}

body.theme-dark .schedule-location-note {
  color: rgba(234, 241, 245, 0.56);
}

body.theme-dark .event-location {
  background: rgba(254, 211, 158, 0.16);
  border-color: rgba(254, 211, 158, 0.4);
  color: rgba(254, 211, 158, 0.92);
}

body.theme-dark .gallery-overlay {
  background: rgba(15, 28, 40, 0.72);
}
