/* =====================================================
   Alumni Portal — shared styles
   Extends the main site theme.css; import both.
   ===================================================== */

/* Nav, footer, breadcrumb, and CSS variables are inlined in components/nav.php */

/* ---- Page Banner (breadcrumb) ---- */
.page-banner {
    background: var(--primary, #003366);
    color: #fff;
    padding: 36px 0 24px;
}
.page-banner h1 {
    font-family: 'Yeseva One', serif;
    font-size: clamp(22px, 4vw, 36px);
    margin: 0 0 8px;
    color: #fff;
}
.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
    color: rgba(255,255,255,.7);
}
.breadcrumb-nav a { color: var(--accent, #ffcc00); text-decoration: none; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-separator { opacity: .5; }

/* ---- General section ---- */
.alumni-section {
    padding: 60px 0 80px;
    background: var(--bg, #f8f9fa);
}

/* ---- Hero banner ---- */
.alumni-hero {
    background: linear-gradient(135deg, var(--primary, #003366) 0%, #1a5276 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}
.alumni-hero h2 {
    font-family: 'Yeseva One', serif;
    font-size: clamp(28px, 5vw, 52px);
    margin: 0 0 16px;
    color: #fff;
}
.alumni-hero p {
    font-size: 18px;
    opacity: .85;
    max-width: 640px;
    margin: 0 auto 32px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-hero-primary {
    background: var(--accent, #ffcc00);
    color: var(--primary, #003366);
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
    display: inline-block;
}
.btn-hero-primary:hover { opacity: .9; transform: translateY(-2px); color: var(--primary, #003366); }
.btn-hero-outline {
    border: 2px solid rgba(255,255,255,.6);
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: border-color .2s, transform .15s;
    display: inline-block;
}
.btn-hero-outline:hover { border-color: #fff; transform: translateY(-2px); color: #fff; }

/* ---- Stats bar ---- */
.stats-bar {
    background: #fff;
    border-bottom: 3px solid var(--accent, #ffcc00);
    padding: 28px 0;
}
.stats-bar .wrap {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .num {
    font-family: 'Yeseva One', serif;
    font-size: 36px;
    color: var(--primary, #003366);
    display: block;
}
.stat-item .lbl {
    font-size: 13px;
    color: #666;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ---- Section title ---- */
.section-title {
    color: var(--primary, #003366);
    border-left: 5px solid var(--accent, #ffcc00);
    padding-left: 15px;
    margin-bottom: 28px;
    font-weight: 700;
    font-size: 26px;
}

/* ---- Alumni cards (directory) ---- */
.alumni-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 22px 22px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,.07);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.alumni-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.alumni-card .avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent, #ffcc00);
    margin: 0 auto 14px;
    display: block;
    background: #e9ecef;
}
.alumni-card .avatar-placeholder {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--primary, #003366);
    color: var(--accent, #ffcc00);
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border: 3px solid var(--accent, #ffcc00);
}
.alumni-card h5 { font-weight: 700; color: #222; margin-bottom: 4px; font-size: 16px; }
.alumni-card .batch { font-size: 12px; color: var(--accent-dark, #b8860b); font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.alumni-card .dept  { font-size: 13px; color: #555; margin: 4px 0; }
.alumni-card .job   { font-size: 13px; color: #333; font-weight: 500; }
.alumni-card .city  { font-size: 12px; color: #888; }
.alumni-card .linkedin-link { font-size: 13px; margin-top: 10px; display: inline-block; color: #0077b5; }

/* ---- Auth forms ---- */
.auth-wrap {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,.09);
}
.auth-wrap h2 {
    font-family: 'Yeseva One', serif;
    color: var(--primary, #003366);
    margin-bottom: 6px;
}
.auth-wrap .sub-text { color: #666; font-size: 14px; margin-bottom: 28px; }
.form-label { font-weight: 600; font-size: 14px; color: #333; }
.form-control, .form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary, #003366);
    box-shadow: 0 0 0 3px rgba(0,51,102,.1);
    outline: none;
}
.btn-submit {
    background: var(--primary, #003366);
    color: var(--accent, #ffcc00);
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .15s;
    width: 100%;
}
.btn-submit:hover { background: #002244; transform: translateY(-1px); }
.auth-footer-link { text-align: center; margin-top: 20px; font-size: 14px; color: #555; }
.auth-footer-link a { color: var(--primary, #003366); font-weight: 600; }

/* ---- Profile page ---- */
.profile-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,.09);
    overflow: hidden;
}
.profile-header {
    background: linear-gradient(135deg, var(--primary, #003366), #1a5276);
    padding: 40px 32px 32px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent, #ffcc00);
    background: #e9ecef;
    flex-shrink: 0;
}
.profile-avatar-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 4px solid var(--accent, #ffcc00);
    color: var(--accent, #ffcc00);
    font-size: 42px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.profile-header-info h2 { color: #fff; font-size: 26px; margin: 0 0 4px; }
.profile-header-info .batch-tag {
    background: var(--accent, #ffcc00);
    color: var(--primary, #003366);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
}
.profile-header-info .job-info { color: rgba(255,255,255,.8); font-size: 14px; margin-top: 6px; }
.profile-body { padding: 32px; }
.profile-field { margin-bottom: 16px; }
.profile-field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: #888; font-family: 'JetBrains Mono', monospace; }
.profile-field p { margin: 2px 0 0; color: #333; font-size: 15px; }

/* ---- Events / News cards ---- */
.event-card, .news-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,.07);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.event-card:hover, .news-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.event-card .event-date-badge {
    background: var(--primary, #003366);
    color: #fff;
    padding: 16px;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}
.event-card .event-date-badge .day   { font-size: 28px; font-weight: 700; line-height: 1; }
.event-card .event-date-badge .month { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; opacity: .8; font-family: 'JetBrains Mono', monospace; }
.event-card .event-body { padding: 18px 20px; flex: 1; }
.event-card .event-body h5 { font-weight: 700; color: #222; margin-bottom: 6px; }
.event-card.d-flex { display: flex !important; }

.news-card img { width: 100%; height: 180px; object-fit: cover; }
.news-card .news-body { padding: 20px; }
.news-card .news-body h5 { font-weight: 700; color: #222; margin-bottom: 8px; }
.news-card .news-date { font-size: 12px; color: #888; font-family: 'JetBrains Mono', monospace; margin-bottom: 8px; }

/* ---- Pending notice ---- */
.pending-notice {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-left: 5px solid #f59e0b;
    border-radius: 8px;
    padding: 20px 24px;
    color: #7d5a00;
}

/* ---- Search bar ---- */
.search-bar-wrap {
    background: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    margin-bottom: 32px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .alumni-hero { padding: 50px 0 40px; }
    .stats-bar .wrap { gap: 32px; }
    .auth-wrap { padding: 28px 20px; }
    .profile-header { padding: 28px 20px; }
    .profile-body { padding: 20px; }
}
