/* ----------------------------------------------------------
   PAGE-WIDE FONT RESET — MATCH SBK FONT
---------------------------------------------------------- */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: #000;
}

/* ----------------------------------------------------------
   NAVIGATION
---------------------------------------------------------- */
.sbk-nav {
  background: #111;
  padding: 12px 0;
}

.sbk-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.sbk-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.sbk-nav a:hover,
.sbk-nav a.active {
  text-decoration: underline;
}

/* ----------------------------------------------------------
   HEADER
---------------------------------------------------------- */

.sbk-header {
  padding: 0;
  height: 230px;              /* reduced height */
  position: relative;
  color: white;
}

/* Outer box with dancers visible even at smaller height */
.sbk-header-outer {
  width: 100%;
  height: 100%;
  background-image: url("header-image.png");
  background-size: cover;
  background-position: center top;   /* keeps dancers visible */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

/* Wider black box for readability */
.sbk-header-inner-black {
  background: #000;
  padding: 16px 26px;
  display: inline-block;
  border: 3px solid #D4AF37;
  max-width: 90%;
}

/* Logo + text side-by-side */
.sbk-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 100%;
}

/* Logo */
.sbk-header-logo {
  width: 85px;                /* slightly smaller to fit reduced height */
  height: auto;
  margin: 0;
}

/* Title + tagline stacked */
.sbk-header-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: center;
}

/* Title */
.sbk-title {
  font-size: 26px;
  font-weight: bold;
  color: #D4AF37;
  margin: 0;
}

/* Tagline */
.sbk-header-tagline {
  display: block;
  font-size: 15px;
  opacity: 0.95;
  margin-top: 4px;
}

/* ----------------------------------------------------------
   RESPONSIVE — stays readable + dancers visible on mobile
---------------------------------------------------------- */
@media (max-width: 600px) {

  .sbk-header {
    height: 200px;            /* reduced mobile height */
  }

  .sbk-header-inner {
    flex-direction: row;
    gap: 14px;
  }

  .sbk-header-inner-black {
    padding: 14px 20px;
    max-width: 95%;
  }

  .sbk-title {
    font-size: 22px;
  }

  .sbk-header-tagline {
    font-size: 14px;
  }

  .sbk-header-logo {
    width: 70px;
  }
}

