/* =============================================
   SHARED STYLES — Hannah Yawson Ministry
   Included by all pages. Page-specific overrides
   live in each page's own <style> block.
   ============================================= */

:root {
  --primary: #4B0082;
  --primary-light: #6A3093;
  --primary-dark: #350060;
  --secondary: #FFD700;
  --secondary-light: #FFE55C;
  --accent: #8A2BE2;
  --light: #f9f9f9;
  --dark: #333;
  --gray: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

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

/* Base */
body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   HEADER & NAV
   ============================================= */
header {
  background: var(--primary);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

nav.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  color: white;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 999;
  padding: 0.25rem;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 0.8rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  background: var(--secondary-light);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0 1.5rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
  text-align: left;
}

.footer-column {
  flex: 1;
  min-width: 220px;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.footer-column h3 {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: var(--secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  transition: var(--transition);
  opacity: 0.9;
}

.footer-links a:hover {
  color: var(--secondary);
  opacity: 1;
}

.social-links,
.social-links-footer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.social-links a,
.social-links-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: var(--transition);
  color: white;
}

.social-links a:hover,
.social-links-footer a:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.85;
  font-size: 0.9rem;
}

.copyright p + p {
  margin-top: 0.4rem;
}

/* =============================================
   RESPONSIVE — MOBILE NAV
   ============================================= */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }

  .logo-container {
    flex: 1;
  }

  .menu-toggle {
    display: block;
    position: static;
    transform: none;
  }

  nav.nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary);
    padding: 1rem 0;
    gap: 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  nav.nav-links a {
    padding: 0.75rem 1rem;
    display: block;
    width: 100%;
  }

  nav.nav-links a::after {
    display: none;
  }

  nav.nav-links.active {
    display: flex;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    min-width: 100%;
  }
}
