/* styles/departments.css */

/* Hero Section */
.dept-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dept-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/pattern-bg.png');
    /* Fallback or pattern */
    opacity: 0.1;
}

.dept-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.dept-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Departments Grid */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.dept-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.dept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.dept-header {
    background: #f8f9fa;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dept-icon-box {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dept-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #202124;
}

.dept-title span {
    font-size: 0.8rem;
    color: #5f6368;
    font-weight: 500;
}

.dept-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.role-section {
    margin-bottom: 1.5rem;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.role-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.role-list li {
    font-size: 0.9rem;
    color: #3c4043;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: flex-start;
}

.role-list li::before {
    content: '•';
    color: #1a73e8;
    margin-right: 8px;
    font-weight: bold;
}

/* Clubs Section in Card */
.clubs-container {
    background: #fdfdfd;
    border-top: 1px solid #f1f3f4;
    padding: 1rem 1.5rem;
}

.club-tag {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #5f6368;
    margin: 0 4px 6px 0;
    transition: all 0.2s;
}

.club-tag:hover {
    background: #e8f0fe;
    color: #1a73e8;
    border-color: #d2e3fc;
}

.club-icon {
    margin-right: 6px;
    font-size: 0.9rem;
}

/* Membership Tiers */
.membership-section {
    background: #202124;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.tier-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s;
}

.tier-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.tier-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.tier-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tier-desc {
    font-size: 0.9rem;
    color: #9aa0a6;
}

/* Responsive */
@media (max-width: 768px) {
    .dept-hero h1 {
        font-size: 2.5rem;
    }

    .dept-grid {
        grid-template-columns: 1fr;
    }
}