/* ----------------------------------------------------------
   PAGE-WIDE FONT RESET — MATCH ORIGINAL SBK FONT
---------------------------------------------------------- */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ----------------------------------------------------------
   NAVIGATION (shared look, page‑specific file)
---------------------------------------------------------- */
.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 {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .sbk-nav ul {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ----------------------------------------------------------
   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;
  }
}

/* ----------------------------------------------------------
   MAIN CONTENT
---------------------------------------------------------- */
/* Main body wrapper */
.sbk-main-body-with-image {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 260px auto 260px 1fr;
  /* 1fr = empty spacer columns on left and right */
  width: 100%;
  min-height: 100%;
}

/* Left image panel */
.sbk-left-image-panel {
  grid-column: 2; /* sits in the second column */
  background-image: url("Salsa-dancing-couple-image.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Main content */
.sbk-main-body-content {
  grid-column: 3; /* centre column */
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* Right image panel */
.sbk-right-image-panel {
  grid-column: 4; /* sits in the fourth column */
  background-image: url("Salsa-dancing-couple-image.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Inner content with black border, rounded corners + shadow */
.sbk-main-body-inner {
  width: 100%;
  max-width: 900px;
  border: 3px solid #000;
  border-radius: 12px;
  padding: 20px;
  background: white;
  color: black;
  box-sizing: border-box;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.25);
}

/* Mobile: hide images + collapse grid */
@media (max-width: 768px) {
  .sbk-main-body-with-image {
    display: block;
  }

  .sbk-left-image-panel,
  .sbk-right-image-panel {
    display: none;
  }

  .sbk-main-body-content {
    padding: 0;
  }

  .sbk-main-body-inner {
    margin: 0;
    border-width: 2px;
    border-radius: 8px;
    box-shadow: none;
  }
}


.sbk-main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  color: #000;
}

.sbk-section {
  margin-bottom: 40px;
}

.sbk-section h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.sbk-section p {
  font-size: 16px;
  line-height: 1.6;
}

.sbk-email a {
  font-size: 18px;
  font-weight: bold;
  color: #D4AF37;
  text-decoration: none;
}

.sbk-email a:hover {
  text-decoration: underline;
}

/* Buttons */
.sbk-btn {
  background: #D4AF37;
  color: #000;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.sbk-btn:hover {
  background: #b8962f;
}

/* ----------------------------------------------------------
   CONTACT FORMS GRID (new)
---------------------------------------------------------- */
.sbk-forms-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.sbk-forms-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 20px;
}

.sbk-forms-row p {
  margin: 0;
  font-size: 16px;
}

#joinUsBox,
#applyCoursesBox {
  display: none;
  margin-top: 0.5rem;
  padding: 1rem;
  border: 2px solid #d4af37;
  background: #fafafa;
  border-radius: 6px;
  font-size: 1rem;
}

#joinUsBox.show,
#applyCoursesBox.show {
  display: block;
}

/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */
.sbk-footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 25px 20px;
  margin-top: 60px;
}

.sbk-footer a {
  color: #fff;
  text-decoration: none;
}

.sbk-footer a:hover {
  text-decoration: underline;
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 600px) {
  .sbk-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .sbk-forms-row {
    grid-template-columns: 1fr;
  }
}