/* ----------------------------------------------------------
   GOLD SBK BUTTON
---------------------------------------------------------- */
.sbk-btn {
  background: #D4AF37; /* gold */
  color: #000;         /* black text */
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.sbk-btn:hover {
  background: #b8962f; /* darker gold */
}

/* ----------------------------------------------------------
   MAIN CONTENT
---------------------------------------------------------- */
.cms-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* MOBILE SPACING IMPROVEMENT */
@media (max-width: 600px) {
  .cms-container {
    margin-top: 20px;
  }
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
}

/* STICKY SECTION TITLES ON MOBILE */
@media (max-width: 600px) {
  .section-title {
    position: sticky;
    top: 0;
    background: #fafafa;
    padding: 10px 0;
    z-index: 50;
    margin-top: 30px;
    margin-bottom: 15px;
  }
}


/* -----------------------------------------------------------
   MEMBERSHIP GRID
----------------------------------------------------------- */

.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.membership-card {
  padding: 20px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.membership-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

/* MOBILE MEMBERSHIP IMPROVEMENT */
@media (max-width: 600px) {
  .membership-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .membership-card {
    padding: 16px;
  }
  .membership-card img {
    width: 110px;
    height: 110px;
  }
}


/* -----------------------------------------------------------
   RENEWAL TOOLTIP
----------------------------------------------------------- */

.renewal-tooltip-container {
  margin-top: 40px;
  text-align: center;
  position: relative;
}

.renewal-button {
  background: #fbbf24;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.renewal-tooltip {
  display: none;
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  max-width: 500px;
  margin: 15px auto 0;
  text-align: left;
}


/* -----------------------------------------------------------
   COURSES SECTION
----------------------------------------------------------- */

.courses-divider {
  height: 2px;
  background: #e5e7eb;
  margin: 50px 0 30px;
}

@media (max-width: 600px) {
  .courses-divider {
    margin: 30px 0 20px;
  }
}

.courses-subtitle {
  font-size: 1.3rem;
  margin: 20px 0 15px;
  text-align: center;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

@media (max-width: 700px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

/* CORE COURSE CARDS */
.course-card {
  position: relative;
  padding: 20px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* MOBILE COURSE CARD IMPROVEMENT */
@media (max-width: 600px) {
  .course-card {
    padding: 14px;
  }
  .course-image-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
  }
  .course-hours {
    font-size: 0.9rem;
  }
}

.course-image-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.course-image-wrapper.coming-soon {
  background: #e5e7eb;
  color: #374151;
  font-size: 0.9rem;
  border-radius: 10px;
  font-weight: 600;
}

/* -----------------------------------------------------------
   OPTIONAL COURSES — LIST STYLE
----------------------------------------------------------- */

.optional-course-list {
  column-count: 2;
  column-gap: 20px;
}

@media (max-width: 600px) {
  .optional-course-list {
    column-count: 1;
  }
}

.optional-course-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  max-width: 600px;
}

.optional-course-item {
  background: #ffffff;
  padding: 4px 18px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
  border-left: 4px solid #fbbf24; /* MOBILE SCANNING IMPROVEMENT */
  min-height: 44px; /* TAP TARGET IMPROVEMENT */
  display: flex;
  align-items: center;
}

.optional-course-item:active {
  background: #e5e7eb;
  transform: scale(0.98);
}

/* Hover description bubble (desktop only) */
.optional-course-item .course-description {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 90%;
  background: #f9fafb;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  margin-top: 8px;
  font-size: 0.9rem;
  z-index: 9999;
}

@media (min-width: 768px) {
  .optional-course-item:hover .course-description {
    display: block;
  }
}

.optional-info {
  text-align: center;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.5;
}


/* -----------------------------------------------------------
   COURSE MODAL POPUP
----------------------------------------------------------- */

.course-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.course-modal-content {
  background: white;
  max-width: 500px;
  width: 100%;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  animation: fadeIn 0.25s ease;
}

/* MOBILE MODAL IMPROVEMENT */
@media (max-width: 600px) {
  .course-modal-content {
    padding: 18px;
    border-radius: 10px;
  }
  .course-modal-close {
    font-size: 2rem;
  }
  #course-modal-title {
    font-size: 1.3rem;
  }
  #course-modal-text {
    font-size: 1rem;
    line-height: 1.5;
  }
}

.course-modal-close {
  float: right;
  font-size: 1.8rem;
  cursor: pointer;
  font-weight: bold;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */

.sbk-footer-divider {
  height: 2px;
  background: #e5e7eb;
  margin-top: 40px;
}

.sbk-footer {
  text-align: center;
  padding: 30px 20px;
  background: #111827;
  color: white;
}

.sbk-footer-title {
  font-weight: 700;
  margin-bottom: 5px;
  color: #D4AF37;
}

.sbk-footer-tagline {
  font-size: 14px;
  margin-bottom: 12px;
}

.sbk-submit-wrapper {
  margin-bottom: 8px;
}

.sbk-submit-button {
  display: inline-block;
  background: #fbbf24;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  color: black;
}

.sbk-footer-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sbk-footer-links a {
  color: #fbbf24;
  font-size: 0.95rem;
}

/* -----------------------------------------------------------
   COOKIE BANNER + PANEL
----------------------------------------------------------- */

.cookie-banner,
.cookie-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 2px solid #e5e7eb;
  padding: 15px;
  display: none;
  z-index: 10000;
}

.cookie-banner-inner,
.cookie-panel-content {
  max-width: 900px;
  margin: auto;
}

.cookie-btn {
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
}

.cookie-btn.primary {
  background: #fbbf24;
}

.cookie-btn.secondary {
  background: #e5e7eb;
}
/* Force gold title inside header */
.sbk-header .sbk-header-text .sbk-title {
  color: #D4AF37 !important;
}

