/**
 * Estilos para página de Sponsors
 * HelpPets - Basado en compras.css
 */

:root {
    --beige-bg: #FAF8F4;
    --verde-principal: #2E7D32;
    --verde-hover: #1B5E20;
    --texto-gris: #2E2E2E;
    --gris-claro: #E0E0E0;
    --blanco: #FFFFFF;
    --sombra: 0 2px 8px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--beige-bg);
    color: var(--texto-gris);
    line-height: 1.6;
    padding-top: 70px;
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 60px 40px;
    margin-bottom: 40px;
    box-shadow: var(--sombra);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--verde-principal);
    opacity: 0.1;
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: var(--verde-principal);
    opacity: 0.1;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--texto-gris);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    font-weight: 300;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--verde-principal);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: #666;
    margin-top: 5px;
}

/* Filters Section */
.filters-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px 30px;
    margin-bottom: 40px;
    box-shadow: var(--sombra);
}

.filters-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.filters-container:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-weight: 600;
    color: var(--texto-gris);
    font-size: 16px;
    white-space: nowrap;
}

.filter-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.filter-chip {
    padding: 10px 20px;
    border: 2px solid var(--gris-claro);
    background: white;
    color: var(--texto-gris);
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.filter-chip:hover {
    border-color: var(--verde-principal);
    background: rgba(46, 125, 50, 0.05);
}

.filter-chip.active {
    background: var(--verde-principal);
    color: white;
    border-color: var(--verde-principal);
}

.category-select {
    padding: 10px 20px;
    border: 2px solid var(--gris-claro);
    border-radius: 25px;
    background: white;
    color: var(--texto-gris);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

.category-select:focus {
    outline: none;
    border-color: var(--verde-principal);
}

/* Loading */
.loading {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.spinner {
    border: 4px solid var(--gris-claro);
    border-top: 4px solid var(--verde-principal);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sponsors Sections */
.sponsors-level-section {
    margin-bottom: 50px;
}

.level-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--texto-gris);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gris-claro);
}

.level-title i {
    font-size: 26px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

/* Sponsor Card */
.sponsor-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--sombra);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out both;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.sponsor-logo-container {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--beige-bg);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.sponsor-logo {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.3s;
}

.sponsor-card:hover .sponsor-logo {
    transform: scale(1.05);
}

.sponsor-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--texto-gris);
    margin-bottom: 12px;
}

.sponsor-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.badge-oro {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #92400e;
}

.badge-plata {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #374151;
}

.badge-bronce {
    background: linear-gradient(135deg, #cd7f32 0%, #e9a96c 100%);
    color: #78350f;
}

.badge-colaborador {
    background: #dbeafe;
    color: #1e40af;
}

.badge-categoria {
    background: #f3e8ff;
    color: #6b21a8;
}

.sponsor-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
    font-size: 15px;
}

.sponsor-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--verde-principal);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.sponsor-link:hover {
    color: var(--verde-hover);
    gap: 12px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--sombra);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--texto-gris);
    margin-bottom: 10px;
}

.empty-description {
    color: #666;
    font-size: 16px;
}

/* Info Section */
.info-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px 40px;
    margin: 60px 0;
    box-shadow: var(--sombra);
}

.info-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--texto-gris);
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-card {
    text-align: center;
    padding: 25px 15px;
    background: var(--beige-bg);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra);
}

.info-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.info-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--texto-gris);
    margin-bottom: 10px;
}

.info-card-text {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--verde-principal), var(--verde-hover));
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--sombra);
    margin: 60px 0;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--verde-principal);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: var(--verde-hover);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn-secondary:hover {
    background: white;
    color: var(--verde-principal);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stats-row {
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .filters-section {
        padding: 20px;
    }

    .filters-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-chips {
        width: 100%;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .level-title {
        font-size: 22px;
    }

    .info-section {
        padding: 40px 20px;
    }

    .info-title {
        font-size: 24px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .filter-chip {
        padding: 8px 16px;
        font-size: 14px;
    }

    .sponsor-card {
        padding: 20px;
    }

    .sponsor-logo-container {
        height: 150px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}
