/* Sponsors Page Styles */

.sponsors-page {
    background: #f9f9f9;
}

/* Hero Section */
.sponsors-hero {
    background: linear-gradient(135deg, #d70f20 0%, #005b85 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sponsors-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.sponsors-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sponsors-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.sponsors-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
}

/* Sponsors Content */
.sponsors-content {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsors-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Sponsor Card */
.sponsor-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sponsor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(215,15,32,0.15);
    border-color: #d70f20;
}

.sponsor-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    padding: 30px;
    text-align: center;
}

.sponsor-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.sponsor-card:hover .sponsor-image-wrapper {
    background: #fff;
}

.sponsor-logo {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sponsor-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 140px;
    color: #ccc;
    gap: 10px;
}

.sponsor-placeholder i {
    font-size: 3rem;
}

.sponsor-placeholder p {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
    text-align: center;
}

.sponsor-card:hover .sponsor-logo {
    transform: scale(1.05);
}

.sponsor-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.sponsor-type {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.sponsor-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #005b85;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
    transition: gap 0.3s ease, color 0.3s ease;
}

.sponsor-card:hover .sponsor-cta {
    gap: 12px;
    color: #d70f20;
}

.sponsor-cta i {
    transition: transform 0.3s ease;
}

.sponsor-card:hover .sponsor-cta i {
    transform: translateX(3px);
}

/* No Sponsors Message */
.no-sponsors {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.no-sponsors i {
    font-size: 4rem;
    color: #d70f20;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-sponsors p {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .sponsors-hero h1 {
        font-size: 2rem;
    }
    
    .sponsors-subtitle {
        font-size: 1rem;
    }
    
    .sponsors-content {
        padding: 60px 20px;
    }
    
    .sponsors-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .sponsors-hero {
        padding: 60px 20px;
    }
    
    .sponsors-hero h1 {
        font-size: 1.75rem;
    }
    
    .sponsors-content {
        padding: 40px 20px;
    }
    
    .sponsors-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .sponsor-link {
        padding: 20px;
    }
    
    .sponsor-image-wrapper {
        min-height: 120px;
    }
    
    .sponsor-logo {
        max-height: 100px;
    }
}
