/*
Theme Name: ADAPT Church Planting Magazine
Description: A professional WordPress theme for church planting organizations, inspired by successful nonprofit websites. Features subscription management, church planter profiles, and comprehensive content management.
Author: Manus AI
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adapt-theme
Tags: church, nonprofit, magazine, subscription, responsive, modern
*/

/* ADAPT Brand Colors - Based on Compassion research */
:root {
  --adapt-navy: #20556B;
  --adapt-orange: #FF6600;
  --adapt-green: #4CAF50;
  --adapt-light-gray: #F5F5F5;
  --adapt-dark-gray: #333333;
  --adapt-white: #FFFFFF;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--adapt-dark-gray);
  background-color: var(--adapt-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--adapt-navy);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--adapt-orange);
}

/* Utility Classes */
.adapt-navy { color: var(--adapt-navy); }
.adapt-orange { color: var(--adapt-orange); }
.adapt-green { color: var(--adapt-green); }
.bg-adapt-navy { background-color: var(--adapt-navy); }
.bg-adapt-orange { background-color: var(--adapt-orange); }
.bg-adapt-green { background-color: var(--adapt-green); }
.bg-adapt-light-gray { background-color: var(--adapt-light-gray); }

.text-center { text-align: center; }
.text-white { color: white; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  padding: 0 15px;
}

.col-1 { flex: 0 0 8.333333%; }
.col-2 { flex: 0 0 16.666667%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333333%; }
.col-6 { flex: 0 0 50%; }
.col-8 { flex: 0 0 66.666667%; }
.col-12 { flex: 0 0 100%; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: #1a4a5a;
  color: white;
}

.btn-secondary {
  background-color: var(--adapt-orange);
  color: white;
}

.btn-secondary:hover {
  background-color: #e55a00;
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--adapt-navy);
  color: var(--adapt-navy);
}

.btn-outline:hover {
  background-color: var(--adapt-navy);
  color: white;
}

/* Cards */
.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-content {
  color: #666;
}

/* Header */
.site-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 40px;
  margin-right: 15px;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--adapt-navy);
}

/* Navigation */
.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  margin: 0 20px;
}

.main-navigation a {
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: var(--adapt-orange);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--adapt-navy) 0%, var(--adapt-green) 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 30px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  font-size: 60px;
  margin: 0 auto 20px;
  color: var(--adapt-orange);
}

.dashicons {
  width: 60px;
  height: 60px;
  font-size: 60px;
  margin: 0 auto 20px;
  color: var(--adapt-orange);
}

/* Success Stories */
.success-stories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.success-story {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.story-image {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
}

.story-content h3 {
  color: var(--adapt-navy);
  margin-bottom: 10px;
}

.story-location {
  color: var(--adapt-orange);
  font-weight: 600;
  margin-bottom: 15px;
}

.story-impact {
  background: var(--adapt-green);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 15px;
}

/* Subscription Tiers */
.subscription-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.subscription-tier {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.subscription-tier:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.subscription-tier.popular {
  border-color: var(--adapt-green);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--adapt-green);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.tier-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--adapt-navy);
  margin: 20px 0;
}

.tier-features {
  list-style: none;
  margin: 30px 0;
}

.tier-features li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.tier-features li:before {
  content: "✓";
  color: var(--adapt-green);
  font-weight: bold;
  margin-right: 10px;
}

/* Footer */
.site-footer {
  background: var(--adapt-dark-gray);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #ccc;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 30px;
  text-align: center;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .main-navigation ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }
  
  .main-navigation.active ul {
    display: block;
  }
  
  .main-navigation li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .main-navigation a {
    display: block;
    padding: 15px 20px;
  }
  
  .success-story {
    flex-direction: column;
    text-align: center;
  }
  
  .subscription-tier.popular {
    transform: none;
  }
  
  .col-4, .col-6, .col-8 {
    flex: 0 0 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .card {
    padding: 20px;
  }
}

