/* ============================================= */
/* HOME PAGE STYLES - JINHONGLJH PORTFOLIO */
/* ============================================= */

/* ===== PAGE LAYOUT ===== */
.container {
    height: 100vh;
    width: 100vw;
}

main {
    display: flex;
    height: 100%;
}

.carousel-panel, .info-panel {
    flex: 1;
}

/* ===== CAROUSEL PANEL ===== */
.carousel-panel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: var(--background-color);
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    content-visibility: auto;
}

/* ===== INFO PANEL STRUCTURE ===== */
.info-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* ===== INFO PANEL - LOGO ===== */
.logo {
    margin: 40px auto;
}

/* ===== INFO PANEL - CONTENT ===== */
.info-middle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tagline, .profession {
    margin: 0;
}

.tagline {
    letter-spacing: 1px;
    font-size: 23px;
    font-weight: 350;
    padding-bottom: 20px;
}

.profession {
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 350;
    font-style: italic;
    color: var(--secondary-color);
    padding-bottom: 30px;
}

/* ===== CALL-TO-ACTION BUTTON ===== */
.cta {
    letter-spacing: 1px;
    font-size: 9px;
    font-weight: 500;
    color: var(--primary-color);
    display: inline-block;
    padding: 1.2em 1.5em;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.cta:hover,
.cta.active {
    background-color: var(--primary-color);
    color: var(--background-color);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 40px auto;
}

.social-links .icon {
    width: 18px;
    height: 18px;
    fill: var(--secondary-color);
    transition: opacity 0.3s ease;
}

.social-links:hover .social-link:not(:hover) .icon {
    opacity: 0.5;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
    main {
        flex-direction: column;
    }
}