@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Lora:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary-color: #8B5A2B; /* Marrón dorado para estilo bíblico */
    --secondary-color: #D4B483; /* Dorado claro */
    --accent-color: #A67C52; /* Marrón medio */
    --text-color: #4A4238; /* Marrón oscuro para texto */
    --bg-color: #F5F0E6; /* Beige claro para fondo */
    --paper-color: #FFF8E8; /* Color papel antiguo */
    --shadow-color: rgba(139, 90, 43, 0.2); /* Sombra suave */
}

body {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: url('background/header.webp');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 240, 230, 0.85);
    z-index: -1;
}

header {
    background-color: var(--paper-color);
    color: var(--primary-color);
    text-align: center;
    padding: 2em 0;
    box-shadow: 0 4px 12px var(--shadow-color);
    position: relative;
    border-bottom: 2px solid var(--secondary-color);
}

header h1 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin: 0.5rem 0;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px var(--shadow-color);
}

header p {
    font-style: italic;
    margin-top: 0.5rem;
    color: var(--accent-color);
    text-align: center;
    width: 100%;
}

header img {
    display: block;
    margin: 0 auto;
    width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
}

.menu-container {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

#menu-button {
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
}

#menu-button:hover {
    transform: scale(1.2);
}

nav {
    background-color: var(--paper-color);
    border-bottom: 1px solid var(--secondary-color);
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 1rem 1.5rem;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Cinzel', serif;
}

nav ul li a:hover {
    background-color: var(--secondary-color);
    color: var(--paper-color);
}

main {
    padding: 2rem;
    max-width: 900px;
    margin: 2rem auto;
    background-color: var(--paper-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    border-radius: 8px;
    border: 1px solid var(--secondary-color);
}

.neon-container {
    padding: 0;
    margin-bottom: 0;
}

.neon-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 3px 10px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px var(--shadow-color);
}

h2 {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin-top: 0;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

h3 {
    color: var(--accent-color);
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

h4 {
    color: var(--accent-color);
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.3px;
}

p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
    color: var(--text-color);
}

ul {
    margin-bottom: 25px;
    line-height: 1.7;
    padding-left: 1.5rem;
}

ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.5rem;
}

ul li::marker {
    color: var(--primary-color);
    font-size: 1.1em;
}

/* Estilos para los botones */
button {
    background-color: var(--primary-color);
    color: var(--paper-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.05rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 8px var(--shadow-color);
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.5px;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.whatsapp-button, .share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
}

.button-icon {
    width: 20px;
    height: 20px;
}

.contact-info {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

button:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px var(--shadow-color);
}

button:hover::before {
    left: 100%;
}

button:active {
    transform: translateY(-2px);
}

.ministry-section img {
    display: block;
    margin: 1.5rem auto;
    max-width: 220px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px var(--shadow-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid var(--secondary-color);
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.9);
}

.ministry-section img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px var(--shadow-color);
}

/* Eliminamos los estilos específicos del footer para usar los de footer-styles.css */
/* Los estilos del footer ahora se controlan exclusivamente desde footer-styles.css */

/* Estilos responsivos */
/* Pantallas grandes y medianas */
@media (min-width: 1200px) {
    main {
        max-width: 1100px;
    }
    
    .team-member {
        flex-basis: 30%;
    }
}

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    main {
        max-width: 800px;
        margin: 1.5rem auto;
    }
    
    .team-member {
        flex-basis: 45%;
    }
}

@media (max-width: 768px) {
    header img {
        width: 100px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    main {
        padding: 1rem;
        margin: 1rem auto;
        width: 90%;
    }
    
    section {
        padding: 1.2rem;
        margin-bottom: 1.8rem;
    }
    
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    nav ul li {
        width: auto;
    }
    
    nav ul li a {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .team-member {
        padding: 1rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    header img {
        width: 80px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    header p {
        font-size: 0.85rem;
        padding: 0 8px;
    }
    
    main {
        padding: 0.8rem;
        margin: 0.8rem auto;
        width: 95%;
    }
    
    section {
        padding: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
        padding-bottom: 0.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
        margin-top: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: left;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .team-member {
        padding: 0.8rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    nav ul li a {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Para dispositivos muy pequeños */
@media (max-width: 320px) {
    header img {
        width: 70px;
    }
    
    header h1 {
        font-size: 1.3rem;
    }
    
    main {
        padding: 0.6rem;
        margin: 0.6rem auto;
        width: 98%;
    }
    
    section {
        padding: 0.6rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .team-member img {
        width: 90px;
        height: 90px;
    }
    
    .team-member h3 {
        font-size: 1rem;
    }
    
    nav ul li a {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }
}
