/* Nourish the Saints - Pure HTML Stylesheet */
/* Dark Conservative Theme */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background-color: #1f2937;
  color: white;
  line-height: 1.6;
}

.app {
  min-height: 100vh;
  background-color: #1f2937;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1f2937; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.5); }

/* HEADER */
.header {
  background: rgba(31,41,55,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 24px;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-link {
  text-decoration: none;
  color: white;
}

.header h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 4px;
}

.tagline {
  font-size: 0.875rem;
  opacity: 0.8;
}

.main-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 8px 16px;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* MAIN CONTENT */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

section {
  margin-bottom: 64px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.3;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

p {
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
}

/* HERO */
.hero-welcome {
  text-align: center;
  padding: 48px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-bottom: 48px;
}

.scripture-box {
  max-width: 800px;
  margin: 32px auto;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid white;
  border-radius: 8px;
}

.scripture-text {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.scripture-ref {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* BUTTONS */
.button {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid white;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  background: transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.button:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.button-primary {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.button-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
}

/* SECTIONS */
.featured-section,
.events-section,
.about-section,
.contact-cta {
  background: rgba(255,255,255,0.03);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 48px;
}

/* GRIDS */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.sermons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

@media (min-width: 1025px) {
  .sermons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sermons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CARDS */
.featured-card,
.event-card,
.sermon-card,
.blog-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.featured-card:hover,
.event-card:hover,
.sermon-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.3);
}

.featured-card img,
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.featured-card h3,
.blog-card h3 {
  padding: 16px 24px 8px;
}

.featured-card p,
.blog-card p {
  padding: 0 24px 16px;
  color: rgba(255,255,255,0.8);
}

.featured-card .button,
.blog-card .button {
  margin: 0 24px 24px;
}

.event-card {
  padding: 32px;
}

.sermon-card {
  padding: 24px;
}

.sermon-card audio {
  width: 100%;
  margin: 16px 0;
}

.event-time {
  font-weight: 600;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.9);
}

.platform-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.platform-links a {
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.platform-links a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

/* BLOG POST */
.blog-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px;
}

.blog-post img {
  width: 100%;
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .blog-post img {
    height: 150px;
  }
}

.blog-post h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.blog-post h3 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 16px;
}

.blog-post p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 24px;
}

.blog-post audio {
  width: 100%;
  margin: 32px 0;
}

.button-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* FORMS */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

button[type="submit"] {
  padding: 12px 24px;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid white;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

button[type="submit"]:hover:not(:disabled) {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.subscribe-form input {
  flex: 1;
  min-width: 220px;
}

/* CONTACT */
#contact {
  max-width: 700px;
  margin: 0 auto;
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
}

.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

/* FOOTER */
.footer {
  background: rgba(31,41,55,0.95);
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 64px;
  padding: 48px 24px 32px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 6px;
}

.social-links a:hover {
  color: white;
  background: rgba(255,255,255,0.1);
  transform: translateX(5px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.verse-ref {
  color: rgba(255,255,255,0.6);
  font-style: italic;
  font-size: 0.85rem;
}

/* MINISTRY VALUES */
.ministry-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.value-item {
  text-align: center;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}

.value-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header h1 {
    font-size: 1.5rem;
  }
  
  .main-nav {
    width: 100%;
    justify-content: center;
  }
  
  .hero-welcome h1 {
    font-size: 1.5rem;
  }
  
  .featured-grid,
  .event-grid,
  .sermons-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* UTILITIES */
.text-center {
  text-align: center;
}

.financial-note {
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.7);
}