/* Splash Tutor - main styles (same colors as original) */
:root {
  --bg-page: #a6b3cb;
  --text-body: #6f6f6f;
  --text-heading: #333;
  --link: #fbde3b;
  --link-hover: #f8e966;
  --footer-text: #d96d1e;
  --footer-nav-bg: #648c33;
  --footer-nav-text: #f8fbc8;
  --accent-green: #7FB141;
  --bg-main: #003366;
  --text-main: #fff;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-body);
  background: var(--bg-page);
  text-align: center;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Layout */
.site-wrap {
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
  padding: 0 1rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Header - dolphin/sea background, logo on right, menu connected below */
.site-header {
  margin-bottom: 1.5rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #0a4d6e 0%, #0d7a9e 50%, #0891b2 100%);
  background-image: url("../images/header-bg.jpg"), linear-gradient(135deg, #0a4d6e 0%, #0d7a9e 50%, #0891b2 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,40,80,0.35) 0%, rgba(0,40,80,0.55) 100%);
  pointer-events: none;
}

/* White "Splash Tutor" text on top of header */
.site-title {
  margin: 0;
  padding: 0.25rem 1.5rem 0;
  font-family: "Quicksand", Verdana, sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.site-title a {
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.site-title a:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
}

.site-header h1 {
  margin: 0;
  padding: 0.2rem 1.5rem 0.4rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-heading);
  text-align: right;
  position: relative;
  z-index: 1;
}

.site-header h1 a {
  color: var(--text-heading);
  text-decoration: none;
  display: inline-block;
}

.site-header h1 a:hover {
  opacity: 0.9;
}

.site-logo {
  display: block;
  max-height: 120px;
  width: auto;
  margin: 0 0 0 auto;
}

/* Nav - connected to header, no gap */
.site-nav {
  background: rgba(72, 115, 38, 0.95);
  margin: 0;
  border-radius: 0;
  position: relative;
  z-index: 1;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: center;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  color: var(--footer-nav-text);
  padding: 0.4rem 0.6rem;
  display: inline-block;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

/* Main - dark blue with white text (like original) */
main {
  flex: 1;
  background: var(--bg-main);
  color: var(--text-main);
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  margin-bottom: 1.5rem;
}

/* Hero - minimal top, one message, one CTA */
.hero {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
}

.hero-headline {
  font-family: "Quicksand", Verdana, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  padding: 0;
  border: none;
  color: var(--text-main);
  line-height: 1.25;
}

.hero-tagline {
  font-size: 1rem;
  margin: 0 0 1.75rem 0;
  color: rgba(255,255,255,0.9);
}

.hero-cta-wrap {
  margin: 0;
}

.hero-cta {
  display: inline-block;
  background: var(--link);
  color: #003366;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-cta:hover {
  background: var(--link-hover);
  color: #003366;
  text-decoration: none;
}

/* Section 2 & 3 - with divider lines */
.home-section {
  padding-top: 1.25rem;
}

.section-line {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.35);
  margin: 0 0 1.25rem 0;
}

.home-section .offer-list {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
}

.home-section .offer-list li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  color: var(--text-main);
}

.home-section .offer-list li::before {
  content: "\2022";
  color: var(--link);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.section-with-pic {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-content {
  flex: 1;
  min-width: 200px;
}

.section-pic {
  flex-shrink: 0;
  width: 200px;
}

.section-pic img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

main h2 {
  margin: 0 0 0.75rem 0;
  padding: 0 0 0.35rem 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 2px solid rgba(255,255,255,0.3);
}

main p {
  margin: 0 0 1rem 0;
  color: var(--text-main);
}

main a {
  color: var(--link);
}

main a:hover {
  color: var(--link-hover);
}

/* Page tables (curriculum, rates, schedule) */
main table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

main table th,
main table td {
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.5rem 0.75rem;
  text-align: left;
  color: var(--text-main);
}

main table th {
  background: rgba(0,0,0,0.25);
  font-weight: 600;
}

main table tr:nth-child(even) td {
  background: rgba(0,0,0,0.1);
}

/* Schedule page: one size smaller font */
main .schedule-table {
  font-size: 0.85rem;
}

main .schedule-table th,
main .schedule-table td {
  padding: 0.4rem 0.5rem;
}

/* Home page two-column content */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

.content-block ul {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
}

.content-block ul li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
}

.content-block ul li {
  color: var(--text-main);
}

.content-block ul li::before {
  content: "\2022";
  color: var(--link);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.img-wrap {
  float: left;
  margin: 0 1rem 0.5rem 0;
}

.clear {
  clear: both;
}

.splashtutor-net-img {
  max-width: 220px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.contact-map {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.offer-with-pic {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.offer-pic {
  max-width: 140px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--footer-nav-bg);
  color: var(--footer-nav-text);
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--footer-nav-text);
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.foot-nav {
  margin-bottom: 0.5rem;
}

.foot-nav a {
  margin: 0 0.25rem;
}

.foot-nav a:not(:last-child)::after {
  content: " | ";
  color: var(--footer-text);
  margin-left: 0.25rem;
}

.site-footer .copy {
  color: var(--footer-text);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
