/* Cleveland Basketball School - Enfold Theme Custom CSS */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,600,700|Lato:300,400,700&display=swap');

:root {
  --cbs-red: #bf1e2e;
  --cbs-red-dark: #961522;
  --cbs-dark: #121217;
  --cbs-gray-dark: #1d1d22;
  --cbs-gray-light: #f7f7f8;
  --cbs-text: #333333;
  --cbs-text-muted: #777777;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--cbs-text);
  background: #ffffff;
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .oswald {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.25;
}

a {
  color: var(--cbs-red);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--cbs-red-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Enfold Grid System */
.container {
  width: 100%;
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 20px;
}

.container_wrap {
  width: 100%;
  clear: both;
  position: relative;
}

.flex_column {
  float: left;
  position: relative;
  min-height: 1px;
}

.av_one_half { width: 48%; margin-right: 4%; }
.av_one_third { width: 30.66%; margin-right: 4%; }
.av_two_third { width: 65.33%; margin-right: 4%; }
.av_one_fourth { width: 22%; margin-right: 4%; }
.av_three_fourth { width: 74%; margin-right: 4%; }
.av_one_fifth { width: 16.8%; margin-right: 4%; }
.av_three_fifth { width: 58.4%; margin-right: 4%; }

.flex_column.first { clear: left; }
.flex_column.avia-builder-el-last { margin-right: 0 !important; }

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Header & Navigation */
#header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #111114;
  border-bottom: 2px solid var(--cbs-red);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.av-logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 110px;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.main_menu {
  display: flex;
  align-items: center;
}

.av-main-nav {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px;
}

.av-main-nav > li {
  position: relative;
}

.av-main-nav > li > a {
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 18px 12px;
  display: block;
  letter-spacing: 0.5px;
}

.av-main-nav > li:hover > a,
.av-main-nav > li.current-menu-item > a {
  color: var(--cbs-red);
}

/* Dropdown Sub-menu */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #1d1d22;
  border-top: 3px solid var(--cbs-red);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  list-style: none;
  padding: 10px 0;
  display: none;
  z-index: 1000;
}

.av-main-nav > li:hover > .sub-menu {
  display: block;
}

.sub-menu li a {
  display: block;
  padding: 10px 20px;
  color: #e5e5e5;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sub-menu li:last-child a {
  border-bottom: none;
}

.sub-menu li a:hover {
  background: rgba(191, 30, 46, 0.15);
  color: #ffffff;
  padding-left: 25px;
}

/* Social Icons in Header */
.social_bookmarks {
  display: flex;
  list-style: none;
  margin-left: 15px;
  gap: 8px;
}

.social_bookmarks li a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  color: #ffffff;
  font-size: 14px;
}

.social_bookmarks li a:hover {
  background: var(--cbs-red);
}

/* Buttons */
.avia-button {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.avia-color-red {
  background-color: var(--cbs-red) !important;
  color: #ffffff !important;
}

.avia-color-red:hover {
  background-color: var(--cbs-red-dark) !important;
  box-shadow: 0 4px 15px rgba(191, 30, 46, 0.4);
}

.avia-color-light {
  background-color: transparent !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

.avia-color-light:hover {
  background-color: #ffffff !important;
  color: var(--cbs-dark) !important;
}

.avia-button-fullwidth {
  width: 100%;
  display: block;
}

/* Enfold Sections */
.avia-section {
  padding: 60px 0;
  position: relative;
}

.avia-section-huge {
  padding: 90px 0;
}

.main_color {
  background-color: #ffffff;
  color: var(--cbs-text);
}

.dark_bg_color {
  background-color: var(--cbs-dark);
  color: #ffffff;
}

/* Hero Slideshow Banner */
.cbs-hero-banner {
  background-size: cover;
  background-position: center center;
  position: relative;
  color: #ffffff;
  padding: 120px 0;
  text-align: center;
}

.cbs-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 10, 10, 0.75);
}

.cbs-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.cbs-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

.cbs-hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-weight: 300;
  color: #e5e5e5;
  margin-bottom: 35px;
}

.cbs-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Special Headings */
.av-special-heading {
  margin-bottom: 30px;
  text-align: center;
}

.av-special-heading-tag {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 12px;
}

.special-heading-border {
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.special-heading-inner-border {
  width: 80px;
  height: 4px;
  background-color: var(--cbs-red);
}

/* Number Counters */
.avia-animated-number-title {
  font-family: 'Oswald', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.avia-animated-number-content {
  font-size: 20px;
  color: #fce8ea;
  font-weight: 400;
}

/* Feature Icons (Why CBS) */
.cbs-feature-box {
  text-align: center;
  padding: 20px 10px;
}

.cbs-feature-icon {
  width: 70px;
  height: 70px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 26px;
  color: #ffffff;
  background: rgba(255,255,255,0.05);
}

.cbs-feature-title {
  font-family: 'Oswald', sans-serif;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.5px;
}

/* Page Inner Banner */
.page-banner-strip {
  background: #1d1d22;
  background-image: linear-gradient(rgba(18, 18, 23, 0.85), rgba(18, 18, 23, 0.95)), url('https://clevelandbasketballschool.com/wp-content/uploads/2016/02/slide-3.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  color: #ffffff;
  border-bottom: 3px solid var(--cbs-red);
}

.page-banner-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #ffffff;
  margin-bottom: 10px;
}

.breadcrumbs {
  font-size: 13px;
  color: #a9a9bc;
}

.breadcrumbs a {
  color: #d1d1db;
}

/* Cards & Content Blocks */
.cbs-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cbs-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.09);
}

.cbs-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.cbs-card-body {
  padding: 25px;
}

.cbs-badge {
  display: inline-block;
  background: var(--cbs-red);
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

/* Testimonial Quote */
.testimonial-quote-box {
  background: #f7f7f8;
  border-left: 4px solid var(--cbs-red);
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 0 6px 6px 0;
}

.testimonial-text {
  font-size: 16px;
  font-style: italic;
  color: #222222;
  margin-bottom: 12px;
}

.testimonial-author {
  font-family: 'Oswald', sans-serif;
  color: var(--cbs-red);
  font-weight: 700;
  font-size: 15px;
}

.testimonial-role {
  font-size: 13px;
  color: #666666;
}

/* Registration Table / Schedule */
.cbs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.cbs-table th, .cbs-table td {
  padding: 14px 18px;
  border: 1px solid #eaeaea;
  text-align: left;
}

.cbs-table th {
  background: var(--cbs-dark);
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
}

.cbs-table tr:nth-child(even) {
  background: #f9f9fa;
}

/* Footer Socket */
#socket {
  background: #0d0d10;
  color: #888888;
  padding: 30px 0;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

#socket .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.avia3-menu ul {
  display: flex;
  list-style: none;
  gap: 18px;
}

.avia3-menu a {
  color: #999999;
}

.avia3-menu a:hover {
  color: var(--cbs-red);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .flex_column {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 25px;
  }

  .av-logo-container {
    flex-direction: column;
    padding: 15px;
    gap: 12px;
  }

  .av-main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .av-main-nav > li > a {
    padding: 8px 10px;
    font-size: 13px;
  }

  #socket .container {
    flex-direction: column;
    text-align: center;
  }

  .avia3-menu ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}
