/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient-primary), url('https://images.unsplash.com/photo-1518834103328-92b890a5d144?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(201, 162, 39, 0.15) 0%, transparent 50%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-highlight {
    color: var(--light-accent);
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* ===== SECCIÓN DE REUNIONES ===== */
.meetings-section {
    background-color: white;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
    padding-bottom: 1rem;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--dark);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.meetings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.meeting-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.meeting-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.meeting-header {
    padding: 2rem;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.meeting-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.meeting-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.meeting-header h3 {
    color: white;
    font-size: 1.6rem;
    position: relative;
    z-index: 2;
}

.meeting-body {
    padding: 2rem;
}

.meeting-info {
    margin-bottom: 1.5rem;
}

.meeting-time {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

.meeting-time i {
    font-size: 1.2rem;
}

.meeting-place, .meeting-leader {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

/* Botón de Gestión de Campamento */
.camp-management-btn {
    text-align: center;
    margin: 4rem 0 2rem;
}

/* ===== SECCIÓN DE ENSEÑANZA ===== */
.teaching-section {
    background: var(--light);
    position: relative;
    padding: 4rem 1rem;
    width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.teaching-content {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    padding: 3.5rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.teaching-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: var(--gradient-secondary);
}

.teaching-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    font-style: italic;
    color: var(--primary);
    position: relative;
    padding: 0 1rem;
    word-wrap: break-word;
}

.teaching-intro:before, .teaching-intro:after {
    content: '"';
    font-size: 3rem;
    color: var(--secondary);
    position: absolute;
    opacity: 0.3;
}

.teaching-intro:before {
    top: -20px;
    left: 0;
}

.teaching-intro:after {
    bottom: -40px;
    right: 0;
}

.teaching-text {
    width: 100%;
    word-wrap: break-word;
}

.teaching-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    word-wrap: break-word;
}

.teaching-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.teaching-text li {
    margin-bottom: 0.7rem;
    position: relative;
    padding-left: 1.5rem;
    word-wrap: break-word;
}

.teaching-text li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* ===== ESTILOS DE VERSÍCULOS - MANTENIENDO DISEÑO ORIGINAL ===== */
.verse-container {
    background: linear-gradient(135deg, #f8f5f0 0%, #e9e1d3 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin: 2.5rem 0;
    border-left: 5px solid var(--secondary);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.verse-container:before {
    content: '✝';
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 8rem;
    color: rgba(201, 162, 39, 0.08);
    transform: rotate(15deg);
    pointer-events: none;
}

.verse-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    word-wrap: break-word;
    line-height: 1.6;
    color: #333;
}

.verse-reference {
    text-align: right;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

/* ===== RESPONSIVE - SOLO AJUSTES DE TAMAÑO ===== */
@media screen and (max-width: 768px) {
    .teaching-section {
        padding: 3rem 1rem;
    }
    
    .teaching-content {
        padding: 2.5rem;
    }
    
    .teaching-text h3 {
        font-size: 1.6rem;
    }
    
    .verse-container {
        padding: 2rem;
    }
    
    .verse-text {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .teaching-section {
        padding: 2rem 0.8rem;
    }
    
    .teaching-content {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .teaching-content:before {
        width: 5px;
    }
    
    .teaching-intro {
        font-size: 1rem;
        padding: 0 0.8rem;
        margin-bottom: 1.8rem;
    }
    
    .teaching-intro:before {
        top: -15px;
        left: -5px;
        font-size: 2.5rem;
    }
    
    .teaching-intro:after {
        bottom: -30px;
        right: -5px;
        font-size: 2.5rem;
    }
    
    .teaching-text h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .teaching-text ul {
        margin-left: 0.8rem;
    }
    
    .teaching-text li {
        padding-left: 1.2rem;
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    /* ===== VERSÍCULOS EN MÓVIL - MANTENIENDO ESTILO ===== */
    .verse-container {
        padding: 1.5rem;
        margin: 1.8rem 0;
        border-left-width: 4px;
        border-radius: 12px;
    }
    
    .verse-container:before {
        font-size: 5rem;
        bottom: -20px;
        right: -20px;
    }
    
    .verse-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .verse-reference {
        font-size: 0.9rem;
    }
}

/* Para pantallas muy pequeñas */
@media screen and (max-width: 360px) {
    .teaching-content {
        padding: 1.2rem;
    }
    
    .verse-container {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }
    
    .verse-text {
        font-size: 0.95rem;
    }
    
    .verse-container:before {
        font-size: 4rem;
        bottom: -15px;
        right: -15px;
    }
}

/* Asegurar que todo el contenido sea visible */
.teaching-text {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* ===== FOOTER ===== */
footer {
    background: var(--gradient-primary);
    color: white;
    padding-top: 4rem;
}

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

.footer-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--gradient-secondary);
    bottom: 0;
    left: 0;
}

.footer-about p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-info i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Redes Sociales */
.social-section {
    margin-top: 2rem;
}

.social-title {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transition: var(--transition);
    text-align: center;
    padding: 1rem;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.social-icon i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.social-icon span {
    font-size: 0.85rem;
    font-weight: 600;
}

.social-icon.facebook { border-top: 4px solid #1877F2; }
.social-icon.youtube { border-top: 4px solid #FF0000; }
.social-icon.tiktok { border-top: 4px solid #000000; }
.social-icon.whatsapp { border-top: 4px solid #25D366; }

.copyright {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}