/* ==================================================
   StarArchive
   Kim Yoon Sik Personal Website
   home.css — Hero Section (Homepage)
   ================================================== */


/* ==================================================
   Hero
   ================================================== */

.hero {

    min-height: 720px;

    display: flex;

    align-items: center;

    padding: 100px 10%;

    background:

        linear-gradient(
            90deg,
            rgba(8, 31, 50, 0.72),
            rgba(8, 31, 50, 0.32),
            rgba(8, 31, 50, 0.05)
        ),

        url("../images/home/cover.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    color: white;
}


.hero-content {

    max-width: 760px;

    transform: translateY(45px);
}



/* ==================================================
   Hero Subtitle
   ================================================== */

.subtitle {

    margin: 0 0 25px;

    font-size: 12px;

    letter-spacing: 3px;

    color: #d7eaf7;

    font-weight: 600;
}


.subtitle span {

    margin-left: 12px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.85em;

    letter-spacing: 1px;

    font-weight: 400;
}



/* ==================================================
   Hero Title
   ================================================== */

.hero h1 {

    margin: 0 0 35px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    color: white;

    font-weight: 700;

    line-height: 0.88;
}


.hero h1 .name-first {

    display: block;

    font-size: clamp(58px, 8vw, 110px);

    letter-spacing: -3px;
}


.hero h1 .name-last {

    display: block;

    font-size: clamp(58px, 8vw, 110px);

    letter-spacing: -3px;
}


.hero h1 small {

    display: block;

    margin-top: 22px;

    font-size: clamp(18px, 2vw, 28px);

    letter-spacing: 4px;

    font-weight: 400;

    color: rgba(255, 255, 255, 0.72);
}



/* ==================================================
   Hero Description
   ================================================== */

.description {

    max-width: 560px;

    margin: 0;

    font-size: 16px;

    line-height: 2;

    color: rgba(255, 255, 255, 0.9);
}


.description span {

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.9em;
}



/* ==================================================
   Hero Button
   ================================================== */

.button {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;

    padding: 15px 25px;

    background: #173f5f;

    color: white;

    text-decoration: none;

    font-size: 13px;

    letter-spacing: 1px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.button span {

    font-size: 9px;

    letter-spacing: 1.5px;

    opacity: 0.7;
}


.button:hover {

    background: #2d628a;

    transform: translateY(-2px);
}

/* ==================================================
   Social Section
   ================================================== */

.social-section {

    width: 100%;

    padding: 75px 7% 85px;

    background: #eaf4fb;

    color: #173f5f;

}


.social-inner {

    width: 100%;

    max-width: 1000px;

    margin: 0 auto;

    text-align: center;

}


.social-title {

    margin: 0 0 50px;

    text-align: center;

    font-size: 13px;

    font-weight: 400;

    letter-spacing: 5px;

}


.social-links {

    display: flex;

    justify-content: center;

    align-items: flex-start;

    gap: 55px;

}


.social-card {

    width: 150px;

    display: block;

    color: #173f5f;

    text-decoration: none;

}


.social-image {

    width: 125px;

    height: 125px;

    margin: 0 auto;

    overflow: hidden;

    border-radius: 50%;

    background: #dcebf4;

}


.social-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease,
        opacity 0.4s ease;
}


.social-card:hover
.social-image img {

    transform: scale(1.06);

    opacity: 0.88;
}


.social-name {

    padding-top: 20px;

    text-align: center;

}


.social-name span {

    display: block;

    font-size: 10px;

    letter-spacing: 3px;
}


.social-name small {

    display: block;

    margin-top: 6px;

    font-size: 9px;

    letter-spacing: 1px;

    opacity: 0.55;
}