/* OVCA Redesign - styles.css
   Polished modern version
   Ocean View Christian Academy only
*/

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

:root {
  --navy: #0a2540;
  --navy-dark: #06182c;
  --red: #c8102e;
  --red-light: #e03a56;
  --cream: #f8f6f2;
  --off-white: #faf9f7;
  --text: #1c2331;
  --text-muted: #5a6577;
  --white: #ffffff;
  --border: #e6e3dc;
  --shadow: 0 10px 40px rgba(10, 37, 64, 0.08);
  --shadow-hover: 0 20px 50px rgba(10, 37, 64, 0.12);
  --radius: 16px;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--cream); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--white);
  padding: 0.5rem;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-list a {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  position: relative;
}

.nav-list a:hover,
.nav-list a.active { color: var(--white); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(200, 16, 46, 0.18) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-weight: 600;
}

.hero-content .lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-bottom: 2.25rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.3);
}
.btn-primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-visual {
  display: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}
.hero-visual img { width: 100%; height: 400px; object-fit: cover; }

/* Highlights */
.highlights {
  background: var(--white);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.04);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.highlight-item {
  text-align: center;
  padding: 1.25rem;
  background: var(--off-white);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.highlight-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.highlight-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card h3 {
  font-family: var(--font-serif);
  margin-bottom: 0.75rem;
  color: var(--navy);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.split-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; }

.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 { color: var(--white); margin-bottom: 0.75rem; }
.footer-links h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.75rem; }
.footer-links ul { list-style: none; }
.footer-links a { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; }
  .hero-visual { display: block; }
  .highlights-grid { grid-template-columns: repeat(4, 1fr); }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; color: var(--white); }
  .nav-list {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 0.85rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .nav-list.open { display: flex; }
  .nav-list a { color: rgba(255,255,255,0.85); }
  .btn-outline { margin-left: 0; }
  .logo img { height: 46px; }
}
