/*
Theme Name: Orlando Tennis Academy
Theme URI: https://www.orlandotennisacademy.com
Author: Orlando Tennis Academy
Author URI: https://www.orlandotennisacademy.com
Description: Official theme for Orlando Tennis Academy 2026-27
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: ota
*/

/* ── CSS VARIABLES ────────────────────────────────────────── */
:root {
  --navy:       #1a2e5a;
  --navy-dark:  #0f1e3d;
  --red:        #c0392b;
  --red-dark:   #a93226;
  --green:      #2a7a3b;
  --gold:       #c9952a;
  --white:      #ffffff;
  --off-white:  #f4f5f9;
  --border:     #e2e6f0;
  --text:       #1a2035;
  --gray:       #5a6278;
  --gray-light: #9aa0b2;
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── UTILITY ──────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-red   { background: var(--red);   color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-navy  { background: var(--navy);  color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: #e8edf5; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 560px;
}

/* ── ANNOUNCEMENT BANNER ──────────────────────────────────── */
.ota-banner {
  background: var(--gold);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.ota-banner a { color: var(--white); text-decoration: underline; }

/* ── NAVIGATION ───────────────────────────────────────────── */
.ota-nav {
  background: var(--navy-dark);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 16px rgba(0,0,0,0.28);
}
.ota-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-logo .logo-fallback {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.nav-logo .logo-top {
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1.5px;
}
.nav-logo .logo-bot {
  font-size: 8.5px;
  font-weight: 800;
  background: var(--red);
  color: var(--white);
  padding: 2px 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  color: rgba(255,255,255,0.85);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 5px;
  display: block;
  transition: background 0.15s, color 0.15s;
}
.nav-links > li > a:hover,
.nav-links > li:hover > a {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
/* Dropdown */
.nav-links .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border-radius: 10px;
  min-width: 210px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
  padding: 8px 0;
  border: 1px solid var(--border);
}
.nav-links li:hover .dropdown { display: block; }
.nav-links .dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.1s;
}
.nav-links .dropdown li a:hover {
  background: var(--off-white);
  color: var(--navy);
}
.nav-links .dropdown .dd-divider {
  height: 1px;
  background: var(--border);
  margin: 5px 0;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}
.nav-register {
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background 0.15s;
}
.nav-register:hover { background: var(--red-dark); }

/* ── HERO ─────────────────────────────────────────────────── */
.ota-hero {
  background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 60%, #1e3870 100%);
  padding: 80px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ota-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.03) 0%, transparent 60%);
}
.ota-hero .container { position: relative; z-index: 1; }
.hero-logo {
  margin: 0 auto 28px;
  max-height: 80px;
  width: auto;
}
.hero-logo-fallback {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 28px;
}
.hero-logo-fallback .lt { font-size: 28px; font-weight: 900; color: var(--white); letter-spacing: 2px; }
.hero-logo-fallback .lb { font-size: 10px; font-weight: 800; background: var(--red); color: var(--white); padding: 3px 12px; letter-spacing: 3px; text-transform: uppercase; border-radius: 2px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.hero-badge .live-dot {
  width: 7px; height: 7px;
  background: #4caf50;
  border-radius: 50%;
}
.ota-hero h1 {
  font-size: 50px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.ota-hero h1 span { color: #7db8f7; }
.ota-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PROGRAM SECTIONS SHARED ──────────────────────────────── */
.prog-section { padding: 72px 24px; }
.prog-section.bg-light { background: var(--off-white); }
.prog-section.bg-white { background: var(--white); }
.prog-section.bg-navy  { background: var(--navy-dark); }
.prog-section.bg-navy .section-label { color: #7db8f7; }
.prog-section.bg-navy .section-title { color: var(--white); }
.prog-section.bg-navy .section-sub   { color: rgba(255,255,255,0.6); }

.season-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 32px;
}
.season-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
}
.season-sub {
  font-size: 14px;
  color: var(--gray);
}

/* ── PROGRAM CARDS ────────────────────────────────────────── */
.prog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.prog-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 22px 26px;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.prog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  border-color: var(--navy);
}
.prog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.prog-card.stripe-red::before    { background: var(--red); }
.prog-card.stripe-green::before  { background: var(--green); }
.prog-card.stripe-blue::before   { background: #2471a3; }
.prog-card.stripe-purple::before { background: #7d3c98; }
.prog-card.stripe-orange::before { background: #e67e22; }
.prog-card.stripe-pink::before   { background: #e91e8c; }
.prog-badge-label {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.badge-flagship { background: #fde8e8; color: #a93226; }
.badge-new      { background: #e6f7ec; color: #1a7a45; }
.badge-comp     { background: #e8f0fd; color: #1a4a8a; }
.badge-dev      { background: #f3e8fd; color: #6b2fa0; }
.badge-found    { background: #fff3e0; color: #b35c00; }
.badge-rec      { background: #fce4ec; color: #880e4f; }
.prog-card-name { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.prog-card-was  { font-size: 11px; color: var(--gray-light); margin-bottom: 10px; }
.prog-card-desc { font-size: 13px; color: var(--gray); line-height: 1.65; margin-bottom: 16px; }
.prog-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.prog-card-sched { font-size: 11.5px; color: var(--gray); line-height: 1.65; }
.prog-card-price { font-size: 22px; font-weight: 900; color: var(--navy); line-height: 1; }
.prog-card-price sub { font-size: 11px; font-weight: 400; color: var(--gray-light); }

.prog-footnote {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 24px;
}
.prog-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── SUMMER PROGRAMS ──────────────────────────────────────── */
.summer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.summer-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.summer-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}
.summer-card-img.img-green { background: linear-gradient(135deg, #0e6655 0%, #1abc9c 100%); }
.summer-card-img.img-navy  { background: linear-gradient(135deg, #1a2e5a 0%, #2c4f8a 100%); }
.summer-card-body { padding: 22px 22px 26px; }
.summer-card-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--navy);
  margin-bottom: 7px;
}
.summer-card-name { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.summer-card-desc { font-size: 13.5px; color: var(--gray); line-height: 1.65; margin-bottom: 16px; }
.summer-card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}
.summer-meta-row {
  display: flex;
  gap: 10px;
  font-size: 12.5px;
}
.summer-meta-label { font-weight: 700; color: var(--navy); min-width: 70px; }
.summer-meta-val   { color: var(--gray); }

/* ── WHY OTA ──────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.why-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  text-align: center;
}
.why-icon { font-size: 28px; margin-bottom: 12px; }
.why-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.why-desc  { font-size: 13px; color: var(--gray); line-height: 1.65; }

/* ── QUICK CONTACT ────────────────────────────────────────── */
.contact-strip {
  background: var(--navy);
  padding: 48px 24px;
  text-align: center;
}
.contact-strip h2 { font-size: 28px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.contact-strip p  { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.contact-item { color: rgba(255,255,255,0.9); font-size: 14px; }
.contact-item strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.45); margin-bottom: 4px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.ota-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.55);
  padding: 56px 24px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer-brand img {
  height: 42px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 16px;
}
.footer-contact a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 4px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── INTERIOR PAGES ───────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 52px 24px;
  text-align: center;
}
.page-hero h1 { font-size: 36px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.page-hero p  { font-size: 16px; color: rgba(255,255,255,0.65); }
.page-content { padding: 60px 24px; }
.page-content .container { max-width: 860px; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .prog-cards   { grid-template-columns: 1fr 1fr; }
  .summer-grid  { grid-template-columns: 1fr; }
  .why-grid     { grid-template-columns: 1fr 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .ota-hero h1    { font-size: 34px; }
  .section-title  { font-size: 26px; }
  .prog-cards     { grid-template-columns: 1fr; }
  .nav-links, .nav-right .nav-phone { display: none; }
  .footer-grid    { grid-template-columns: 1fr; }
  .contact-info   { gap: 24px; }
}


/* ── FALL PROGRAM PAGE ──────────────────────────────────────── */

/* Section jump nav */
.fall-jump-nav {
  background: var(--navy);
  position: sticky;
  top: 68px;
  z-index: 98;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}
.fall-jump-nav .container {
  display: flex;
  align-items: center;
  gap: 0;
  height: 46px;
}
.fall-jump-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 600;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: all 0.15s;
}
.fall-jump-nav a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.fall-jump-nav .reg-btn {
  margin-left: auto;
  background: var(--red);
  color: var(--white);
  border-right: none;
  border-radius: 0;
  font-weight: 700;
}
.fall-jump-nav .reg-btn:hover { background: var(--red-dark); }

/* Recreational / HP section dividers */
.fall-section {
  padding: 60px 0 0;
}
.fall-section-title {
  background: var(--off-white);
  border-top: 3px solid var(--navy);
  padding: 20px 0;
  margin-bottom: 0;
}
.fall-section-title h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.fall-section-title h2::before {
  content: '';
  width: 5px;
  height: 28px;
  background: var(--red);
  border-radius: 3px;
  display: inline-block;
}

/* Location block */
.location-block {
  padding: 48px 0 56px;
  border-bottom: 2px solid var(--border);
}
.location-block:last-child { border-bottom: none; }
.location-block.bg-alt { background: var(--off-white); }
.location-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.location-logo { max-height: 60px; width: auto; }
.location-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.location-addr { font-size: 13.5px; color: var(--gray); }
.location-reg { text-align: right; }
.location-reg .reg-note { font-size: 11px; color: var(--gray-light); margin-top: 6px; }

/* Program type block */
.prog-type {
  margin-bottom: 36px;
}
.prog-type-header {
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 6px 6px 0 0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.prog-type-body {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  background: var(--white);
}

/* Program group within a type */
.prog-group {
  padding: 20px 20px 22px;
  border-bottom: 1px solid var(--border);
}
.prog-group:last-child { border-bottom: none; }
.prog-group-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.prog-group-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 680px;
}
.prog-group-price {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: #e8f0fb;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.prog-group-price.multi { background: transparent; padding: 0; color: var(--text); font-weight: 400; font-size: 13px; }

/* Session list */
.session-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.session-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  flex-wrap: wrap;
}
.session-day {
  font-weight: 600;
  color: var(--text);
  min-width: 220px;
}
.session-time {
  color: var(--gray);
}
.session-price-inline {
  font-weight: 700;
  color: var(--navy);
  font-size: 12.5px;
}
.session-avail {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  background: #e6f7ec;
  color: #1a7a45;
  margin-left: auto;
}
.session-avail.sold {
  background: #fde8e8;
  color: var(--red);
  text-decoration: line-through;
}

/* Standalone price box */
.price-note {
  font-size: 13px;
  color: var(--gray);
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--off-white);
  border-radius: 6px;
  border-left: 3px solid var(--navy);
  line-height: 1.65;
}
.price-note strong { color: var(--navy); }

/* Two-column layout for sessions */
.sessions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 0;
}
.sessions-col h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-light);
  margin-bottom: 8px;
}

/* HP group cards on the fall page */
.fall-hp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.hp-note {
  font-size: 14px;
  color: var(--gray);
  margin-top: 16px;
  line-height: 1.65;
}
.disclaimer {
  font-size: 12px;
  color: var(--gray-light);
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-style: italic;
}

@media (max-width: 740px) {
  .fall-hp-grid   { grid-template-columns: 1fr; }
  .sessions-grid  { grid-template-columns: 1fr; }
  .location-header { flex-direction: column; }
  .location-reg   { text-align: left; }
}
