﻿/* Chat.css - Pink & Purple Theme Chat Application */
@font-face {
    font-family: 'Great Vibes';
    src: url('/Content/fonts/GreatVibes-Regular.woff2') format('woff2'), url('/Content/fonts/GreatVibes-Regular.woff') format('woff'), url('/Content/fonts/GreatVibes-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8bbd9, #e1bee7, #d1c4e9);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Navigation Styles */
nav {
    background: linear-gradient(135deg, rgba(216, 191, 216, 0.9), rgba(203, 164, 206, 0.9));
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 8px 32px rgba(186, 104, 200, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.log {
    font-family: 'Great Vibes', cursive;
    color: white;
    font-size: 2.8rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(186, 104, 200, 0.4);
    background: linear-gradient(45deg, #d8bfd8, #dda0dd, #ba68c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 2px 10px rgba(186, 104, 200, 0.4);
    }

    to {
        text-shadow: 0 4px 20px rgba(186, 104, 200, 0.6);
    }
}

.fancy-float-heading {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, #ba68c8, #ce93d8, #d8bfd8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    text-shadow: 0 1px 5px rgba(186, 104, 200, 0.3);
    animation: floatText 3s ease-in-out infinite;
    top: 50%;
    transform: translateY(-50%);
    text-decoration-style: bold;
}

/* Floating animation */
@keyframes floatText {
    0% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(-56px);
    }

    100% {
        transform: translateY(-50%);
    }
}
/* ===== GLOBAL ===== */
body {
    background: linear-gradient(135deg, #cbb4f6, #f6b6c9);
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.alumni-main {
    padding: 30px 0 60px;
}

/* ===== NAV ===== */
nav {
    background: transparent;
    padding: 15px 0;
}

.log {
    font-weight: bold;
    color: #5b2be0;
}

/* ===== BANNER ===== */
.alumni-banner {
    position: relative;
    margin-bottom: 25px;
}

.banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.2), rgba(255, 140, 180, 0.25));
    border-radius: 25px;
    width: 1300px;
}

/* ===== HERO CARD ===== */
.alumni-hero-card {
    position: relative;
    background: #f3ecff;
    width: 1020px;
    border-radius: 25px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* ===== AVATAR ===== */
.alumni-avatar-wrapper {
    position: relative;
}

.alumni-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #c79cff;
    object-fit: cover;
}

.alumni-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8e44ad, #ff6ec7);
    color: white;
    padding: 4px 14px;
    font-size: 12px;
    border-radius: 20px;
}

/* ===== INFO ===== */
.alumni-name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #4b2ca0;
}

.alumni-headline {
    color: #6c4ed9;
    font-weight: 500;
    margin-bottom: 5px;
}

.at-company strong {
    color: #5a2ce0;
}

.alumni-dept {
    color: #7a6ea5;
    font-size: 14px;
}

/* ===== STATS ===== */
.alumni-stats-row {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.alumni-stat strong {
    font-size: 18px;
    color: #5a2ce0;
}

.alumni-stat span {
    display: block;
    font-size: 13px;
    color: #7a6ea5;
}

/* ===== ACTION BUTTONS ===== */
.alumni-actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-alumni-primary,
.btn-alumni-secondary,
.btn-alumni-success {
    border-radius: 12px;
    padding: 8px 16px;
    border: none;
    font-weight: 500;
    cursor: pointer;
}

.btn-alumni-primary {
    background: linear-gradient(135deg, #8e44ad, #ff6ec7);
    color: white;
}

.btn-alumni-secondary {
    background: #eee;
    color: #666;
}

.btn-alumni-success {
    background: #d4edda;
    color: #2e7d32;
}

/* ===== GRID ===== */
.alumni-content-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
}

/* ===== CARDS ===== */
.alumni-card {
    background: #f3ecff;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.07);
}

.alumni-card-title {
    font-weight: 600;
    color: #5a2ce0;
    margin-bottom: 10px;
}

/* ===== CV ===== */
.cv-uploaded {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cv-icon-wrap {
    background: #e6dbff;
    padding: 10px;
    border-radius: 12px;
}

.cv-link {
    color: #5a2ce0;
    font-weight: 500;
}

/* ===== LINKEDIN ===== */
.linkedin-link {
    color: #5a2ce0;
    font-weight: 500;
}

/* ===== POSTS ===== */
.alumni-feed {
}

.feed-header {
    background: #f3ecff;
    padding: 14px;
    border-radius: 15px;
    margin-bottom: 15px;
    color: #5a2ce0;
    font-weight: 600;
}

/* ===== POST CARD ===== */
.alumni-post-card {
    background: #f3ecff;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.07);
}

.alumni-post-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.post-username {
    color: #4b2ca0;
}

.post-date {
    font-size: 12px;
    color: #888;
}

/* ===== CAPTION ===== */
.alumni-post-caption {
    margin: 10px 0;
    color: #444;
}

/* ===== MEDIA ===== */
.alumni-post-media {
    width: 100%;
    max-height: 600px; /* 🔥 Insta style limit */
    object-fit: cover; /* crop nicely */
    border-radius: 12px;
}

/* ===== ACTIONS ===== */
.alumni-post-actions {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.post-action-btn {
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
}

/* ===== MODALS ===== */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content-image {
    width: auto;
    max-width: 500px; /* 🔥 control size */
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}

/* ===== MODAL GLASS EFFECT ===== */
.alumni-modal-content {
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff, #f9f5ff);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.25);
    border: none;
    overflow: hidden;
}

/* ===== HEADER ===== */
.alumni-modal-header {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    border-bottom: none;
    padding: 18px 22px;
}

    .alumni-modal-header .modal-title {
        font-weight: 600;
        letter-spacing: 0.5px;
    }

/* Close Button */
.btn-close-custom {
    color: white;
    font-size: 22px;
    opacity: 0.9;
}

    .btn-close-custom:hover {
        opacity: 1;
        transform: scale(1.1);
    }

/* ===== INPUT FIELDS ===== */
.alumni-input {
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 10px 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

    /* Focus Glow Effect */
    .alumni-input:focus {
        border-color: #a855f7;
        box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
        background: white;
    }

/* Labels */
.form-group label {
    font-weight: 500;
    margin-bottom: 6px;
    color: #444;
}

/* ===== BUTTON ===== */
.btn-alumni-primary {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border: none;
    border-radius: 14px;
    padding: 12px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

    /* Hover Animation */
    .btn-alumni-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(236, 72, 153, 0.35);
    }

/* ===== ANIMATION ===== */
.modal.fade .modal-dialog {
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s ease;
}

.modal.show .modal-dialog {
    transform: translateY(0) scale(1);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1200px) {
    .alumni-main .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .banner-bg,
    .alumni-hero-card {
        width: 100%;
    }
}

@media (max-width: 992px) {
    nav .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }

    .fancy-float-heading {
        position: static !important;
        width: 100% !important;
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .alumni-hero-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        gap: 14px;
    }

    .alumni-actions {
        margin-left: 0;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .btn-alumni-primary,
    .btn-alumni-secondary,
    .btn-alumni-success {
        flex: 1;
        min-width: 140px;
    }

    .alumni-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .alumni-name {
        font-size: 22px;
    }

    .alumni-stats-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .alumni-post-header {
        align-items: flex-start;
    }

    .alumni-post-media {
        max-height: 380px;
    }

    .modal-content-image {
        max-width: 95%;
    }
}