/*
Theme Name: Bethesda Schwabach
Theme URI: https://bethesda-sc.de
Author: Gemeinde Gottes Schwabach
Author URI: https://bethesda-sc.de
Description: Modernes One-Page Theme für die Bethesda Gemeinde Schwabach
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bethesda-sc
Tags: one-column, custom-colors, custom-menu, featured-images, translation-ready
*/

/* ===== CSS Variables ===== */
:root {
  --background: 0 0% 100%;
  --foreground: 24 10% 10%;
  --card: 0 0% 100%;
  --card-foreground: 24 10% 10%;
  --primary: 24 80% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 24 30% 96%;
  --secondary-foreground: 24 10% 10%;
  --muted: 24 30% 96%;
  --muted-foreground: 24 10% 40%;
  --accent: 24 80% 50%;
  --accent-foreground: 0 0% 100%;
  --border: 24 20% 90%;
  --ring: 24 80% 50%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-primary { color: hsl(var(--primary)); }
.text-muted { color: hsl(var(--muted-foreground)); }
.text-foreground { color: hsl(var(--foreground)); }

/* ===== Layout ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container { padding: 0 3rem; }
}

.section-padding {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section-padding { padding: 7rem 0; }
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: hsla(var(--background), 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
}

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

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.navbar-menu {
  display: none;
  list-style: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .navbar-menu { display: flex; }
}

.navbar-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.navbar-menu a:hover {
  color: hsl(var(--foreground));
}

.navbar-cta {
  display: none;
  padding: 0.625rem 1.25rem;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .navbar-cta { display: inline-flex; }
}

.navbar-cta:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: hsl(var(--foreground));
  transition: all 0.3s;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsla(var(--background), 0.7), hsla(var(--background), 0.9));
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsla(var(--primary), 0.1);
  border: 1px solid hsla(var(--primary), 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: hsl(var(--primary));
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .hero-title { font-size: 4rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 5rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; }
}

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

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: hsl(var(--muted));
}

/* ===== About Section ===== */
.about {
  background: hsl(var(--background));
}

.section-label {
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .section-title { font-size: 3.5rem; }
}

.section-title span {
  color: hsl(var(--muted-foreground));
}

.about-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: repeat(3, 1fr); }
}

.about-card {
  padding: 3rem;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  transition: all 0.3s;
}

.about-card:hover {
  transform: translateY(-0.5rem);
  border-color: hsla(var(--primary), 0.3);
}

.about-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: hsla(var(--primary), 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: hsl(var(--primary));
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.about-card p {
  color: hsl(var(--muted-foreground));
  font-weight: 300;
}

/* ===== Services Section ===== */
.services {
  background: hsl(var(--muted));
}

.service-card {
  padding: 3rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsla(var(--primary), 0.1);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-description {
  color: hsl(var(--muted-foreground));
  font-weight: 300;
}

/* ===== Community Section ===== */
.community {
  background: hsl(var(--background));
}

.community-grid {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 4rem;
}

@media (min-width: 768px) {
  .community-grid { grid-template-columns: repeat(2, 1fr); }
}

.community-card {
  padding: 3rem;
  background: hsla(var(--muted), 0.5);
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  transition: all 0.3s;
}

.community-card:hover {
  transform: translateY(-0.5rem);
  border-color: hsla(var(--primary), 0.3);
  background: hsl(var(--muted));
}

/* Coffee Banner */
.coffee-banner {
  padding: 2.5rem;
  background: linear-gradient(to bottom right, #fffbeb, #fff7ed);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 1rem;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.coffee-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .coffee-banner-content {
    flex-direction: row;
    text-align: left;
  }
}

.coffee-icons {
  display: flex;
  gap: 0.75rem;
}

.coffee-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.coffee-icon-1 { background: rgba(245, 158, 11, 0.2); }
.coffee-icon-2 { background: rgba(249, 115, 22, 0.2); }

.coffee-badge {
  padding: 0.5rem 1rem;
  background: rgba(245, 158, 11, 0.2);
  color: #b45309;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== Contact Section ===== */
.contact {
  background: hsl(var(--background));
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 0 auto 5rem;
}

.faq-item {
  border: 1px solid hsla(var(--border), 0.5);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: hsl(var(--card));
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  text-align: left;
  color: hsl(var(--foreground));
}

.faq-question svg {
  transition: transform 0.3s;
  color: hsl(var(--muted-foreground));
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  color: hsl(var(--muted-foreground));
  font-weight: 300;
}

/* Prayer Card */
.prayer-card {
  padding: 2rem;
  background: hsl(var(--card));
  border: 1px solid hsla(var(--border), 0.5);
  border-radius: 0.75rem;
}

.prayer-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.prayer-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: hsla(var(--primary), 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.prayer-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 1.5rem;
}

.prayer-btn:hover {
  opacity: 0.9;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsla(var(--border), 0.5);
  border-radius: 0.75rem;
  transition: all 0.3s;
}

.contact-item:hover {
  border-color: hsl(var(--border));
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-item.whatsapp {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
}

.contact-item-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: hsla(var(--primary), 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.contact-item.whatsapp .contact-item-icon {
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
}

.contact-item-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.contact-item-value {
  font-weight: 500;
}

/* CTA Card */
.cta-card {
  padding: 2rem;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  border-radius: 1rem;
  margin-top: 1.5rem;
}

.cta-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.cta-card p {
  opacity: 0.7;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

/* Map */
.map-container {
  max-width: 1100px;
  margin: 3.5rem auto 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsla(var(--border), 0.5);
  background: hsl(var(--card));
}

.map-header {
  padding: 1.5rem;
  border-bottom: 1px solid hsla(var(--border), 0.5);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.map-icon {
  width: 3rem;
  height: 3rem;
  background: hsla(var(--primary), 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.map-iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ===== Footer ===== */
.footer {
  padding: 4rem 0 2rem;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-description {
  opacity: 0.7;
  font-weight: 300;
  max-width: 300px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsla(var(--background), 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  opacity: 0.5;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-legal a:hover {
  opacity: 1;
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}
