/* ============================================
   Revelation Oaks Church – Placeholder Site
   Clean, modern, mobile-first
   ============================================ */

:root {
  --black: #111111;
  --dark: #1a1a1a;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
  --red: #b91c1c;
  --red-dark: #991b1b;
  --blue: #1e3a5f;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red-dark);
}

/* ---------- Header & Nav ---------- */
.site-header {
  background: var(--black);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.logo-link img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.main-nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
  text-decoration: none;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  color: #fff;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--red);
}

.nav-cta {
  background: var(--red);
  color: white !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-weight: 600;
  opacity: 1 !important;
}

.nav-cta:hover {
  background: var(--red-dark);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--black) 0%, var(--dark) 60%, #2a1a1a 100%);
  color: white;
  padding: 4.5rem 1.5rem 5rem;
  text-align: center;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.hero .tagline {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: white;
}

.btn-primary:hover {
  background: var(--red-dark);
  color: white;
}

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

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

/* ---------- Sections ---------- */
.section {
  padding: 3.5rem 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-alt {
  background: var(--off-white);
}

.section h2 {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
  color: var(--black);
}

.section p {
  margin-bottom: 1rem;
  color: #333;
  max-width: 65ch;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Service times box */
.service-box {
  background: white;
  border-left: 4px solid var(--red);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  max-width: 420px;
}

.service-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--red);
}

.service-box p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 1.75rem;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #ccc;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.footer-col p,
.footer-col a {
  font-size: 0.95rem;
  color: #bbb;
  margin-bottom: 0.4rem;
  display: block;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

/* ---------- Page-specific ---------- */
.page-header {
  background: var(--black);
  color: white;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  opacity: 0.85;
  font-size: 1.1rem;
}

.content-block {
  max-width: 720px;
  margin: 0 auto;
}

.give-box {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
  margin: 2rem 0;
}

.give-box .btn {
  margin-top: 1rem;
  font-size: 1.1rem;
  padding: 1rem 2.2rem;
}

.contact-details {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  margin-bottom: 0.2rem;
}

/* Simple form */
.contact-form {
  margin-top: 2.5rem;
  max-width: 520px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }

  .main-nav.open {
    display: flex;
  }

  .hero {
    padding: 3.5rem 1.25rem 4rem;
  }

  .section {
    padding: 2.75rem 1.25rem;
  }
}
