/* Global Styles */
:root {
    --primary-color: #3a86ff;
    --secondary-color:#2a75ef;
    --accent-color: #ff006e;
    --light-color: #fff;
    --dark-color: #2b2d42;
    --gray-color: #8d99ae;
    --background-color: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

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

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--secondary-color);
}

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

section {
    padding: 4rem 0;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn i {
    margin-left: 0.5rem;
    font-size: 1.2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Logo Styles */
.logo-center {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo {
    max-width: 100px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    border-radius: 10px;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    /* Mobile first approach - carregar imagem mobile por padrão */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('images/banner-mobile.webp');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: 4rem 0 6rem;
    position: relative;
}

/* Media query para desktop - substitui a imagem quando a tela é maior */
@media screen and (min-width: 768px) {
    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('images/banner-desktop.webp');
        background-position: center 25%;
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--light-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--light-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

/* Intro Section */
.intro {
    text-align: center;
    background-color: var(--light-color);
}

/* Card Styles */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.card h3 {
    color: var(--primary-color);
}

.card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Treatment Section */
.treatment {
    background-color: var(--background-color);
}

/* Benefits Section */
.benefits {
    background-color: var(--light-color);
}

/* Donation Section */
.donation {
    background-color: #f0f5ff;
    text-align: center;
}

.donation p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.donation-info {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 500px;
    margin: 2rem auto;
}

.pix-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.pix-container i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.donation-note {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

/* Conclusion Section */
.conclusion {
    text-align: center;
    background-color: var(--primary-color);
    color: var(--light-color);
}

.conclusion h2 {
    color: var(--light-color);
}

.conclusion h2::after {
    background: var(--light-color);
}

.conclusion .btn-primary {
    background-color: var(--light-color);
    color: var(--primary-color);
    border-color: var(--light-color);
}

.conclusion .btn-primary:hover {
    background-color: transparent;
    color: var(--light-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 2rem 0;
}

footer p {
    margin-bottom: 0.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-contact {
    max-width: 600px;
}

.footer-contact h3 {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.pastor-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pastor-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Instagram Link Styles */
.social-link {
    display: inline-flex;
    align-items: center;
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: var(--light-color);
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer Info Message */
.footer-info-message {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

@media screen and (min-width: 768px) {
    .footer-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }
    
    .pastor-image {
        align-items: center;
        margin-left: 2rem;
        text-align: center;
    }
    
    .logo {
        max-width: 100px;
    }
}

/* Floating WhatsApp Button and Text */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.whatsapp-text {
    background-color: rgba(37, 211, 102, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-width: 150px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-whatsapp {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.whatsapp-link:hover .floating-whatsapp {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-link:hover .whatsapp-text {
    transform: translateX(-5px);
    background-color: rgba(37, 211, 102, 1);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .card-container {
        grid-template-columns: 1fr;
    }
    
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .hero {
        padding: 0;
        padding-bottom: 4rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }
    
    .whatsapp-container {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        flex-direction: column-reverse;
        align-items: flex-end;
    }
    
    .whatsapp-text {
        margin-right: 0;
        margin-top: 10px;
        font-size: 0.8rem;
    }
    
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
