/* ==========================================================================
   Richard Samuel Yue - Personal & Professional Portfolio Stylesheet
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
}

a {
    color: #333;
    transition: color 0.2s ease;
}

a:hover {
    color: #2c3e50;
}

/* Banner / Hero Section */
.banner {
    background-color: #4a4a4a;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.headshot {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #d0d0d0;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.headshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.banner h1 {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.banner h2 {
    font-size: 1.2em;
    font-weight: 300;
    opacity: 0.9;
}

/* Main Content Area */
.content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.content h3 {
    font-size: 1.6em;
    margin-top: 36px;
    margin-bottom: 16px;
    color: #2c3e50;
    line-height: 1.35;
}

.content h3:first-of-type {
    margin-top: 0;
}

.content p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
}

.content a {
    color: #2c3e50;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content a:hover {
    color: #0077b5;
}

/* Social Icon Links */
.social-links {
    text-align: center;
    margin: 50px 0 30px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4a4a4a;
    color: #ffffff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-btn.linkedin:hover {
    background-color: #0077b5;
}

.social-btn.scholar:hover {
    background-color: #4285f4;
}

.social-btn.github:hover {
    background-color: #333333;
}

/* Footer */
footer {
    text-align: center;
    padding: 24px 20px;
    background-color: #f5f5f5;
    color: #666;
    font-size: 0.9em;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .banner {
        padding: 30px 15px;
    }

    .banner h1 {
        font-size: 1.6em;
    }

    .banner h2 {
        font-size: 1.05em;
    }

    .content {
        margin: 25px auto;
        padding: 0 16px;
    }

    .content h3 {
        font-size: 1.35em;
    }

    .content p {
        font-size: 1rem;
    }

    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin: 0 10px;
    }
}
