@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #1e293b;        /* Deep elegant slate/blue gray */
  --secondary: #94a3b8;      /* Soft elegant gray */
  --accent: #d4af37;         /* Subtle Gold accent */
  --text-main: #0f172a;
  --text-light: #475569;
  --bg-color: #f8fafc;       /* Very light cool gray */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Typography elements */
.headline { font-size: 3.5rem; letter-spacing: -0.02em; color: var(--primary); }
.subhead { font-size: 1.5rem; font-weight: 300; color: var(--text-light); margin-top: 1rem; }
.section-title { font-size: 2.5rem; margin-bottom: 2rem; color: var(--primary); text-align: center; }

/* Navigation */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: var(--transition);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: inherit;
}

.logo-container img {
  height: 75px;
  transition: transform 0.3s;
}

.logo-container img:hover {
  transform: scale(1.05);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0; height: 2px;
  bottom: -4px; left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px rgba(30, 41, 59, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(30, 41, 59, 0.3);
  background: #0f172a;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

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

/* Sections */
section {
  padding: 6rem 5%;
  scroll-margin-top: 80px;
}

/* Hero Section */
.hero {
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px;
  background: 
    linear-gradient(to bottom, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.4) 100%),
    url('sunrise_banner.png') center/cover no-repeat;
  position: relative;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  animation: fadeUp 1s ease forwards;
}

.hero-intro {
  margin: 2rem 0;
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.action-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

/* MicroChurch Section Background */
.bg-dark {
  background: var(--primary);
  color: white;
}

.bg-dark .section-title {
  color: white;
}

.bg-dark .text-light {
  color: #cbd5e1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Glassmorphic Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
}

.glass-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* Light Card */
.light-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin: 0 auto;
}

/* Provision Section */
.provision {
  background: #ffffff;
}

.provision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.provision-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.provision-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.provision-list {
  list-style: none;
}

.provision-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  font-weight: 500;
}

.provision-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Footer */
footer {
  background: #0f172a;
  color: white;
  padding: 4rem 5% 2rem;
  text-align: center;
}

.footer-nav {
  margin: 2rem 0;
}

.footer-nav a {
  color: var(--secondary);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s;
}

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

.copyright {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}

/* Keyframes */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .headline { font-size: 2.5rem; }
  .provision-content { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .action-group { flex-direction: column; }
}

/* Editorial / Article Styling */
.article-content {
  font-size: 1.15rem;
  line-height: 2;
  color: #334155;
}

.article-lead {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 2rem;
}

.has-dropcap::first-letter {
  float: left;
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  line-height: 0.8;
  padding-top: 0.2rem;
  padding-right: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.pull-quote {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent);
  text-align: center;
  margin: 4rem auto;
  position: relative;
  line-height: 1.4;
  max-width: 90%;
}
.pull-quote::before {
  content: "\201C"; /* Quote mark */
  font-size: 6rem;
  color: rgba(212, 175, 55, 0.15);
  position: absolute;
  top: -3rem;
  left: -2rem;
  font-family: serif;
}

.article-divider {
  text-align: center;
  margin: 3.5rem 0;
  color: rgba(212, 175, 55, 0.5);
  font-size: 1.2rem;
  letter-spacing: 1.5rem;
}
.article-divider::after {
  content: "✦ ✦ ✦";
}
