/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #7a004b;
    --primary-light: #f8c0cd;
    --primary-dark: #be6175;
    --secondary: #fff7f7;
    --accent: #000;
    --light: #fff7f7;
    --dark: #80566b;
    --gray: #000;
    --light-gray: #000;
    --text: #000;
}

body {
    background-color: var(--secondary);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header e Navegação */
header {
    background-color: var(--secondary);
    box-shadow: 0 2px 15px rgba(233, 30, 99, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px; /* Ajuste a altura conforme necessário */
    width: auto; /* Mantém a proporção da imagem */
    max-width: 150px; /* Limita a largura máxima */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 20px;
}

nav a:hover {
    color: var(--primary);
    background-color: var(--light);
}

.login-btn {
    background-color: var(--primary);
    color: white !important;
    padding: 8px 20px !important;
}

.login-btn:hover {
    background-color: var(--primary-dark) !important;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('Design sem nome.png'); /* Imagem de fundo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-full {
    width: 100%;
}

/* Seções gerais */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    margin: 15px auto;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Missão Section */
.mission {
    background-color: var(--light);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary);
}

.mission-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: var(--secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-text {
    color: var(--gray);
    font-weight: 500;
}

/* Gatos Section */
.cats {
    background-color: white;
}

.cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.cat-card {
    background-color: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid var(--light);
}

.cat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cat-image {
    height: 250px; /* Altura fixa para a imagem */
    overflow: hidden;
    position: relative;
}

.cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem preencher o espaço sem distorcer */
    transition: transform 0.3s;
}

.cat-card:hover .cat-image img {
    transform: scale(1.05); /* Efeito de zoom suave ao passar o mouse */
}

.cat-info {
    padding: 20px;
}

.cat-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary);
}

.cat-info p {
    color: var(--gray);
    margin-bottom: 15px;
}

.cat-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.trait {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.cat-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
    margin-bottom: 15px;
}

.cat-location i {
    color: var(--primary);
}

/* Saúde Section */
.health {
    background-color: var(--light);
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.disease-card {
    background-color: var(--secondary);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
}

.disease-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
}

.symptoms h4, .prevention h4 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 16px;
}

.symptoms ul, .prevention p {
    color: var(--gray);
    margin-bottom: 15px;
}

.symptoms li {
    margin-bottom: 5px;
    list-style-type: disc;
    margin-left: 20px;
}

/* Cuidados Essenciais Section */
.essential-care {
    background-color: white;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.care-category {
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.care-category h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist {
    list-style: none;
}

.checklist li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checklist i {
    color: var(--primary);
    margin-top: 3px;
}

/* Sinais de Alerta Section */
.warning-signs {
    background-color: var(--light);
}

.warning-content {
    max-width: 800px;
    margin: 0 auto;
}

.warning-text h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 24px;
}

.warning-text ul {
    margin-bottom: 30px;
}

.warning-text li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.warning-text li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
}

.important-note {
    background-color: var(--primary-light);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.important-note h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Primeiros Socorros Section */
.first-aid {
    background-color: white;
}

.first-aid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.aid-card {
    background-color: var(--light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.aid-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aid-card ul {
    list-style: none;
}

.aid-card li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.aid-card i {
    margin-top: 3px;
}

.aid-card .fa-check {
    color: #4CAF50;
}

.aid-card .fa-times {
    color: #f44336;
}

.aid-card .fa-ambulance, .aid-card .fa-box, .aid-card .fa-soap, .aid-card .fa-hand-holding-medical {
    color: var(--primary);
}

.first-aid-note {
    background-color: var(--primary-light);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-style: italic;
}

/* Como Ajudar Section */
.help {
    background-color: var(--light);
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.help-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-top: 4px solid var(--primary);
}

.help-card:hover {
    transform: translateY(-5px);
}

.help-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.help-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.help-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Voluntariado Section */
.volunteer {
    background-color: white;
}

.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.volunteer-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.volunteer-card:hover {
    transform: translateY(-5px);
}

.volunteer-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.volunteer-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Ajuda Urgente Section */
.urgent-help {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.urgent-help h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.urgent-help p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
}

.urgent-help .btn {
    background-color: white;
    color: var(--primary);
}

.urgent-help .btn:hover {
    background-color: var(--light);
}

/* Histórias Section */
.stories {
    background-color: var(--light);
}

.stories-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.story-stat {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.story-stat .stat-number {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

.story-stat .stat-text {
    color: var(--gray);
    font-weight: 500;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.story-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.story-text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.story-text::before {
    content: "";
    font-size: 60px;
    color: var(--primary-light);
    position: absolute;
    left: -10px;
    top: -20px;
    opacity: 0.5;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
}

.author-info h4 {
    font-size: 18px;
    color: var(--primary);
}

.author-info p {
    color: var(--gray);
    font-size: 14px;
}

.stories-actions {
    text-align: center;
}

.stories-actions .btn {
    margin: 0 10px;
}

/* Login Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--gray);
    cursor: pointer;
    z-index: 1;
}

.close:hover {
    color: var(--primary);
}

.login-container {
    padding: 40px;
}

.login-container h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 10px;
}

.login-container > p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 30px;
}

.login-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input {
    width: auto;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Contato Section */
.contact {
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);
}

.emergency-contact {
    background-color: var(--light);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.emergency-contact h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.contact-form {
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--primary-light);
    font-size: 28px;
}

.footer-logo h2 {
    font-size: 24px;
    color: white;
}

.footer-about p {
    color: #ccc;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
}

.footer-links h3, .footer-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Responsividade */
@media (max-width: 992px) {
    .mission-content, .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 1000;
    }
    
    nav ul.show {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .stories-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .stories-actions .btn {
        display: block;
        margin: 10px 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 28px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    .stories-stats {
        grid-template-columns: 1fr;
    }
    
    .login-container {
        padding: 20px;
    }
}