:root {
    --primary-color: #0a4f7a; 
    --secondary-color: #1e88e5; 
    --dark-blue-title: #003366; 
    --accent-color: #ffc107; 
    --text-color-light: #f4f4f4;
    --text-color-dark: #333;
    --background-light: rgba(255, 255, 255, 0.9);
    --section-bg-light: #f8f9fa; 
    --section-bg-darker: rgba(233, 236, 239, 0.85); 
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --input-border-color: #ccc;
    --input-focus-border-color: var(--primary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark); 
    background-image: url('img/christian-background.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    overflow-x: hidden;
}

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

h1, h2, h3 {
    font-family: 'Merriweather', serif;
    margin-bottom: 0.7em;
}
h1 { 
    font-size: 2.8rem; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
    color: var(--text-color-light); 
}
h2.section-title { 
    font-size: 2.2rem;
    text-align: center;
    color: var(--dark-blue-title); 
    margin-bottom: 0.5em;
}
h3 { font-size: 1.5rem; }

p.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

img {
    max-width: 100%;
}

.section-padding {
    padding: 70px 0;
}

.section-light {
    background-color: var(--section-bg-light);
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}
.section-darker {
    background-color: var(--section-bg-darker);
}
#versiculos-mes.section-darker { 
    background-color: rgba(10, 79, 122, 0.1); 
}
#versiculos-mes h2.section-title {
    color: var(--text-color-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

header {
    background-color: rgba(10, 79, 122, 0.9); 
    color: var(--text-color-light);
    padding: 0.7rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-link img {
    width: 55px; 
    height: 55px;
}

.logo-text {
    color: var(--text-color-light);
    font-size: 1.5rem; 
    font-weight: bold;
    font-family: 'Merriweather', serif;
    line-height: 1;
}

.logo-domain {
    color: var(--accent-color);
    font-weight: normal;
    font-size: 0.9em;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 18px; 
}

header nav ul li a {
    color: var(--text-color-light);
    font-weight: bold;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 5px 8px;
    border-radius: 4px;
}

header nav ul li a:hover,
header nav ul li a.active { 
    color: var(--primary-color);
    background-color: var(--text-color-light);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color-light);
    font-size: 1.8rem;
    cursor: pointer;
}

.banner {
    min-height: 90vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px; 
    padding-bottom: 40px;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('img/christian-background.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; 
}

.versiculo-dia-card {
    background: var(--background-light);
    color: var(--text-color-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 20px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.versiculo-dia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.versiculo-dia-card .verse-text {
    font-size: 1.6rem;
    font-family: 'Merriweather', serif;
    font-style: italic;
    margin-bottom: 15px;
}
.versiculo-dia-card .verse-ref {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: right;
    color: var(--primary-color);
}
.versiculo-dia-card .read-more-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
.versiculo-dia-card .read-more-btn:hover {
    background-color: var(--secondary-color);
}

.versiculos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.card {
    background: var(--background-light);
    color: var(--text-color-dark);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.card .card-date {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.card .verse-snippet {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 10px;
    flex-grow: 1;
}
.card .verse-ref-snippet {
    font-size: 0.9rem;
    text-align: right;
    color: var(--secondary-color);
    font-weight: bold;
}

.form-styled {
    max-width: 100%; 
    margin: 0 auto;
}
.form-group {
    margin-bottom: 18px; 
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: var(--text-color-dark);
    font-size: 0.95rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px 12px; 
    border: 1px solid var(--input-border-color);
    border-radius: 5px;
    font-size: 0.95rem;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--input-focus-border-color);
    box-shadow: 0 0 0 0.15rem rgba(30, 136, 229, 0.2);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px; 
}
.btn-submit {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border: none;
    border-radius: 5px;
    font-size: 1rem; 
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    margin-top: 10px; 
}
.btn-submit:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}
.btn-whatsapp {
    background-color: #25D366; 
    margin-top: 20px;
}
.btn-whatsapp:hover {
    background-color: #1DAE54;
}
.btn-whatsapp i {
    margin-right: 8px;
}

.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto; 
    background-color: rgba(0,0,0,0.75); 
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    align-items: center; 
    justify-content: center; 
    padding: 20px 0; 
}
.modal.show {
    display: flex;
    opacity: 1;
}
.modal-content {
    background-color: #fff;
    color: var(--text-color-dark);
    margin: auto; 
    padding: 25px 30px; 
    border-radius: 10px;
    width: 90%;
    max-width: 550px; 
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.4s;
    opacity: 0; 
}
.modal.show .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.close-button {
    color: #999; 
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s ease;
    line-height: 1;
}
.close-button:hover,
.close-button:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.modal-title {
    font-size: 1.8rem; 
    color: var(--dark-blue-title);
    text-align: center;
    margin-bottom: 10px;
}
.modal-subtitle {
    font-size: 1rem;
    color: #555;
    text-align: center;
    margin-bottom: 25px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.modal-text-content p, .modal-text-content ul {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #444;
}
.modal-text-content ul {
    list-style-position: inside;
    padding-left: 5px;
}
.modal-text-content strong {
    color: var(--primary-color);
}
.link-styled {
    color: var(--secondary-color);
    font-weight: bold;
}
.link-styled:hover {
    text-decoration: underline;
}

.modal-verse-detail {
    max-width: 650px; 
}
.modal-verse-detail .modal-info { 
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    text-align: center;
}
.modal-verse-detail .verse-ref-title { 
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--dark-blue-title);
    text-align: center;
    margin-bottom: 15px;
}
.modal-verse-detail .verse-text-full {
    font-size: 1.4rem;
    font-family: 'Merriweather', serif;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: center;
    color: #333;
}
.modal-verse-detail h4 { 
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
.modal-verse-detail .meditation-text,
.modal-verse-detail .prayer-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    text-align: justify; 
}

footer {
    background-color: rgba(10, 49, 77, 0.98);
    color: var(--text-color-light);
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid var(--accent-color);
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.social-links a {
    color: var(--text-color-light);
    margin: 0 12px;
    font-size: 1.6rem;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--accent-color);
}
.legal-links {
    margin: 15px 0;
}
.legal-links a {
    color: #ccc;
    margin: 0 10px;
    font-size: 0.9rem;
}
.legal-links a:hover {
    color: var(--text-color-light);
}
.credits {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 10px;
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2.section-title { font-size: 1.8rem; }
    p.section-subtitle { font-size: 1rem; margin-bottom: 20px;}

    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    .logo-link img {
        width: 45px;
        height: 45px;
    }
    .logo-text {
        font-size: 1.2rem;
    }
    header nav {
        width: 100%;
        max-height: 0;
        overflow-y: auto; 
        transition: max-height 0.5s ease-in-out;
        background-color: rgba(10, 79, 122, 0.98);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        z-index: 999; 
    }
    header nav.open {
        max-height: calc(100vh - 70px); 
    }
    header nav ul {
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
    }
    header nav ul li {
        margin: 0; 
        width: 100%; 
    }
    header nav ul li a {
        display: block;
        padding: 12px 20px; 
        text-align: left; 
        border-bottom: 1px solid rgba(255,255,255,0.1); 
        font-size: 0.9rem;
    }
    header nav ul li:last-child a {
        border-bottom: none;
    }
    .menu-toggle {
        display: block;
        font-size: 1.8rem;
    }

    .banner {
        min-height: 70vh;
        padding-top: 80px;
    }
    .versiculo-dia-card .verse-text { font-size: 1.3rem; }
    
    .versiculos-grid {
        grid-template-columns: 1fr;
    }
    .submit-btn {
        width: 100%;
    }

    .modal-content {
        padding: 20px;
        width: 95%;
        margin-top: 20px; 
        margin-bottom: 20px;
    }
    .modal-title { font-size: 1.5rem; }
    .modal-subtitle { font-size: 0.9rem; margin-bottom: 20px;}

    .modal-verse-detail .verse-text-full { font-size: 1.2rem; }
    .modal-verse-detail h4 { font-size: 1rem; }
    .modal-verse-detail .meditation-text,
    .modal-verse-detail .prayer-text { font-size: 0.9rem; }
}