@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&display=swap');

/* ===== GLOBAL ===== */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif;
    text-align: center;
    background: linear-gradient(135deg, #040b2e, #08164d, #102c85);
    color: #e6ecff;
    overflow-x: hidden;
}

/* ===== WELCOME IMAGE ===== */
.welcome-img {
    max-width: 200px;
    border-radius: 20px;
    margin-top: 30px;
    padding: 6px;
    background: linear-gradient(145deg, #2b5cff, #7fa9ff);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

/* ===== HEADERS ===== */
header h1 {
    font-size: 2.5em;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 30px 0 15px;
    background: linear-gradient(120deg, #5f8cff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header h2,
header h3 {
    color: #cdd9ff;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

/* ===== MAIN CONTAINER ===== */
#container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin: 40px auto;
    padding: 30px;
    max-width: 90%;
    background: rgba(10, 20, 60, 0.65);
    backdrop-filter: blur(14px);
    border-radius: 24px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

/* ===== BUTTONS ===== */
.project-link {
    display: inline-block;
    padding: 18px 44px;
    min-width: 190px;
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border-radius: 60px;
    background: linear-gradient(
        120deg,
        #1f4cff,
        #3f6dff,
        #7fa9ff,
        #1f4cff
    );
    background-size: 300% 300%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(60, 100, 255, 0.6),
        inset 0 1px 3px rgba(255,255,255,0.4);
}

/* light sweep */
.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.6s;
}

.project-link:hover::before {
    left: 140%;
}

.project-link:hover {
    transform: translateY(-6px) scale(1.04);
    background-position: 100% 0;
    box-shadow:
        0 30px 80px rgba(120, 160, 255, 0.85),
        inset 0 1px 4px rgba(255,255,255,0.5);
}

.project-link:active {
    transform: scale(0.98);
}

/* ===== TEAM SECTION ===== */
#team-section {
    margin: 70px auto;
    padding: 40px 25px;
    max-width: 900px;
    background: rgba(10, 20, 60, 0.6);
    backdrop-filter: blur(14px);
    border-radius: 26px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
}

#team-section h3 {
    font-size: 28px;
    margin-bottom: 45px;
    letter-spacing: 2px;
    background: linear-gradient(120deg, #7fa9ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== TEAM ROW ===== */
.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 45px;
}

/* ===== TEAM MEMBER ===== */
.team-member {
    position: relative;
}

.circle-link {
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.circle-link:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 0 30px rgba(120,160,255,1));
}

/* ===== AVATAR ===== */
.circle-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    padding: 5px;
    background: linear-gradient(145deg, #2b5cff, #7fa9ff);
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

/* ===== NAME BADGE ===== */
.surname {
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #1f4cff, #7fa9ff);
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.circle-link:hover .surname {
    opacity: 1;
}

/* ===== FOOTER ===== */
footer {
    margin: 60px auto 30px;
    padding: 22px;
    max-width: 90%;
    background: rgba(10, 20, 60, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    color: #ffffff;
    font-size: 14px;
}

footer a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #08164d;
}
::-webkit-scrollbar-thumb {
    background: #3f6dff;
    border-radius: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .team-container {
        gap: 30px;
    }

    .circle-img {
        width: 120px;
        height: 120px;
    }
}
