/* ----- POPPINS FONT Link ----- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ----- VARIABLES ----- */
:root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    --first-color: hsl(207, 65%, 65%);
    --first-color-hover: hsl(207, 65%, 55%);
    --title-color: hsl(207, 4%, 95%);
    --text-color: hsl(207, 4%, 80%);
    --text-color-light: hsl(207, 4%, 65%);
    --body-color: hsl(207, 4%, 5%);
    --container-color: hsl(207, 4%, 10%);
    --text-color-second: hsl(207, 4%, 75%);
    --third-color: hsl(207, 65%, 75%);
    --second-color: hsl(207, 65%, 85%);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --card-background: hsl(207, 4%, 8%);
    --neon-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
    --neon-primary: rgba(0, 191, 255, 0.8);
    --neon-secondary: rgba(0, 191, 255, 0.3);
    --neon-glow: 0 0 10px rgba(0, 191, 255, 0.3);
    --neon-text-glow: 0 0 5px rgba(0, 191, 255, 0.5);
    --neon-border: 1px solid rgba(0, 191, 255, 0.3);
    --neon-hover-glow: 0 0 20px rgba(0, 191, 255, 0.5);

    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
    --tiny-font-size: 0.625rem;

    /*========== Font weight ==========*/
    --font-normal: 400;
    --font-medium: 500;
    --font-semi-bold: 600;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Dark theme colors */
.dark-theme {
    --title-color: hsl(207, 4%, 95%);
    --text-color: hsl(207, 4%, 80%);
    --body-color: hsl(207, 4%, 10%);
    --container-color: hsl(207, 4%, 15%);
}

/* ----- BASE ----- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* ----- SMOOTH SCROLL ----- */
html{
    scroll-behavior: smooth;
}

/* ----- CHANGE THE SCROLL BAR DESIGN ----- */
::-webkit-scrollbar{
    width: 10px;
    border-radius: 25px;
}
::-webkit-scrollbar-track{
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 30px;
}
::-webkit-scrollbar-thumb:hover{
    background: #bbb;
}


/* ---##-- REUSABLE CSS --##--- */

/* ----- GLOBAL BUTTON DESIGN ----- */
.btn{
    padding: 12px 25px;
    border: 2px solid var(--neon-primary);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--neon-primary);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    box-shadow: var(--neon-glow);
}
.btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}
.btn:hover {
    box-shadow: var(--neon-hover-glow);
    background: var(--neon-primary);
    color: var(--body-color);
    transform: translateY(-2px);
}
.btn:hover i {
    transform: translateX(3px);
}

/* ----- GLOBAL ICONS DESIGN ----- */
i{
    font-size: 16px;
}

/* ------- BASE -------- */
body{
    background: var(--body-color);
    color: var(--text-color-second);
    transition: 0.3s ease;
    line-height: 1.6;
}
.container{
    width: 100%;
    position: relative;
}

/* ----- NAVIGATION BAR ----- */
#header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    transition: 0.6s;
    background: var(--body-color);
}

.nav-content {
    max-width: 1250px;
    margin: auto;
    padding: 1.7rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--first-color);
    text-decoration: none;
    text-shadow: var(--neon-shadow);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    text-shadow: var(--neon-text-glow);
    color: var(--neon-primary);
}

.nav-button .btn {
    padding: 10px 20px;
    font-size: 15px;
}

.nav-button .btn:hover {
    background: var(--neon-primary);
    color: var(--body-color);
    box-shadow: var(--neon-glow);
}

.nav-menu-btn {
    display: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.5rem;
}

/* Sticky Navigation */
#header.sticky {
    background: var(--body-color);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .nav-content {
        padding: 1.7rem 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--body-color);
        transition: 0.3s;
    }
    
    .nav-menu.responsive {
        right: 0;
    }
    
    .nav-menu-list {
        flex-direction: column;
        align-items: center;
        padding-top: 5rem;
    }
    
    .nav-menu-btn {
        display: block;
    }
    
    .nav-button {
        margin-top: 1rem;
    }
}

/* ----- WRAPPER DESIGN ----- */
.wrapper{
    padding-inline: 10vw;
}

/* ----- FEATURED BOX ----- */
.featured-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    min-height: 700px;
    padding: 60px 0;
    gap: 30px;
}

