/* Classification Page Styles */

.page-header {
    background: linear-gradient(135deg, var(--primary-purple), var(--turquoise));
    color: var(--white);
    padding: 20px 0 20px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.classification-content {
    padding: 80px 0;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--white);
    border: 2px solid var(--silver);
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-btn:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.tab-btn.active {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: var(--white);
}

/* Classification Grid */
.classification-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.mineral-group {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.mineral-group.hidden {
    display: none;
}

.mineral-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.group-header {
    background: linear-gradient(135deg, var(--primary-purple), var(--turquoise));
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.group-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.group-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.minerals-list {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mineral-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid var(--turquoise);
    transition: all 0.3s ease;
}

.mineral-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left-color: var(--primary-purple);
}

.mineral-card h3 {
    color: var(--primary-purple);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.mineral-info p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.5;
}

.mineral-info strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Identification Guide */
.identification-guide {
    margin-top: 4rem;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 3rem;
}

.identification-guide h2 {
    text-align: center;
    color: var(--primary-purple);
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.step-number {
    background: var(--turquoise);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Active state for navigation */
.nav-menu a.active {
    color: var(--primary-purple);
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .classification-content {
        padding: 60px 0;
    }
    
    .filter-tabs {
        margin-bottom: 2rem;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .group-header {
        padding: 1.5rem;
    }
    
    .group-header h2 {
        font-size: 1.6rem;
    }
    
    .minerals-list {
        padding: 1.5rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mineral-card {
        padding: 1.2rem;
    }
    
    .identification-guide {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .identification-guide h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .guide-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
        text-align: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
}