/*
 * Biblical Soul Care Academy - shared theme
 *
 * The parts every SCCI public page needs: colors, type, the header, the
 * footer, and the buttons. Page-specific layout stays in the page itself.
 *
 * Pages that use this: index.html, courses.html, course-detail.template.html.
 * A change to the header or the palette here reaches all three.
 */

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

:root {
  --orange: #df8e3c;
  --orange-dark: #c77a2a;
  --blue: #3570a0;
  --blue-hover: #a3afd1;
  --blue-light: #4a88b0;
  --blue-dark: #2a5a7a;
  --navy: #2c3e50;
  --navy-deep: #1a1a2e;
  --teal: #1B6B6E;
  --white: #ffffff;
  --text-dark: #333333;
  --text-body: #444444;
  --text-light: #666666;
  --bg-light: #f8f8f8;
  --footer-bg: #1e4a64;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

sup { font-size: 0.55em; vertical-align: super; top: -0.2em; position: relative; }

/* Header */
.header {
  background: var(--blue);
  padding: 0.8rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  height: 80px;
}

.header-nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.header-link {
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  transition: opacity 0.2s;
}

.header-link:hover { opacity: 0.85; }

.header-btn {
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  text-decoration: none;
  padding: 0.7rem 2.2rem;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.header-btn:hover { background: var(--orange-dark); }

/* Section basics */
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 3rem;
  max-width: 680px;
}

/* Buttons */
.btn-hero {
  font-family: 'Figtree', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  padding: 0.95rem 2.75rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-hero--orange { background: var(--orange); color: var(--white); }
.btn-hero--orange:hover { background: var(--orange-dark); }
.btn-hero--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-hero--outline:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

.btn-cta-white {
  display: inline-block;
  font-family: 'Figtree', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.95rem 3.5rem;
  background: var(--white);
  color: var(--orange);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-cta-white:hover {
  background: var(--navy-deep);
  color: var(--white);
}

/* Footer */
.footer {
  background: var(--footer-bg);
  padding: 2.5rem 4vw;
  text-align: center;
}

.footer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 768px) {
  .header { padding: 1rem 6vw; }
  .header-logo img { height: 55px; }
}

@media (max-width: 480px) {
  .header-link { display: none; }
}