.featured-text {
    flex: 1;
    max-width: 600px;
    padding-right: 20px;
}

.featured-text-card {
    background: rgba(0, 191, 255, 0.05);
    padding: 12px 25px;
    border-radius: 15px;
    box-shadow: var(--neon-glow);
    border: var(--neon-border);
    width: fit-content;
    margin-bottom: 15px;
}

.featured-text-card span {
    color: var(--text-color-second);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.featured-name {
    margin: 10px 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.featured-name h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin: 15px 0;
    color: var(--text-color-second);
    text-shadow: var(--neon-text-glow);
}

.featured-name p {
    font-size: 2rem;
    font-weight: 500;
    margin-top: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.featured-name .typedText {
    font-size: 2rem;
    color: var(--neon-primary);
    font-weight: 600;
    text-shadow: var(--neon-text-glow);
    white-space: nowrap;
}

.featured-text-info {
    margin: 20px 0;
    max-width: 600px;
}

.featured-text-info p {
    color: var(--text-color-second);
    line-height: 1.8;
}

.featured-text-btn {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.featured-text-btn .btn {
    padding: 12px 25px;
    border: 2px solid var(--neon-primary);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--neon-primary);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

/* View Projects 버튼 (blue-btn) 스타일 */
.featured-text-btn .blue-btn {
    background: var(--neon-primary);
    color: var(--body-color);
    border: 2px solid var(--neon-primary);
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.featured-text-btn .blue-btn:hover {
    background: transparent;
    color: var(--neon-primary);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

.featured-text-btn .blue-btn:hover i {
    transform: translateX(3px);
}

/* 반응형 디자인 */
@media screen and (max-width: 768px) {
    .featured-text-btn {
        flex-direction: column;
        gap: 15px;
    }

    .featured-text-btn .btn,
    .featured-text-btn .blue-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
    }
}

.social_icons {
    display: flex;
    margin-top: 25px;
    gap: 30px;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.icon:hover {
    color: var(--neon-primary);
}

.featured-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-image .image {
    width: 100%;
    max-width: 400px;
    height: auto;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1/1;
    padding: 5px;
    background: linear-gradient(145deg, 
        rgba(0, 191, 255, 0.6),
        rgba(0, 163, 224, 0.4)
    );
    animation: floatAnimation 3s ease-in-out infinite;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.08),
        0 6px 6px rgba(0, 0, 0, 0.05),
        0 0 50px rgba(0, 191, 255, 0.1);
}

.featured-image .image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 10px;
    background: rgba(0, 191, 255, 0.2);
    filter: blur(8px);
    border-radius: 50%;
    animation: shadowAnimation 3s ease-in-out infinite;
}

.featured-image .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.scroll-icon-box {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-btn {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color-second);
    transition: 0.3s;
}

.scroll-btn i {
    font-size: 32px;
    color: var(--neon-primary);
    text-shadow: var(--neon-text-glow);
    animation: scrollDown 2s ease infinite;
}

.scroll-btn p {
    font-size: 14px;
    margin-top: 5px;
}

@keyframes scrollDown {
    0% { transform: translateY(-5px); }
    50% { transform: translateY(5px); }
    100% { transform: translateY(-5px); }
}

/* 반응형 디자인 */
@media screen and (max-width: 1024px) {
    .featured-box {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 60px;
    }

    .featured-text {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .featured-text-btn,
    .social_icons {
        justify-content: center;
    }

    .featured-image {
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .featured-name h1 {
        font-size: 3rem;
    }

    .featured-name p,
    .featured-name .typedText {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .featured-name h1 {
        font-size: 2.5rem;
    }

    .featured-text-btn {
        flex-direction: column;
    }

    .featured-text-btn .btn {
        width: 100%;
    }

    .featured-image .image {
        max-width: 280px;
    }
}

/* ----- MAIN BOX ----- */
.section{
    padding: 6rem 0 2rem;
}
.row{
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
}
.col{
    display: flex;
    width: 50%;
}

/* -- ## --- RESUABLE CSS -- ## -- */
.top-header{
    text-align: center;
    margin-bottom: 5em;
}
.top-header h1{
    font-weight: 600;
    color: var(--text-color-third);
    margin-bottom: 10px;
}
.top-header span{
    color: #999;
}
h3{
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color-third);
    margin-bottom: 15px;
}

/* ----- ABOUT INFO ----- */
.about-info{
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-block: 30px 70px;
    padding-inline: 20px;
    width: 100%;
    background: var(--color-white);
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    border-radius: 20px;
}
.about-info p{
    text-align: center;
    font-size: 15px;
    color: #777;
}
.about-btn {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.about-btn .btn {
    padding: 12px 25px;
    border: 2px solid var(--neon-primary);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--neon-primary);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}
.about-btn .btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}
.about-btn .btn:hover {
    background: var(--neon-primary);
    color: var(--body-color);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}
.about-btn .btn:hover i {
    transform: translateX(3px);
}

/* ----- ABOUT / SKILLS BOX ----- */
.skills-box{
    margin: 10px;
}
.skills-header{
    margin-bottom: 30px;
}
.skills-list{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.skills-list span{
    font-size: 14px;
    background: var(--first-color);
    color: var(--color-white);
    padding: 2px 10px;
    border-radius: 5px;
}

/* ----- PROJECTS BOX ----- */
.project-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Counter Box Styles */
.project-counter {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.counter-box {
    background: var(--color-white);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--first-shadow-color);
    display: flex;
    align-items: center;
    gap: 15px;
    width: fit-content;  /* 내용에 맞게 너비 조정 */
}

.counter-box i {
    font-size: 35px;  /* 아이콘 크기 축소 */
    color: var(--first-color);
}

.counter-info h3 {
    font-size: 28px;  /* 숫자 크기 축소 */
    color: var(--first-color);
    margin-bottom: 2px;  /* 간격 축소 */
}

.counter-info p {
    color: var(--text-color-second);
    font-size: 15px;  /* 텍스트 크기 축소 */
}

/* Project Categories */
.project-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.category-box {
    background: var(--color-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--first-shadow-color);
    transition: transform 0.3s ease;
}

.category-box:hover {
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-header i {
    font-size: 30px;
    color: var(--first-color);
}

.category-header h3 {
    font-size: 20px;
    color: var(--text-color);
    flex: 1;
}

.project-count {
    background: var(--first-color);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.category-content p {
    color: var(--text-color-second);
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-content .btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.category-content .btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.category-content .btn:hover i {
    transform: translateX(5px);
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .project-container {
        padding: 20px;
    }

    .counter-box {
        padding: 15px 25px;
    }

    .counter-box i {
        font-size: 30px;
    }

    .counter-info h3 {
        font-size: 24px;
    }

    .counter-info p {
        font-size: 14px;
    }
}

/* Experience 섹션 네온 효과 */
.timeline-item {
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content {
    position: relative;
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid rgba(0, 191, 255, 0.1);
    transition: all 0.3s ease;
}

/* 호버 효과 */
.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    background: rgba(0, 191, 255, 0.08);
    border: 1px solid var(--first-color);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
}

/* 연도 네온 효과 */
.timeline-date {
    background: rgba(0, 191, 255, 0.08);
    border: 1px solid var(--first-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-date {
    background: var(--first-color);
    color: var(--body-color);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

/* 타임라인 점 네온 효과 */
.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--body-color);
    border: 2px solid var(--first-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background: var(--first-color);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
}

/* 기술 스택 태그 네온 효과 */
.tech-stack span {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.timeline-item:hover .tech-stack span {
    background: rgba(0, 191, 255, 0.1);
    border-color: var(--first-color);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
}

/* 타임라인 선 네온 효과 */
.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 191, 255, 0.1),
        rgba(0, 191, 255, 0.2),
        rgba(0, 191, 255, 0.1)
    );
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.timeline-item:hover ~ .timeline::before {
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

@media screen and (max-width: 480px) {
    .category-box {
        padding: 20px;
    }

    .category-header {
        flex-wrap: wrap;
    }

    .category-header h3 {
        font-size: 18px;
    }

    .category-header i {
        font-size: 25px;
    }
}

/* ----- CONTACT BOX ----- */
.contact-info{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    width: 100%;
    height: 315px;
    background: var(--second-color);
    border-radius: 10px;
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    overflow: hidden;
}
.contact-info>h2{
    color: var(--color-white);
    margin-bottom: 20px;
}
.contact-info>p{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    margin-block: 5px;
}
.contact-info p>i{
    font-size: 18px;
}
.contact-info::after{
    background: var(--color-white);
}
.contact-info:hover.contact-info h2,
.contact-info:hover.contact-info p,
.contact-info:hover.contact-info i{
    color: #777;
    z-index: 2;
}

/* ----- CONTACT FORM ----- */
.form-control{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.form-inputs{
    display: flex;
    gap: 10px;
    width: 100%;
}
.input-field{
    width: 50%;
    height: 55px;
    background: transparent;
    border: 2px solid #AAA;
    border-radius: 10px;
    padding-inline: 20px;
    outline: none;
}
textarea{
    width: 100%;
    height: 250px;
    background: transparent;
    border: 2px solid #AAA;
    border-radius: 10px;
    padding: 15px 20px;
    outline: none;
    resize: none;
}
.form-button>.btn{
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--second-color);
    color: var(--color-white);
}
.form-button>.btn:hover{
    background: #00B5E7;
}
.form-button i{
    font-size: 18px;
    rotate: -45deg;
}

/* ----- FOOTER BOX ----- */
footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 30px;
    background: #F8F8F8;
    padding-block: 40px 60px;
}
.top-footer p{
    font-size: 25px;
    font-weight: 600;
}
.middle-footer .footer-menu{
    display: flex;
}
.footer_menu_list{
    list-style: none;
}
.footer_menu_list a{
    text-decoration: none;
    color: var(--text-color-second);
    font-weight: 500;
    margin-inline: 20px;
}
.footer-social-icons{
    display: flex;
    gap: 30px;   
}
.bottom-footer{
    font-size: 14px;
    margin-top: 10px;
}


/* ----- MEDIA QUERY == 1024px / RESPONSIVE ----- */
@media only screen and (max-width: 1024px){
    .featured-box {
        padding: 40px 0;
        gap: 20px;
    }

    .featured-image {
        max-width: 450px;
    }

    .featured-image .image {
        max-width: 350px;
    }
}

/* 기존 CSS 유지하고 아래 클래스 추가 */
.hide {
    display: none;
}

.project-box {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    display: block;
}

.project-box.hide {
    opacity: 0;
    transform: translateY(20px);
}

/* ----- MEDIA QUERY == 900px / RESPONSIVE ----- */
@media only screen and (max-width: 900px) {
    .nav-button{
        display: none;
    }
    .nav-menu.responsive{
        left: 0;
    }
    .nav-menu{
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        width: 100%;
        min-height: 450px;
        height: 90vh;
        transition: .3s;
    }
    .nav_menu_list{
        flex-direction: column;
    }
    .nav-menu-btn{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .featured-box {
        flex-direction: column;
        text-align: center;
        padding: 100px 0 40px;
        height: auto;
    }
    .featured-text {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .featured-image {
        margin-top: 40px;
    }
    .social_icons{
        margin-top: 2em;
    }
    .featured-image {
        padding-right: 0;    /* 모바일에서는 패딩 제거 */
        justify-content: center;
    }
    
    .image, .image img {
        width: 300px;
        height: 300px;
    }
    .row{
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 50px;
    }
    .col{
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .about-info, .contact-info{
        width: 100%;
    }
    .project-container{
        justify-content: center;
    }
    .project-box{
        width: 80%;
    }

}

/* ----- MEDIA QUERY == 540px / RESPONSIVE ----- */

@media only screen and (max-width: 540px){
    .featured-name{
        font-size: 40px;
    }
    .project-box{
        width: 100%;
    }
    .form-inputs{
        flex-direction: column;
    }
    .input-field{
        width: 100%;
    }
}

.experience-container.roadmap {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
}

.experience-container.roadmap::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(
        to bottom,
        rgba(0, 191, 255, 0.05),
        rgba(0, 191, 255, 0.2),
        rgba(0, 191, 255, 0.05)
    );
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--neon-glow);
}

.experience-box {
    position: relative;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.experience-box.left {
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
}

.experience-box.right {
    justify-content: flex-start;
    padding-left: calc(50% + 30px);
}

.experience-content {
    background: var(--card-background);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--neon-glow);
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: var(--neon-border);
}

.experience-content:hover {
    transform: translateX(10px);
    box-shadow: var(--neon-hover-glow);
}

.experience-box.right .experience-content:hover {
    transform: translateX(-10px);
}

.experience-content h3 {
    color: var(--first-color);
    font-size: 1.4em;
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
}

.experience-box:hover .experience-content h3 {
    color: var(--text-color-third);
}

.experience-content .company {
    color: var(--text-color-second);
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.experience-content .description {
    color: var(--text-color-second);
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
    line-height: 1.6;
}

.experience-year {
    position: absolute;
    background: rgba(0, 191, 255, 0.1);
    color: var(--first-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    z-index: 2;
    transition: all 0.3s ease;
    border: 2px solid var(--neon-primary);
    backdrop-filter: blur(5px);
    box-shadow: var(--neon-glow);
}

.experience-box.left .experience-year {
    right: -20px;
    transform: translateX(50%);
}

.experience-box.right .experience-year {
    left: -20px;
    transform: translateX(-50%);
}

/* 호버 효과 수정 */
.experience-box:hover .experience-year {
    background: var(--neon-primary);
    color: var(--body-color);
    box-shadow: var(--neon-hover-glow);
}

/* 연도 노드 스타일 수정 */
.experience-box::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: rgba(0, 191, 255, 0.1);  /* 노드 배경도 더 어둡게 */
    border: 2px solid var(--neon-primary);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--neon-glow);
    z-index: 1;
    transition: all 0.3s ease;
}

.experience-box:hover::before {
    background: var(--neon-primary);
    border-color: var(--body-color);
    box-shadow: var(--neon-hover-glow);
}

@media (max-width: 768px) {
    .experience-container.roadmap::after {
        left: 30px;
    }
    
    .experience-box.left,
    .experience-box.right {
        padding-left: 70px;
        padding-right: 20px;
        justify-content: flex-start;
    }
    
    .experience-box.left .experience-year,
    .experience-box.right .experience-year {
        left: 0;
    }
    
    .experience-box::before {
        left: 30px;
    }
}

/* Add theme toggle button styles */
.theme-toggle {
    position: fixed;
    right: 20px;
    top: 20px;
    background: var(--first-color);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: var(--first-color-hover);
}

/* Adjust some existing styles for dark mode */
[data-theme="dark"] .nav-link {
    color: var(--text-color-second);
}

[data-theme="dark"] .experience-content {
    background: var(--color-white);
    color: var(--text-color-second);
}

[data-theme="dark"] .experience-content .description {
    color: var(--text-color-second);
}

[data-theme="dark"] .project-box {
    background: var(--color-white);
}

[data-theme="dark"] .contact-info {
    background: var(--color-white);
}

.about-image {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-slider {
    position: relative;
    width: 300px;
    height: 300px;
    z-index: 2;
}

.slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    object-fit: cover;
}

.slider-image.active {
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-color-second);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.dot.active {
    opacity: 1;
    background: var(--first-color);
}

.outer-shadow {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 300px;
    height: 300px;
    border-radius: 15px;
    background: var(--first-color);
    opacity: 0.15;
    z-index: 1;
    transition: transform 0.3s ease;
}

/* 반응형 디자인 */
@media screen and (max-width: 768px) {
    .about-image {
        height: 350px;
    }
    
    .image-slider {
        width: 250px;
        height: 250px;
    }
    
    .outer-shadow {
        width: 250px;
        height: 250px;
    }
}

/* Card styles with subtle neon effect */
.experience-content, .project-box {
    background: var(--card-background);
    border: var(--neon-border);
    box-shadow: var(--neon-glow);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 25px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    opacity: 1;
}

.experience-content:hover, .project-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-hover-glow);
    border: 1px solid var(--neon-primary);
}

/* Text styles with subtle glow */
h1, h2, h3 {
    color: var(--text-color-third);
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.3);
}

.featured-text-card span {
    color: var(--first-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(0, 191, 255, 0.3);
}

.typedText {
    color: var(--neon-primary);
    text-shadow: var(--neon-text-glow);
}

/* Button styles with elegant glow */
.btn {
    padding: 12px 25px;
    border: 2px solid var(--neon-primary);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--neon-primary);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.btn:hover {
    box-shadow: var(--neon-glow);
    background: var(--neon-primary);
    color: var(--body-color);
    transform: translateY(-2px);
}

.btn:hover i {
    transform: translateX(3px);
}

/* Experience timeline styles */
.year-badge {
    background: var(--first-color);
    color: var(--body-color);
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.roadmap-point {
    background: var(--first-color);
    box-shadow: 0 0 10px var(--first-color);
}

/* Project box enhancements */
.project-box {
    background: var(--card-background);
}

.project-box .tech {
    color: var(--second-color);
    font-size: 0.9em;
    font-weight: 500;
}

/* Social icons with subtle glow */
.social_icons .icon {
    background: transparent;
    border: var(--neon-border);
    color: var(--neon-primary);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--neon-glow);
}

.social_icons .icon:hover {
    box-shadow: var(--neon-hover-glow);
    background: var(--neon-primary);
    transform: translateY(-3px);
}

/* Navigation enhancement */
nav {
    position: fixed;
    width: 100%;
    padding: 20px 0;
    z-index: 999;
    transition: 0.3s;
    background: var(--card-background);
    border-bottom: 1px solid rgba(0, 191, 255, 0.1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

nav .nav-content {
    max-width: 1300px;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.nav-menu {
    display: flex;
}

.nav-menu-list {
    display: flex;
    gap: 30px;
}

.nav-list {
    list-style: none;
}

.nav-link {
    color: var(--text-color-second);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--neon-primary);
    background: var(--neon-glow);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.1);
}

/* Button styles */
.nav-button {
    display: flex;
    align-items: center;
}

.nav-button .btn {
    padding: 10px 20px;
    font-size: 15px;
}

.nav-button .btn:hover {
    background: var(--neon-primary);
    color: var(--body-color);
    box-shadow: var(--neon-glow);
}

/* Improved readability */
p {
    line-height: 1.7;
    color: var(--text-color-second);
    font-size: 1rem;
}

/* Section spacing */
.section {
    padding: 6rem 0 2rem;
}

/* Welcome message styles */
.welcome-message {
    color: var(--text-color-third); /* 밝은 청록색 */
    font-size: 2rem; /* 원래 크기 */
    font-weight: bold; /* 두껍게 */
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5); /* 부드러운 그림자 효과 */
    margin: 20px 0; /* 여백 추가 */
    text-align: center; /* 중앙 정렬 */
}

/* 반응형 디자인 추가 */
@media screen and (max-width: 768px) {
    .featured-text-card span {
        font-size: 1.2rem;
    }
    
    .featured-name h1 {
        font-size: 3rem;
    }
    
    .featured-name p,
    .featured-name .typedText {
        font-size: 1.5rem;
        white-space: nowrap;
    }
}

/* 대형 화면 (1440px 이상) */
@media screen and (min-width: 1440px) {
    .featured-name h1 {
        font-size: 4.5rem;
    }
    
    .image, .image img {
        width: 420px;
        height: 420px;
    }
}

/* 노트북 & 작은 데스크톱 (1024px ~ 1439px) */
@media screen and (max-width: 1439px) and (min-width: 1024px) {
    .featured-name h1 {
        font-size: 4rem;
    }
    
    .image, .image img {
        width: 350px;
        height: 350px;
    }
    
    .featured-image {
        padding-right: 30px;
    }
}

/* 태블릿 & 작은 노트북 (768px ~ 1023px) */
@media screen and (max-width: 1023px) and (min-width: 768px) {
    .featured-name h1 {
        font-size: 3.5rem;
    }
    
    .featured-name p,
    .featured-name .typedText {
        font-size: 1.8rem;
    }
    
    .image, .image img {
        width: 300px;
        height: 300px;
    }
    
    .featured-image {
        padding-right: 20px;
    }
}

/* 모바일 가로 & 작은 태블릿 (576px ~ 767px) */
@media screen and (max-width: 767px) and (min-width: 576px) {
    .featured-box {
        flex-direction: column;
        padding: 20px;
    }
    
    .featured-name h1 {
        font-size: 3rem;
    }
    
    .featured-name p,
    .featured-name .typedText {
        font-size: 1.5rem;
    }
    
    .featured-image {
        width: 100%;
        padding-right: 0;
        min-height: auto;
        margin-top: 30px;
    }
    
    .image, .image img {
        width: 280px;
        height: 280px;
    }
}

/* 모바일 세로 (575px 이하) */
@media screen and (max-width: 575px) {
    .featured-box {
        flex-direction: column;
        padding: 15px;
    }
    
    .featured-name h1 {
        font-size: 2.5rem;
    }
    
    .featured-name p,
    .featured-name .typedText {
        font-size: 1.3rem;
    }
    
    .featured-text-card span {
        font-size: 1.1rem;
    }
    
    .featured-image {
        width: 100%;
        padding-right: 0;
        min-height: auto;
        margin-top: 20px;
    }
    
    .image, .image img {
        width: 250px;
        height: 250px;
    }
}

/* 매우 작은 모바일 화면 (320px 이하) */
@media screen and (max-width: 320px) {
    .featured-name h1 {
        font-size: 2rem;
    }
    
    .featured-name p,
    .featured-name .typedText {
        font-size: 1.1rem;
    }
    
    .image, .image img {
        width: 220px;
        height: 220px;
    }
}

/* 가로 모드 대응 */
@media screen and (max-height: 600px) and (orientation: landscape) {
    nav.sticky, nav {
        padding: 6px 0;
    }
    
    .btn.blue-btn {
        padding: 6px 12px;
        font-size: 0.85em;
    }
}

/* Download CV 버튼 스타일 수정 */
.btn {
    padding: 12px 25px;
    border: 2px solid var(--neon-primary);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--neon-primary);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn:hover {
    box-shadow: var(--neon-glow);
    background: var(--neon-primary);
    color: var(--body-color);
    transform: translateY(-2px);
}

.btn:hover i {
    transform: translateX(3px);
}

/* 스크롤 시 navbar 스타일 */
nav.sticky {
    padding: 12px 0;
    background: var(--card-background);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
}

nav.sticky .btn.blue-btn {
    padding: 8px 16px;
    position: relative;
    top: -2px;
    font-size: 0.95em;
}

/* 기본 버튼 스타일 */
.btn.blue-btn {
    padding: 8px 16px;
    position: relative;
    top: -2px;
    font-size: 0.95em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 태블릿 디바이스 (768px ~ 1023px) */
@media screen and (max-width: 1023px) {
    nav.sticky, nav {
        padding: 10px 0;
    }
    
    .btn.blue-btn {
        padding: 7px 14px;  /* 버튼 크기 약간 축소 */
        font-size: 0.9em;   /* 폰트 크기 축소 */
    }
}

/* 모바일 디바이스 (767px 이하) */
@media screen and (max-width: 767px) {
    nav.sticky, nav {
        padding: 8px 0;
    }
    
    .nav-content {
        padding: 0 15px;
    }
    
    .btn.blue-btn {
        padding: 6px 12px;     /* 모바일에 맞는 버튼 크기 */
        font-size: 0.85em;     /* 모바일에 맞는 폰트 크기 */
        top: -1px;             /* 위치 미세 조정 */
    }
}

/* 작은 모바일 디바이스 (375px 이하) */
@media screen and (max-width: 375px) {
    .nav-content {
        padding: 0 10px;
    }
    
    .btn.blue-btn {
        padding: 5px 10px;
        font-size: 0.8em;
    }
}

/* 가로 모드 대응 */
@media screen and (max-height: 600px) and (orientation: landscape) {
    nav.sticky, nav {
        padding: 6px 0;
    }
    
    .btn.blue-btn {
        padding: 6px 12px;
        font-size: 0.85em;
    }
}

/* Experience Section Styles */
.experience-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;  /* 좌우 여백 추가 */
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--first-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--first-color);
    border: 4px solid var(--body-color);
    z-index: 2;
}

.timeline-date {
    position: absolute;
    left: calc(50% + 40px);
    top: 10px;
    background-color: var(--first-color);
    color: var(--color-white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: clamp(12px, 1vw, 14px);  /* 반응형 폰트 크기 */
    font-weight: 500;
    white-space: nowrap;
    z-index: 2;
}

.timeline-content {
    position: relative;
    width: calc(50% - 50px);
    padding: clamp(15px, 2.5vw, 25px);  /* 반응형 패딩 */
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--first-shadow-color);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-date {
    left: auto;
    right: calc(50% + 40px);
}

.timeline-content h3 {
    color: var(--first-color);
    font-size: clamp(16px, 1.8vw, 20px);
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: var(--text-color-second);
    font-size: clamp(14px, 1.5vw, 16px);
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-color-second);
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
    font-size: clamp(13px, 1.4vw, 15px);
    margin-bottom: 15px;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(6px, 1vw, 8px);
}

.tech-stack span {
    background: var(--body-color);
    color: var(--first-color);
    padding: clamp(4px, 0.8vw, 5px) clamp(8px, 1.2vw, 12px);
    border-radius: 15px;
    font-size: clamp(11px, 1.2vw, 13px);
    transition: all 0.3s ease;
}

/* Breakpoints */
@media screen and (max-width: 1024px) {
    .timeline-content {
        width: calc(50% - 40px);
    }
}

@media screen and (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        justify-content: flex-start;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-date {
        left: 70px;
        top: -30px;
    }

    .timeline-content {
        width: calc(100% - 90px);
        margin-left: 60px !important;
    }

    .timeline-item:nth-child(even) .timeline-date {
        left: 70px;
        right: auto;
    }
}

@media screen and (max-width: 480px) {
    .experience-container {
        padding: 0 15px;
    }

    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
        width: 16px;
        height: 16px;
        border-width: 3px;
    }
    
    .timeline-date {
        left: 50px;
        padding: 4px 12px;
    }

    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 40px !important;
    }
}

@media screen and (max-width: 360px) {
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 35px !important;
    }
}

/* Project List Page Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.project-box {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    display: block;
}

.project-card {
    background: var(--container-color);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
}

.project-content {
    padding: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: var(--first-color);
    color: var(--container-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
}

.project-title {
    color: var(--title-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.demo-btn {
    background: var(--first-color);
    color: var(--container-color);
}

.code-btn {
    background: var(--text-color);
    color: var(--container-color);
}

.project-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 필터 버튼 스타일 */
.project-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: var(--neon-border);
    border-radius: 0.75rem;
    background: transparent;
    color: var(--title-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    box-shadow: var(--neon-glow);
    background: var(--neon-primary);
    color: var(--container-color);
}

/* 반응형 디자인 */
@media screen and (max-width: 968px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    background: var(--color-white);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.filter-btn.active {
    background: var(--neon-primary);
    color: var(--color-white);
}

.filter-btn:hover {
    background: var(--neon-primary);
    color: var(--color-white);
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    justify-items: start;
}

.project-box {
    background: var(--color-white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 100%;
    opacity: 1;
}

.project-box:hover {
    transform: translateY(-5px);
}

.project-box h3 {
    color: var(--text-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.project-box p {
    color: var(--text-color-second);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tags span {
    background: var(--body-color);
    color: var(--text-color-second);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 14px;
}

.project-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--first-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
}

.project-link:hover {
    color: var(--neon-primary);
}

.project-link.demo-link {
    color: var(--third-color);
}

.project-link.demo-link:hover {
    color: var(--second-color);
}

.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: var(--body-color);
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 15px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

.hide {
    display: none !important;
}

.project-box[style*="display: none"] {
    opacity: 0;
    transform: translateY(20px);
}

/* Hide class for filtered items */
.project-box.hide {
    display: none;
}

/* 메인 섹션 아바타 애니메이션 - 다른 섹션에 영향 없음 */
.featured-image .image {
    position: relative;
    animation: floatAnimation 3s ease-in-out infinite;
}

.featured-image .image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 10px;
    background: rgba(0, 191, 255, 0.2);
    filter: blur(8px);
    border-radius: 50%;
    animation: shadowAnimation 3s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes shadowAnimation {
    0%, 100% {
        width: 80%;
        opacity: 0.3;
    }
    50% {
        width: 60%;
        opacity: 0.2;
    }
}

/* 이미지 호버 효과 */
.featured-image .image img {
    transition: all 0.3s ease;
}

.featured-image .image:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Projects 섹션 설명 스타일 */
.section-description {
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}