/* Common Utilities */
.text-center {
    text-align: center;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    display: inline-block;
}

/* Products Section */
.products {
    background-color: var(--bg-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-primary);
}

.product-img-wrapper {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
}

.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* TuBoleta Atletico Huila Section */
.tuboleta {
    background-color: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.tuboleta-container {
    position: relative;
    z-index: 2;
}

.tuboleta-content {
    background: var(--accent-yellow);
    border-radius: 8px;
    padding: 4rem 2rem;
    text-align: center;
    border: 3px solid var(--accent-secondary);
    box-shadow: 8px 8px 0px var(--accent-secondary);
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

/* Background pattern for TuBoleta section */
.tuboleta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.1) 10px,
            transparent 10px,
            transparent 20px);
    z-index: 0;
}

.huila-logos,
.tuboleta-title,
.tuboleta-desc,
.btn-huila {
    position: relative;
    z-index: 1;
}

.huila-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.huila-crest {
    height: 120px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.tuboleta-logo {
    height: 80px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.tuboleta-title {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 900;
}

.tuboleta-desc {
    font-size: 1.2rem;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-weight: 600;
}

.btn-huila {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    border: 2px solid transparent;
}

.btn-huila:hover {
    background-color: transparent;
    color: var(--bg-dark);
    border-color: var(--bg-dark);
    box-shadow: none;
}

@media (max-width: 768px) {
    .tuboleta-title {
        font-size: 2rem;
    }

    .huila-crest {
        height: 100px;
    }
}