/* ============================================================
   Saginaw USBC Clone — Main Stylesheet
   Font: Open Sans | Primary: #03a9f4 | Dark: #17252a
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: rgb(70, 112, 127);
  background: #fff;
}

a {
  color: #03a9f4;
  text-decoration: none;
  transition: color .3s;
}
a:hover { color: rgb(2, 110, 159); }

h1 { font-weight: 300; font-size: 3.375em; line-height: 1.26; color: #17252a; margin: 0 0 16px; }
h2 { font-weight: 300; font-size: 2.625em; line-height: 1.143; color: #17252a; margin: 0 0 16px; }
h3 { font-weight: 300; font-size: 2.25em; line-height: 1.25; color: #17252a; margin: 0 0 16px; }
h4 { font-weight: 600; font-size: 1.25em; line-height: 1.6; color: #17252a; margin: 0 0 16px; }
h5 { font-weight: 600; font-size: 1.125em; line-height: 1.55; color: #17252a; margin: 0 0 16px; }
h6 { font-weight: 600; font-size: 1em; line-height: 1.6; color: #17252a; margin: 0 0 16px; }
p  { margin: 0 0 16px; }

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

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 30px 0; }

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.col {
  padding: 0 10px;
  flex: 1;
}
.col-half { width: 50%; flex: 0 0 50%; padding: 0 10px; }
.col-third { width: 33.333%; flex: 0 0 33.333%; padding: 0 10px; }
.col-quarter { width: 25%; flex: 0 0 25%; padding: 0 10px; }
.col-full { width: 100%; flex: 0 0 100%; padding: 0 10px; }
.col-two-thirds { width: 66.666%; flex: 0 0 66.666%; padding: 0 10px; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.d-flex      { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap   { flex-wrap: wrap; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background .4s, box-shadow .4s, padding .4s;
}
.site-nav.sticky {
  background: #fff;
  box-shadow: 0 0 4px rgba(0,0,0,.5);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  max-height: 70px;
  width: auto;
  display: block;
}

/* Desktop menu */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-menu > li {
  position: relative;
  margin: 0 20px;
  padding: 10px 0;
}
.nav-menu > li > a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0;
  color: #fff;
  white-space: nowrap;
  transition: color .3s;
}
.site-nav.sticky .nav-menu > li > a {
  color: rgb(2, 110, 159);
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: rgb(166, 220, 244);
}
.site-nav.sticky .nav-menu > li > a:hover,
.site-nav.sticky .nav-menu > li.active > a {
  color: #03a9f4;
}

