/* Catalog Introduction Styles */

.catalog-introduction {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: #f8fcff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.catalog-introduction p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2c3e50;
}

.catalog-introduction ul {
    padding-left: 1.5rem;
    margin: 1.2rem 0;
}

.catalog-introduction ul li {
    margin-bottom: 0.5rem;
    list-style-type: circle;
}

.benefits-highlight {
    margin: 1.5rem 0;
    padding: 1.2rem;
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 4px;
}

.benefits-highlight h3 {
    margin-top: 0;
    color: #0d47a1;
    font-size: 1.3rem;
}

.benefits-highlight ul {
    padding-left: 1.2rem;
}

.benefits-highlight li strong {
    color: #0d47a1;
}

/* Ability Levels Section */
.ability-levels {
    margin-top: 2rem;
}

.ability-levels h3 {
    color: #333;
    text-align: center;
    margin-bottom: 1.5rem;
}

.level-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.level-card {
    padding: 1rem;
    border-radius: 6px;
    border-top: 5px solid;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.level-card h4 {
    margin-top: 0;
    font-size: 1.1rem;
}

.level-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.level-card.level-1 {
    border-top-color: #4caf50; /* Green */
    background-color: #f1f8e9;
}

.level-card.level-2 {
    border-top-color: #8bc34a; /* Light Green */
    background-color: #f9fbe7;
}

.level-card.level-3 {
    border-top-color: #ffc107; /* Amber */
    background-color: #fffde7;
}

.level-card.level-4 {
    border-top-color: #ff9800; /* Orange */
    background-color: #fff3e0;
}

.level-card.level-5 {
    border-top-color: #f44336; /* Red */
    background-color: #ffebee;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .level-cards {
        grid-template-columns: 1fr;
    }

    .catalog-introduction {
        padding: 1rem;
    }
}

/* Browse By Section Styles */
.browse-by-section {
    margin: 3rem 0 2rem;
}

.browse-by-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.browse-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.browse-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

.browse-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.browse-icon {
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e3f2fd;
    border-radius: 50%;
    margin-bottom: 1rem;
    color: #1976d2;
    font-weight: bold;
}

.browse-option h3 {
    margin: 0 0 0.5rem;
    color: #1976d2;
    font-size: 1.2rem;
}

.browse-option p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .browse-options {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .browse-options {
        grid-template-columns: 1fr;
    }
}
