/* Generales y Reset */
:root {
    --primary-color: #38a169; /* Verde (similar al fondo de sección) */
    --secondary-color: #FF6B1A; /* Rosa vibrante */
    --background-light: #006663; /* Verde menta claro para fondo general */
    --text-dark: #2d3748; /* Texto oscuro */
    --text-light: #ffffff; /* Texto claro */
    --gray-bg: #f7fafc; /* Fondo gris claro para secciones */
    --border-color: #cbd5e0;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    
}

a:hover {
    color: var(--secondary-color);
    transition: color 0.3s;
}

.donar{
    color: var(--text-light);
}
h1, h2, h3 {
    font-weight: 700;
    color: #000000; /* Negro para títulos principales */
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* --- Botones --- */

.btn-cta, .btn-support {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    border-radius: 9999px; /* Botón redondeado */
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-cta.primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
    opacity: 0.75;
}

.btn-cta.primary:hover {
    border-color: #662400;
    opacity: 1;
}

.btn-cta.secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-cta.secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.btn-support {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
    margin: 0;
    margin-left: 1rem;
    cursor: pointer;
}

.btn-support:hover {
    border-color: #662400;
}

.btn-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
}

.btn-link:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* --- Header / Navbar --- */

.header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav a {
    margin-left: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- Hero Section (Inicio) --- */

.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    gap: 3rem;
    background-color: #81c784; /* Un verde más oscuro para la sección de bienvenida */
    background-image: linear-gradient( rgba(129, 199, 132, 0.5), rgba(129, 199, 132, 0.5)), url(fondo2.png);
}

.hero-content {
    flex: 1;
    color: var(--text-light);
    max-width: 50%;
}

.palilas {
    color: var(--secondary-color); /* Rosa vibrante */
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hero-section h1 {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.welcome-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
}

/* Simulación de la superposición de texto "Adoptado" */
.image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    font-size: 3rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


/* --- Secciones Generales --- */

.section {
    padding: 5rem 5%;
    text-align: center;
}

/* Sección Quienes Somos */
.who-we-are-section {
    background-color: var(--gray-bg);
}

.who-we-are-section .content-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.who-we-are-section .content-box p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Misión y Compromiso */
.mission-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    text-align: left;
    background-color: var(--text-light);
}

.mission-statement{
    height: 350px;
    box-shadow: 12px 12px 1px 2px rgb(255 107 26);
}

.mission-statement, .compromise {
    flex: 1;
}

.mission-section h2, .compromise h2 {
    text-align: left;
}

.compromise{
    height: 350px;
    box-shadow: 12px 12px 2px 1px rgb(129 199 132);
}

.compromise ul {
    list-style-type: '🐾 ';
    padding-left: 1.5rem;
    font-size: 1.1rem;
}

.compromise ul li {
    margin-bottom: 0.8rem;
}

/* Valores */
.values-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    background-image: linear-gradient( rgba(129, 199, 132, 0.5), rgba(129, 199, 132, 0.5)), url(fondo.png);
}

.values-section h2 {
    color: var(--text-light);
}

.values-section .intro-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.value-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    color: var(--text-dark); /* Texto oscuro dentro de la tarjeta clara */
    flex-direction: row;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

/* Adopta Section */
.adopt-section {
    background-color: var(--gray-bg);
}

.adopt-section h2 {
    color: var(--secondary-color);
    font-size: 3rem;
}

.adopt-section p {
    max-width: 700px;
    margin: 0.5rem auto 2rem;
    font-size: 1.1rem;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.cta-card {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    min-width: 300px;
}

.cta-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Promesa Section */
.promise-section {
    background-color: var(--text-light);
    text-align: left;
}

.promise-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
}

.promise-list {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.promise-list ul {
    list-style-type: '✅ ';
    padding-left: 1.5rem;
    font-size: 1.1rem;
}

.promise-list ul li {
    margin-bottom: 1rem;
}

.simple-promise {
    max-width: 800px;
    margin: 3rem auto 0;
    font-size: 1.5rem;
    font-style: italic;
    border-left: 5px solid var(--secondary-color);
    padding-left: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

/* Transparencia Section */
.transparency-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 4rem 5% 6rem; /* más espacio abajo */
    height: auto;          /* ya no fijo */
}


.transparency-section h2 {
    color: var(--text-light);
}

.transparency-section p {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.transparency-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    margin-bottom: 5em;
}

.detail-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.detail-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.closing-statement {
    font-style: italic;
    font-size: 5rem;
}

.slogan {
    font-size: 1.5rem;
    font-weight: 600;
}

/* --- Footer --- */

/* --- Footer Responsivo --- */
.footer {
    background-color: var(--gray-bg);
    color: black;
    text-align: center;
    padding: 2rem 5%;
    font-size: clamp(0.8rem, 2vw, 1rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem solid white;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    max-width: 800px;
}

.footer svg{
    height: clamp(35px, 6vw, 60px);
    flex-shrink: 0;
}

.footer a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
}

@media (max-width: 600px) {
    .footer {
        padding: 2.5rem 2%;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Media Queries for Responsiveness --- */

@media (max-width: 992px) {
    .header {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    .nav {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        margin: 0.5rem 0.75rem;
    }
    
    .btn-support {
        margin: 0.5rem 0;
    }

    .hero-section {
        flex-direction: column;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        width: 80%;
        min-height: 400px;
    }

    .mission-section {
        flex-direction: column;
        gap: 2rem;
    }

    .mission-section h2, .compromise h2 {
        text-align: center;
    }
}

@media (max-width: 600px) {
    h2 {
        font-size: 2rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .nav a {
        font-size: 0.8rem;
    }
    
    .image-overlay {
        font-size: 2rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-card {
        min-width: unset;
        width: 100%;
    }
}