/*
Theme Name: Asilo São Vicente
Theme URI: https://asilosaovicentepauloassis.com.br
Author: Asilo São Vicente de Paulo
Author URI: https://asilosaovicentepauloassis.com.br
Description: Tema minimalista e simples para o Asilo São Vicente de Paulo
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asilo-sao-vicente
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bentham', Georgia, serif;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #2C2853;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
    color: #03ADEA;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2C2853;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #2C2853;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo img {
    height: 60px;
    width: auto;
}

/* Navegação */
.main-navigation {
    position: relative;
}

.main-navigation ul,
.main-navigation .menu-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #03ADEA;
}

/* Dropdown (submenu) */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #2C2853;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: block;
    padding: 0.5rem 0;
}

.main-navigation li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.main-navigation .sub-menu li:last-child {
    border-bottom: none;
}

.main-navigation .sub-menu a {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.main-navigation .sub-menu a:hover {
    background-color: rgba(3, 173, 234, 0.1);
}

/* Botão do menu mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem 0 6rem;
    position: relative;
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(44, 40, 83, 0.3), rgba(44, 40, 83, 0.85));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2C2853;
}

/* Notícias */
.noticias-section {
    background-color: #f9f9f9;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.noticia-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.noticia-card:hover {
    transform: translateY(-5px);
}

.noticia-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.noticia-content {
    padding: 1.5rem;
}

.noticia-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.noticia-meta {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.noticia-excerpt {
    color: #555;
    text-align: justify;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 1rem 1.5rem;
    background-color: #2C2853;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #03ADEA;
    color: #ffffff;
}

.btn-primary {
    background-color: #2C2853;
}

.btn-secondary {
    background-color: #ffffff;
    color: #2C2853;
}

.btn-center {
    text-align: center;
    margin-top: 2rem;
}

/* Voluntário Section */
.voluntario-section {
    background: linear-gradient(rgba(3, 173, 234, 0.9), rgba(3, 173, 234, 0.95)), 
                url('data:image/svg+xml,<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="8" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover, 24px 24px;
    color: #ffffff;
}

.voluntario-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.voluntario-text h2 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.voluntario-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 2rem;
}

.voluntario-image {
    text-align: center;
}

.voluntario-image img {
    max-width: 100%;
    height: auto;
}

/* Vagas Section */
.vagas-section {
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 100 Q25 75 50 100 T100 100" fill="rgba(44,40,83,0.05)" /></svg>');
    background-position: bottom;
    background-repeat: repeat-x;
}

.vagas-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 0;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.vagas-text {
    background: rgba(44, 40, 83, 0.9);
    color: #ffffff;
    padding: 4rem 3rem;
}

.vagas-text h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.vagas-text p {
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 2rem;
}

.vagas-image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

/* Footer / Contato */
.site-footer {
    background-color: #2C2853;
    color: #ffffff;
    padding: 3rem 0 2rem;
}

.footer-title {
    text-align: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 3rem;
}

.footer-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    text-align: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-weight: 700;
    font-size: 1rem;
}

.contact-value a {
    color: #ffffff;
}

.contact-value a:hover {
    color: #03ADEA;
}

/* Formulário de Contato */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border-radius: 3px;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Responsivo */
@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #2C2853;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    
    .main-navigation ul,
    .main-navigation .menu-list {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation a {
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    /* Dropdown mobile */
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(0,0,0,0.2);
        padding: 0;
        display: none;
    }
    
    .main-navigation li:hover > .sub-menu,
    .main-navigation li.menu-item-has-children.active > .sub-menu {
        display: block;
    }
    
    .main-navigation .sub-menu a {
        padding: 0.75rem 0 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .voluntario-content,
    .vagas-content {
        grid-template-columns: 1fr;
    }
    
    .footer-contacts {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
}