:root {
  --primary-color: #0f172a;
  --secondary-color: #38bdf8;
  --accent-color: #e11d48;
  --bg-light: #f8fafc;
  --text-dark: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Navbar y Logo SVG */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 5%;
  z-index: 1000;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
/*.logo-svg {
  height: 48px;
  width: auto;
  display: block;
}*/
/*.logo {
    height: 48px;
    width: auto;
    display: block
}*/

/*.logo {
  height: 48px;
  width: auto;
  display: block;
}

.logo-img { width: 48%;
           height: 48%; 
           object-fit: contain;
           display: block;
          }
*/
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Carrusel Hero */
.hero {
  position: relative;
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  margin-top: 60px;
}

.carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border: none;
  font-size: 1.8rem;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  z-index: 3;
  border-radius: 4px;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active, .dot:hover {
  background: var(--secondary-color);
  transform: scale(1.2);
}

/* Versículo */
.verse-banner {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--secondary-color);
}

.verse-container { max-width: 850px; margin: 0 auto; }
.verse-header { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.verse-icon { font-size: 1.5rem; color: var(--secondary-color); }
.church-tag { font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; color: #94a3b8; font-weight: 600; }
#bibleVerse { font-size: 1.35rem; font-style: italic; margin-bottom: 0.75rem; }
#verseReference { display: block; font-weight: bold; color: var(--secondary-color); font-size: 1.1rem; margin-bottom: 1.5rem; }
.verse-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-verse { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); padding: 0.5rem 1.25rem; border-radius: 20px; cursor: pointer; transition: var(--transition); }
.btn-verse:hover { background: var(--secondary-color); color: #0f172a; }

/* Botones y Grilla */
.btn-primary, .btn-secondary { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 5px; text-decoration: none; font-weight: bold; cursor: pointer; transition: var(--transition); }
.btn-primary { background-color: var(--secondary-color); color: var(--primary-color); border: none; }
.btn-primary:hover { background-color: #0284c7; color: white; }
.btn-secondary { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background-color: var(--white); color: var(--primary-color); }
.btn-block { width: 100%; }

.section { padding: 5rem 1rem; }
.container { max-width: 1100px; margin: 0 auto; }
.bg-light { background-color: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.2rem; color: var(--primary-color); }
.section-title p { color: var(--text-light); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Tarjetas de Eventos */
.card { background: var(--white); padding: 1.5rem; border-radius: 8px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: var(--transition); }
.card:hover { transform: translateY(-4px); }
.card-center { text-align: center; }
.card-icon { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 1rem; }
.card img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; margin-bottom: 1rem; }
.event-date { background: var(--accent-color); color: var(--white); padding: 0.25rem 0.75rem; border-radius: 4px; font-size: 0.85rem; font-weight: bold; margin-bottom: 0.75rem; width: fit-content; }
.badge { margin-top: auto; padding: 0.3rem 0.6rem; background: var(--bg-light); color: var(--primary-color); border-radius: 4px; font-size: 0.85rem; font-weight: 600; width: fit-content; }

.form-group { margin-bottom: 1rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid #cbd5e1; border-radius: 4px; }
.social-links { margin-top: 1.5rem; display: flex; gap: 1rem; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-color); color: var(--white); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: var(--transition); }
.social-links a:hover { background: var(--secondary-color); }

footer { background: var(--primary-color); color: var(--white); text-align: center; padding: 1.5rem 0; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 1rem 0; box-shadow: var(--shadow); display: none; }
  .nav-menu.active { display: flex; }
  .hero-content h1 { font-size: 2rem; }
  .carousel-btn { padding: 0.5rem 0.8rem; font-size: 1.3rem; }
}