/* Dropdown */
.nav-menu > li > .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 0 5px 2px rgba(0,0,0,.04);
  z-index: 100;
}
.nav-menu > li:hover > .dropdown { display: block; }
.dropdown li {
  list-style: none;
  border-bottom: 1px solid rgba(128,128,128,.2);
  background: #fff;
}
.dropdown li:last-child { border-bottom: none; }
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: rgb(37, 41, 42);
  transition: background .2s, color .2s;
}
.dropdown li:hover { background: #03a9f4; }
.dropdown li:hover a { color: #fff; }

/* Hamburger */
.nav-hamburger {
  display: none;
  background: rgba(0,0,0,.1);
  border: none;
  border-radius: 100%;
  padding: 5px;
  cursor: pointer;
  width: 34px; height: 34px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger svg { fill: #fff; display: block; }
.site-nav.sticky .nav-hamburger svg { fill: #17252a; }

/* Mobile off-canvas */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 300px; height: 100vh;
  background: #222B34;
  z-index: 2000;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1999;
}
.mobile-overlay.open { display: block; }
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 15px 20px;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: right;
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu ul li a {
  display: block;
  padding: 12px 40px;
  color: #fff;
  font-size: 14px;
  border-bottom: 1px solid #808080;
  transition: background .2s;
}
.mobile-menu ul li a:hover { background: #03a9f4; color: #fff; }
.mobile-menu ul li ul li a { padding-left: 55px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-image: url('https://saginawbowl.com/wp-content/uploads/2022/01/cropped-AD3HAP5N3NDOPG2UZVECSHJNU4-1.webp');
  background-size: cover;
  background-position: 52% center;
  background-repeat: no-repeat;
  padding: 180px 0;
  color: #fff;
  text-align: center;
}
.hero h1 { color: #fff; }
.hero h2 { color: #fff; }
.hero h3 { color: #fff; }
.hero p  { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 56px;
  padding: 15px 30px;
  font-size: 14px;
  cursor: pointer;
  transition: background .3s, border-color .3s;
  text-decoration: none;
}
.btn-primary {
  background: #03a9f4;
  color: #fff;
  border: 2px solid #03a9f4;
}
.btn-primary:hover { background: rgb(2,110,159); border-color: rgb(2,110,159); color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-sm {
  border-radius: 5px;
  padding: 12px 24px;
  font-size: 12px;
}

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

/* ============================================================
   FLOATING CARD (overlaps hero)
   ============================================================ */
.hero-card-wrap {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}
.hero-card {
  background: #fff;
  box-shadow: 0 4px 10px 2px rgba(74,74,74,.3);
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features-section {
  background: rgb(245, 250, 253);
}
.feature-card {
  background: #fff;
  box-shadow: 0 1px 3px 2px rgba(189,189,189,.4);
  text-align: center;
  padding: 30px 20px;
  height: 100%;
}
.feature-card svg {
  fill: #03a9f4;
  width: 50px;
  height: 50px;
  border: 2px solid #03a9f4;
  border-radius: 300px;
  padding: 15px;
  margin: 0 auto 15px;
  display: block;
}
.feature-card h5 {
  text-transform: uppercase;
}

/* ============================================================
   SECTION: BOWLING BOOK / GENERIC HIGHLIGHT
   ============================================================ */
.highlight-section {
  background: #fff;
}
.highlight-icon svg {
  fill: rgb(51,51,51);
  width: 64px; height: 64px;
  border: 2px solid transparent;
  border-radius: 300px;
  padding: 11px;
  display: block;
  margin-bottom: 15px;
}

/* ============================================================
   QUICK LINKS GRID
   ============================================================ */
.quick-link-item svg {
  fill: rgb(51,51,51);
  width: 64px; height: 64px;
  padding: 11px;
  display: block;
  margin-bottom: 10px;
}
.quick-link-item h5 {
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background-image: url('https://saginawbowl.com/wp-content/uploads/2022/01/cropped-cropped-8-public-bowling-lanes-1.jpg');
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  position: relative;
  padding: 150px 0;
  color: #17252a;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(23,37,42,.5);
}
.contact-section .container { position: relative; }
.contact-box-blue {
  background: #03a9f4;
  padding: 25px;
  border-radius: 5px 0 0 5px;
  text-align: center;
  color: #fff;
}
.contact-box-blue h4 { color: #fff; text-transform: uppercase; }
.contact-box-blue h5 { color: #fff; }
.contact-box-blue svg { fill: #fff; width: 40px; height: 40px; border: 2px solid #fff; border-radius: 300px; padding: 15px; display: block; margin: 0 auto 15px; }
.contact-box-white {
  background: #fff;
  border-radius: 0 5px 5px 0;
  text-align: left;
  padding: 40px;
}
.contact-maintenance {
  color: #46707f;
  font-style: italic;
}
.social-icons { display: flex; gap: 10px; justify-content: center; margin-top: 15px; }
.social-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid #fff;
  transition: border-color .3s;
}
.social-icon-circle:hover { border-color: rgb(166,220,244); }
.social-icon-circle svg { fill: #fff; width: 20px; height: 20px; }
.social-icon-circle:hover svg { fill: rgb(166,220,244); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 30px 0;
  text-align: center;
  color: rgb(70,112,127);
  font-size: 14px;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-hero {
  background: #17252a;
  padding: 100px 0 40px;
  margin-top: 0;
}
.page-hero h1 {
  color: #fff;
  font-size: 2.5em;
  margin: 0;
}

/* ============================================================
   PAGE CONTENT AREA
   ============================================================ */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}
.page-content h2 { color: #17252a; }
.page-content h3 { color: #17252a; border-bottom: 2px solid #03a9f4; padding-bottom: 8px; margin-top: 30px; }

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 15px;
}
.data-table th {
  background: #03a9f4;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.data-table td {
  padding: 8px 14px;
  border-bottom: 1px solid rgba(128,128,128,.2);
  color: rgb(70,112,127);
}
.data-table tr:hover td { background: rgb(245,250,253); }

/* HOF year groups */
.hof-notice {
  background: #fff8f0;
  border-left: 4px solid #f79007;
  padding: 15px 20px;
  margin-bottom: 30px;
  font-size: 15px;
  color: #17252a;
}
.hof-year-group {
  margin-bottom: 40px;
}
.hof-year {
  color: #03a9f4;
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 12px;
  border-bottom: 1px solid #03a9f4;
  padding-bottom: 6px;
}
.hof-names {
  color: #17252a;
  font-size: 15px;
}

/* Notice box */
.notice-box {
  background: rgb(245,250,253);
  border-left: 4px solid #03a9f4;
  padding: 20px 25px;
  margin-bottom: 30px;
  border-radius: 0 5px 5px 0;
}
.notice-box h4 { color: #03a9f4; margin-bottom: 8px; }

/* Schedule table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.schedule-table th {
  background: #17252a;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
}
.schedule-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #e5e5e5;
}
.schedule-table tr:nth-child(even) td { background: rgb(245,250,253); }
.schedule-table tr:hover td { background: #e8f7ff; }
.sunday-row td { background: #fff8f0 !important; }
.champ-row td { font-weight: 600; color: #03a9f4; }

.schedule-note {
  font-style: italic;
  color: rgb(70,112,127);
  margin-bottom: 8px;
}

/* Bowling centers */
.center-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.center-card h3 {
  color: #17252a;
  border: none;
  margin-top: 0;
  font-size: 1.3em;
  font-weight: 600;
}
.center-card p { margin: 4px 0; color: rgb(70,112,127); }
.center-card a { color: #03a9f4; }

/* Board of directors */
.board-house { margin-bottom: 35px; }
.board-house h3 { font-size: 1.2em; color: #03a9f4; border-bottom: 1px solid #03a9f4; padding-bottom: 6px; }
.board-member { padding: 6px 0; border-bottom: 1px solid rgba(128,128,128,.1); font-size: 15px; }
.board-member:last-child { border-bottom: none; }

/* Youth / scholarship */
.scholarship-table th { background: #17252a; }

/* Bowler of the month */
.botm-table th { background: #03a9f4; }
.botm-table .month-row td:first-child { font-weight: 700; color: #17252a; background: rgb(245,250,253); }

/* Applications */
.form-download-item {
  padding: 20px 25px;
  background: rgb(245,250,253);
  border-left: 4px solid #03a9f4;
  border-radius: 0 5px 5px 0;
  margin-bottom: 15px;
}
.form-download-item h4 { margin-bottom: 6px; }
.form-download-item p  { margin-bottom: 12px; }
.form-download-item .btn { white-space: nowrap; }

/* Suspensions */
.suspended-note {
  background: #fff8f0;
  border-left: 4px solid #f79007;
  padding: 15px 20px;
  margin-bottom: 30px;
  font-size: 15px;
}

/* Final averages */
.averages-intro { font-size: 15px; color: rgb(70,112,127); margin-bottom: 20px; }

/* ============================================================
   CHATY WIDGET PLACEHOLDER
   ============================================================ */
.chaty-placeholder {
  position: fixed;
  bottom: 25px; right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.chaty-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  cursor: pointer;
  transition: transform .2s;
  text-decoration: none;
}
.chaty-btn:hover { transform: scale(1.1); }
.chaty-fb  { background: #1E88E5; }
.chaty-mail{ background: #FF485F; }
.chaty-phone{background: #03E78B; }
.chaty-btn svg { width: 24px; height: 24px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .section-pad { padding: 60px 0; }
}
@media (max-width: 767px) {
  .section-pad { padding: 30px 0; }
  h1 { font-size: 2em; }
  h2 { font-size: 1.8em; }
  h3 { font-size: 1.5em; }
  .hero { padding: 120px 0; }
  .col-half, .col-third, .col-quarter, .col-two-thirds { width: 100%; flex: 0 0 100%; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }
  .contact-box-blue { border-radius: 5px 5px 0 0; }
  .contact-box-white { border-radius: 0 0 5px 5px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .page-content { padding: 30px 15px; }
  .data-table, .schedule-table { font-size: 13px; }
  .data-table td, .data-table th,
  .schedule-table td, .schedule-table th { padding: 7px 8px; }
}
