/*
Theme Name: Comunidad de Fe
Theme URI: https://example.com
Author: Tu Iglesia
Description: Tema de una sola página para Iglesia Comunidad de Fe. Edita cada sección desde Apariencia > Personalizar.
Version: 1.0
Requires PHP: 7.4
Text Domain: comunidad-de-fe
*/

/* ============ RESET BÁSICO ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1a1a2e;
    background: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

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

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

/* ============ HEADER / NAV ============ */
header.site-header {
    background: #1a1a2e;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-weight: 800;
    font-size: 22px;
    color: #a78bfa;
}

.nav-bar nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-bar nav ul li a {
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-bar nav ul li a:hover {
    color: #a78bfa;
}

/* Menú móvil */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-bar nav {
        display: none;
        width: 100%;
    }
    .nav-bar nav.open {
        display: block;
    }
    .nav-bar nav ul {
        flex-direction: column;
        gap: 0;
        padding-bottom: 16px;
    }
    .nav-bar nav ul li a {
        display: block;
        padding: 10px 0;
        border-top: 1px solid #ffffff15;
    }
}

/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.25;
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 580px;
    margin: 0 auto 32px;
}

.btn {
    display: inline-block;
    background: #6366f1;
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

/* ============ SECCIONES GENERALES ============ */
section {
    padding: 70px 0;
}

section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 18px;
    color: #1a1a2e;
}

section > .container > p,
section > p {
    font-size: 17px;
    color: #475569;
    max-width: 720px;
}

/* ============ NUESTRA MISIÓN ============ */
#nosotros {
    text-align: left;
}

/* ============ CULTOS ============ */
.cultos {
    background: #f8f7ff;
    text-align: center;
}

.cultos h2 {
    text-align: center;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.schedule-card {
    background: #fff;
    border: 2px solid #ede9fe;
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.07);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.schedule-card h3 {
    color: #6366f1;
    font-weight: 800;
    font-size: 19px;
    margin-bottom: 10px;
}

.schedule-card p {
    color: #475569;
    font-size: 14px;
    margin: 4px 0;
}

/* ============ CONTACTO ============ */
#contacto form {
    margin-top: 24px;
    max-width: 600px;
}

#contacto input,
#contacto textarea {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

#contacto input:focus,
#contacto textarea:focus {
    border-color: #6366f1;
}

#contacto textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============ FOOTER ============ */
footer.site-footer {
    background: #1a1a2e;
    color: #94a3b8;
    text-align: center;
    padding: 28px 20px;
    font-size: 13px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 32px;
    }
    section h2 {
        font-size: 26px;
    }
    section {
        padding: 50px 0;
    }
}
