/* Reset y fuentes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    background: #ED1C24;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

.logo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.logo-lampa {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-left: 2px;
}

.logo-text p {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ED1C24;
    transition: width 0.3s ease;
}

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(-45deg, #f8fafc, #eef2ff, #fff5f5, #e2e8f0);
    background-size: 400% 400%;
    animation: gradientShift 14s ease infinite;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.4s;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #64748b;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-btn {
    display: inline-block;
    background: #ED1C24;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(237, 28, 36, 0.3);
    position: relative;
    overflow: hidden;
    animation: ctaPulse 3s ease-in-out infinite;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 28, 36, 0.4);
    background: #d1181f;
}

.hero-decoration {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.1), rgba(26, 26, 26, 0.1));
    border-radius: 50%;
    filter: blur(100px);
    animation: float 6s ease-in-out infinite;
}

/* Secciones */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    color: #1a1a1a;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ED1C24, #1a1a1a, #ED1C24);
    background-size: 200%;
    border-radius: 2px;
    animation: titleShimmer 3s linear infinite;
}

/* Servicios */
.services {
    padding: 120px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 40px rgba(237, 28, 36, 0.08);
    border-color: rgba(237, 28, 36, 0.25);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-20deg);
    transition: none;
    pointer-events: none;
}

.service-card:hover::after {
    animation: shimmer 0.65s ease forwards;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    filter: grayscale(20%);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 15px;
}

/* Ubicación */
.location {
    padding: 120px 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.location-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1a1a1a;
}

.location-details p {
    margin-bottom: 12px;
    color: #475569;
    font-size: 16px;
}

.location-visual {
    display: flex;
    justify-content: center;
}

.location-card {
    background: #ffffff;
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.location-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.location-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Pastores */
.pastors {
    padding: 120px 0;
    background: #ffffff;
}

.pastors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.pastor-card {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.pastor-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f1f5f9;
    transition: all 0.3s ease;
}

.pastor-image:hover {
    border-color: #ED1C24;
    transform: scale(1.05);
}

.pastor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pastor-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.pastor-role {
    color: #ED1C24;
    font-weight: 500;
    margin-bottom: 16px !important;
    font-size: 14px;
}

.pastor-card p:not(.pastor-role) {
    color: #64748b;
    line-height: 1.6;
    font-size: 15px;
}

/* Eventos */
.events {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.events-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.event-visual-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.event-visual-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.event-visual-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.event-visual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-visual-card:hover .event-visual-image img {
    transform: scale(1.05);
}

.event-visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    text-align: left;
}

.event-visual-overlay h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.event-visual-overlay p {
    font-size: 1rem;
    margin-bottom: 12px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.event-visual-date {
    background: rgba(237, 28, 36, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    backdrop-filter: blur(10px);
}

/* Horarios */
.schedule {
    padding: 120px 0;
    background: #ffffff;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.schedule-card {
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.schedule-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.schedule-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
    text-align: center;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item span:first-child {
    color: #1a1a1a;
    font-weight: 500;
}

.schedule-item span:last-child {
    color: #ED1C24;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ED1C24;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 8px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a svg {
    width: 20px;
    height: 20px;
    fill: #ED1C24;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ED1C24;
    transform: translateY(-2px);
}

.social-links a:hover svg {
    fill: #ffffff;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 14px;
}

/* Animaciones */
@keyframes fadeInUp {
    0%   { opacity: 0; transform: translateY(40px) scale(0.97); }
    65%  { opacity: 1; transform: translateY(-5px) scale(1.01); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    33%  { transform: translateY(-25px) rotate(3deg) scale(1.05); }
    66%  { transform: translateY(-12px) rotate(-2deg) scale(0.97); }
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(237, 28, 36, 0.3); }
    50%       { box-shadow: 0 4px 45px rgba(237, 28, 36, 0.6), 0 0 0 8px rgba(237, 28, 36, 0.06); }
}

@keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}

@keyframes titleShimmer {
    0%   { background-position: 200%; }
    100% { background-position: -200%; }
}

@keyframes rippleEffect {
    to { transform: scale(4); opacity: 0; }
}

@keyframes cardEntrance {
    0%   { opacity: 0; transform: translateY(50px) rotateX(10deg); }
    100% { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

.animate-in {
    animation: cardEntrance 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Sección Petición de Oración */
.oracion {
    padding: 120px 0;
    background: linear-gradient(-45deg, #fff5f5, #ffeaea, #fff8f8, #ffe5e5);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
}

.oracion-form-wrapper {
    display: flex;
    justify-content: center;
}

.oracion-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 30px 80px rgba(237, 28, 36, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(237, 28, 36, 0.08);
    transition: box-shadow 0.4s ease;
}

.oracion-card:hover {
    box-shadow: 0 40px 100px rgba(237, 28, 36, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.oracion-field {
    margin-bottom: 1.5rem;
}

.oracion-field label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.oracion-field input,
.oracion-field textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
    color: #1a1a1a;
}

.oracion-field input:focus,
.oracion-field textarea:focus {
    border-color: #ED1C24;
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.08);
}

.oracion-btn {
    width: 100%;
    padding: 1rem;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    margin-top: 0.5rem;
}

.oracion-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.oracion-btn:active {
    transform: translateY(0);
}

.oracion-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.oracion-mensaje {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

.oracion-ok {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.oracion-error {
    background: #fff5f5;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Campo opcional */
.campo-opcional {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.82rem;
    font-style: italic;
}

/* Checkbox llamada */
.oracion-llamada-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0.8rem;
    padding: 0.65rem 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.3s;
    cursor: pointer;
}

.oracion-llamada-check:hover {
    border-color: rgba(237, 28, 36, 0.3);
    background: #fff5f5;
}

.oracion-llamada-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ED1C24;
    cursor: pointer;
    flex-shrink: 0;
}

.oracion-llamada-check label {
    font-weight: 500;
    color: #475569;
    font-size: 0.92rem;
    cursor: pointer;
    margin: 0;
    display: block;
}

/* Ripple en botones */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: rippleEffect 0.7s linear;
    pointer-events: none;
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-left: -60px;
}

/* Hero decoraciones adicionales */
.hero::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: rgba(237, 28, 36, 0.07);
    border-radius: 50%;
    filter: blur(80px);
    top: 15%;
    left: -5%;
    animation: float 9s ease-in-out infinite;
    animation-delay: -4s;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(100, 116, 139, 0.06);
    border-radius: 50%;
    filter: blur(60px);
    bottom: 20%;
    left: 35%;
    animation: float 11s ease-in-out infinite;
    animation-delay: -2s;
    pointer-events: none;
}

/* Pastor card hover mejorado */
.pastor-image {
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pastor-card:hover .pastor-image {
    border-color: #ED1C24;
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(237, 28, 36, 0.2);
}

/* Schedule card hover mejorado */
.schedule-card {
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.schedule-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), 0 0 20px rgba(237, 28, 36, 0.05);
    transform: translateY(-6px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero-title { font-size: 2.5rem; }
    .location-content { grid-template-columns: 1fr; gap: 48px; }
    .events-visual-grid { grid-template-columns: 1fr; gap: 30px; }
    .event-visual-card { margin: 0 auto; max-width: 400px; }
    .event-visual-overlay h3 { font-size: 1.5rem; }
    .logo-text h1 { font-size: 18px; }
    .logo-lampa { font-size: 14px; }
    .oracion-card { padding: 2rem 1.5rem; }
}
