/* Variáveis de Cores */
:root {
    --color-yellow: #FFCB00;
    --color-blue: #00A3FF;
    --color-dark: #333333;
    --color-light: #FFFFFF;
    --color-gray-text: #666666;
    --color-light-bg: #F5F5F5;
    --color-soft-yellow: #FFF2C0; /* Amarelo mais claro para o fundo da seção */
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

h1 {
    font-size: 48px;
    font-weight: 900;
}

h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

a {
    text-decoration: none;
    color: var(--color-dark);
}

/* --- CABEÇALHO / NAV --- */
.header {
    background-color: var(--color-light);
    border-bottom: 1px solid var(--color-light-bg);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-blue);
}

.nav a {
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--color-blue);
}

.social-icons a {
    margin-left: 10px;
    color: var(--color-gray-text);
}

.menu-toggle {
    display: none;
}

/* --- BOTÕES GERAIS --- */
.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-primary {
    background-color: var(--color-yellow);
    color: var(--color-dark);
    margin-right: 10px;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-dark);
    color: var(--color-dark);
}

.btn-search {
    background-color: var(--color-blue);
    color: var(--color-light);
    padding: 12px 40px;
}

.btn-detail {
    background-color: var(--color-yellow);
    color: var(--color-dark);
    width: 100%;
    margin-top: 15px;
}

/* --- SEÇÃO HERO --- */
.hero-section {
    background-color: var(--color-soft-yellow);
    padding: 80px 0 0 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    max-width: 50%;
}

.hero-text p {
    margin: 20px 0 30px;
    font-size: 18px;
}

.hero-image-container {
    width: 50%;
    text-align: right;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    /* Ajuste para simular a imagem cortada no design */
    transform: translateY(30px); 
    z-index: 1;
}

/* --- SEÇÃO DE BUSCA --- */
.search-section {
    background-color: var(--color-light);
    padding: 40px 0;
}

.search-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.filter-input {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    flex: 1;
    max-width: 200px;
}

/* --- SEÇÃO SOBRE O ABRIGO --- */
.about-shelter-section {
    padding: 60px 0;
}

.about-layout {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image-group {
    flex: 1;
    text-align: center;
}

.dogs-group-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-text-area {
    flex: 1;
}

.stats-area {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-box {
    background-color: var(--color-light-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-box.blue {
    background-color: var(--color-blue);
    color: var(--color-light);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    display: block;
}

/* --- SEÇÃO DOS CÃES PARA ADOÇÃO (GRID) --- */
.dogs-adoption {
    background-color: var(--color-soft-yellow);
    padding-bottom: 80px;
}

.pet-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.pet-card {
    background-color: var(--color-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pet-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.pet-details {
    list-style: none;
    text-align: left;
    margin-top: 10px;
    font-size: 14px;
    color: var(--color-gray-text);
}

.view-all-link {
    text-align: center;
    margin-top: 30px;
}

/* --- SEÇÃO DE DOAÇÕES E AJUDA (FUNDO AMARELO) --- */
.donation-help-section {
    background-color: var(--color-yellow);
    padding: 80px 0;
}

.donation-help-section h2 {
    color: var(--color-dark);
}

.help-options-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.help-option {
    text-align: center;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.help-option.active {
    opacity: 1;
}

.help-option img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.financial-help-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
}

.donation-form-row, .payment-options-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.btn-amount {
    background-color: var(--color-light);
    border: 1px solid #ccc;
    color: var(--color-dark);
    padding: 10px 20px;
}

.btn-amount.active {
    background-color: var(--color-blue);
    color: var(--color-light);
    border-color: var(--color-blue);
}

.donation-input, .donation-select {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.email-input {
    flex-basis: 25%;
}

.amount-input {
    flex-basis: 15%;
}

.donation-select {
    flex-basis: 25%;
}

.btn-pay {
    background-color: var(--color-blue);
    color: var(--color-light);
    flex-basis: 25%;
}

.terms-checkbox {
    text-align: center;
    font-size: 14px;
}

/* --- SEÇÃO DE CONTATO E MAPA --- */
.contact-map-section {
    padding: 60px 0;
    background-color: var(--color-light);
}

.contact-layout {
    display: flex;
    gap: 40px;
}

.contact-info-area {
    flex: 1;
}

.contact-details {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid var(--color-yellow);
}

.contact-details p {
    margin: 5px 0;
    color: var(--color-dark);
}

.map-placeholder {
    flex: 2;
    background-color: var(--color-light-bg);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-text);
}

/* --- FOOTER --- */
.footer-bottom {
    background-color: var(--color-blue);
    padding: 20px 0;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    color: var(--color-light);
    font-weight: 700;
}

.footer-links a {
    color: var(--color-light);
    margin: 0 15px;
    font-size: 14px;
}

.footer-social-icons a {
    color: var(--color-light);
    margin-left: 10px;
}

/* --- MEDIA QUERIES (Responsividade) --- */
@media (max-width: 900px) {
    .nav {
        display: none;
    }
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 30px;
        cursor: pointer;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        order: 2; /* Coloca o texto abaixo da imagem em mobile */
        padding-bottom: 40px;
    }

    .hero-image-container {
        width: 100%;
        order: 1;
    }

    .about-layout {
        flex-direction: column;
    }

    .search-filters {
        flex-wrap: wrap;
    }

    .filter-input {
        flex: 1 1 45%; /* Permite que os inputs ocupem quase metade da largura */
        max-width: none;
    }

    .stats-area {
        justify-content: center;
    }
    
    .help-options-grid {
        flex-wrap: wrap;
    }

    .help-option {
        flex-basis: 30%; /* Três itens por linha */
    }

    .donation-form-row, .payment-options-row, .footer-nav, .contact-layout {
        flex-direction: column;
        gap: 15px;
    }

    .donation-input, .donation-select, .btn-pay {
        width: 100%;
        flex-basis: auto;
    }
}