@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Àü¿ª ¾Ö´Ï¸ÞÀÌ¼Ç ºñÈ°¼ºÈ­ */
.aos-animate {
    animation: none !important;
}

[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

body {
    font-size: 16px;
}

/* ÀÎ¼â ¸ðµå ÃÖÀûÈ­ */
@media print {
    body {
        font-size: 12px;
        margin: 0;
        padding: 0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        background-image: url("images/Web_Background.webp");
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    header,
    #scrollBtn,
    .carousel-arrow {
        display: none !important;
    }

    main {
        margin: 0;
        padding: 0;
        background-color: transparent !important;
    }

    section, .resume-section {
        page-break-inside: avoid;
        background-color: transparent !important;
    }

    #about, #skills, #projects, #certifications, .project-detail {
        background-color: transparent !important;
    }

    section {
        margin: 0;
        padding: 0 !important;
    }

    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .resume-section {
        margin-bottom: 10px !important;
        padding: 10px !important;
    }

    .resume-table {
        font-size: 10px;
    }

    .resume-table th {
        padding: 5px !important;
        font-size: 9px;
    }

    .resume-table td {
        padding: 5px !important;
        font-size: 10px;
    }

    .resume-three-column {
        gap: 8px !important;
    }
}

/* About ¼½¼Ç ½ºÅ¸ÀÏ */
#about {
    background-color: rgba(255, 255, 255, 0.9);
    min-height: auto;
    padding: 10px 0 !important;
}

#about .container {
    max-width: 1400px;
}

.resume-section {
    background: rgba(245, 242, 235, 0.6);
    padding: 8px;
    border-radius: 6px;
    border-left: 2px solid #8b7d6b;
    margin-bottom: 8px !important;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2c2c2c;
    background-color: rgba(139, 125, 107, 0.15);
    border-bottom: 2px solid #8b7d6b;
    padding: 6px 10px;
    margin-bottom: 8px !important;
    letter-spacing: 0.3px;
    border-radius: 4px 4px 0 0;
}

.section-label {
    font-weight: 600;
    color: #8b7d6b;
    margin-right: 8px;
}

.resume-info-grid {
    border: 1px solid rgba(139, 125, 107, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(139, 125, 107, 0.08);
}

.info-row {
    display: grid;
    grid-template-columns: 100px 1fr 100px 1fr;
    border-bottom: 1px solid rgba(139, 125, 107, 0.15);
    gap: 0;
    align-items: center;
}

.info-row:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .info-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.info-label, .info-value {
    padding: 6px 8px;
    font-size: 11px;
    line-height: 1.4;
}

.info-label {
    font-weight: 600;
    color: #464444;
    background-color: rgba(245, 242, 235, 0.8);
    border-right: 1px solid rgba(139, 125, 107, 0.15);
    letter-spacing: 0.2px;
}

.info-value {
    color: #464444;
    background-color: #ffffff;
}

.info-value a {
    color: #8b7d6b;
    text-decoration: none;
    transition: 0.3s;
}

.info-value a:hover {
    color: #464444;
    text-decoration: underline;
}

/* 2¿­ ·¹ÀÌ¾Æ¿ô */
.resume-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

/* 3¿­ ·¹ÀÌ¾Æ¿ô */
.resume-three-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .resume-three-column {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .resume-two-column,
    .resume-three-column {
        grid-template-columns: 1fr;
    }
}

.resume-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.resume-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    font-size: 11px;
    box-shadow: 0 1px 2px rgba(139, 125, 107, 0.08);
    border: 1px solid rgba(139, 125, 107, 0.15);
}

.resume-table thead {
    background: rgba(245, 242, 235, 0.8);
    color: #464444;
}

.resume-table th {
    padding: 7px 10px;
    text-align: left;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.2px;
    border-bottom: 1px solid rgba(139, 125, 107, 0.2);
}

.resume-table td {
    padding: 6px 10px;
    border-bottom: 1px solid rgba(139, 125, 107, 0.1);
    font-size: 10px;
    color: #464444;
    line-height: 1.4;
}

.resume-table tbody tr {
    transition: background-color 0.2s ease;
}

.resume-table tbody tr:hover {
    background-color: rgba(245, 242, 235, 0.4);
}

.resume-table tbody tr:last-child td {
    border-bottom: none;
}

.resume-table a {
    color: #8b7d6b;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.resume-table a:hover {
    color: #464444;
    text-decoration: underline;
}

.cert-link, .award-link {
    color: #8b7d6b;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.cert-link:hover, .award-link:hover {
    color: #464444;
    text-decoration: underline;
}

.resume-section-compact {
    background: rgba(245, 242, 235, 0.6);
    padding: 8px;
    border-radius: 6px;
    border-left: 2px solid #8b7d6b;
}

/* ÀÎ¼â ¸ðµå ÃÖÀûÈ­ */
@media print {
    #about {
        background-color: white !important;
        padding: 10mm !important;
    }

    .resume-section {
        page-break-inside: avoid;
    }

    .resume-two-column {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.navbar {
    background-color: rgba(245, 242, 235, 0.95);
}

.nav-link {
    font-size: 18px;
    position: relative;
    display: inline-block;
}

.nav-link::before {
    transition: 300ms;
    height: 3px;
    content: "";
    position: absolute;
    border-radius: 5px;
    background-color: #8b7d6b;
}

.nav-hover::before {
    width: 0%;
    bottom: 10px;
}

.nav-hover:hover::before {
    width: 70%;
}

body {
    background-image: url("images/Web_Background.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}

body::-webkit-scrollbar-track {
    border-radius: 10px;
}

body::-webkit-scrollbar {
    width: 7px;
}

body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #a8968f;
}

body {
    font-family: "Fira Sans", sans-serif;
}

#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 242, 235, 0.1) 0%, rgba(139, 125, 107, 0.05) 100%);
    z-index: 0;
}

#home .container {
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.home-greeting {
    font-size: 1.2rem;
    color: #8b7d6b;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home-title {
    font-size: 2.8rem;
    line-height: 1.4;
    font-weight: 700;
}

.highlight-text {
    color: #464444;
    position: relative;
}

.gradient-text {
    background: linear-gradient(135deg, #8b7d6b 0%, #a8968f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.name-text {
    color: #8b7d6b;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.name-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8b7d6b, transparent);
    transform: scaleX(1);
    transform-origin: left;
}

#home h1 {
    font-size: 2.5rem;
    line-height: 1.3;
}

#home p {
    font-size: 18px;
}

#home .col-md-8 {
    padding-right: 20px;
}

#home .col-md-4 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.univ-logo {
    width: 20px;
    height: 40px;
    margin-right: 6px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.univ-logo:hover {
    transform: scale(1.1);
}

.social-link {
    color: #464444;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(245, 242, 235, 0.6);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #8b7d6b 0%, #a8968f 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(139, 125, 107, 0.4);
}

#home i {
    cursor: pointer;
    transition: 0.5s;
}

#home i:hover {
    color: rgb(146, 146, 0);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: 8px;
}

.contact-item {
    font-size: 18px;
    color: #464444;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.contact-item a {
    color: #464444;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(245, 242, 235, 0.4);
    backdrop-filter: blur(5px);
}

.contact-item a:hover {
    background: rgba(139, 125, 107, 0.15);
    transform: translateX(-5px);
    box-shadow: 0 3px 10px rgba(139, 125, 107, 0.2);
}

.contact-item i {
    color: #8b7d6b;
    width: 24px;
    text-align: center;
}

.contact-item a:hover {
    color: #8b7d6b;
    transform: translateX(5px);
}

.contact-item a:hover i {
    color: #8b7d6b;
}

.profile-card {
    position: relative;
    width: 240px;
    height: 320px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, rgba(245, 242, 235, 0.3) 0%, rgba(184, 171, 155, 0.1) 100%);
    animation: fadeInRight 1s ease-out 0.4s both;
}

.profile-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(139, 125, 107, 0.3), rgba(168, 150, 143, 0.3));
    filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 125, 107, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

#scrollBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

#skills .education > i.fs-2 {
    height: 100px;
    width: 100px;
    background-color: rgba(245, 242, 235, 0.8);
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#skills .education > i.fs-2:hover {
    cursor: pointer;
    transform: scale(1.03);
}

/* ============================================
   PROJECTS ¼½¼Ç - ÆäÀÌÁö ÀüÃ¼ ºÐÀ§±â¿¡ ¸ÂÃá ½ºÅ¸ÀÏ
   ============================================ */

/* Projects ¼½¼Ç ÀüÃ¼ ¹è°æ */
#projects {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 60px 0;
}

/* Projects ¼½¼Ç Á¦¸ñ */
#projects h2 {
    color: #464444;
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

#projects h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b7d6b, transparent);
    border-radius: 2px;
}

#projects .col-lg-4 {
    padding: 20px;
}

/* Projects Ä«µå ½ºÅ¸ÀÏ */
#projects .card {
    border: none;
    box-shadow: 0 3px 12px rgba(139, 125, 107, 0.15);
    margin: 10px auto;
    cursor: pointer;
    position: relative;
    background: rgba(245, 242, 235, 0.5);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #8b7d6b;
}

#projects .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(139, 125, 107, 0.25);
    background: rgba(245, 242, 235, 0.7);
}

/* Ä«µå ¹Ùµð */
#projects .card-body {
    padding: 1.5rem;
    background-color: transparent;
}

/* Ä«µå Á¦¸ñ */
#projects .card-title {
    color: #464444;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* Ä«µå ÅØ½ºÆ® */
#projects .card-text {
    color: #464444;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ¹èÁö ½ºÅ¸ÀÏ */
#projects .badge {
    background: linear-gradient(135deg, #8b7d6b 0%, #a8968f 100%);
    color: #fff;
    padding: 0.5em 0.9em;
    font-weight: 500;
    border-radius: 6px;
    margin-right: 6px;
    margin-bottom: 6px;
}

/* ÇÁ·ÎÁ§Æ® »ó¼¼ ÆäÀÌÁö */
.project-detail {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.9);
}

.project-detail h3,
.project-detail h4,
.project-detail h5 {
    color: #464444;
    font-weight: 600;
    margin-top: 1.5rem;
}

.project-detail .badge {
    background: linear-gradient(135deg, #8b7d6b 0%, #a8968f 100%);
    font-size: 0.8rem;
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* ============================================ */

#education .education {
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-color: rgba(184, 171, 155, 0.4);
}

#education .education:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    #home img {
        margin-bottom: 30px;
        width: 200px;
    }

    #home .col-md-8 {
        align-items: center;
        text-align: center;
        padding: 0px;
    }

    #home p {
        width: 100%;
        font-size: 18px;
    }
}

@media (max-width: 370px) {
    #home h1 {
        font-size: 25px;
    }
}

#skills .skill-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#skills .skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

#skills .skill-item > i {
    font-size: 1.1rem;
    color: #464444;
    width: auto;
    text-align: left;
}

#skills .skill-item span {
    flex-grow: 1;
}

#skills .star-rating {
    color: #ffc107;
    margin-left: auto;
}

#skills .star-rating i {
    font-size: 0.9rem;
    letter-spacing: -1px;
}

html {
    scroll-behavior: smooth;
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

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

section[id] {
    scroll-margin-top: 80px;
}

.carousel-container {
    position: relative;
}

.cert-carousel {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cert-carousel::-webkit-scrollbar {
    display: none;
}

.cert-carousel .cert-item {
    flex: 0 0 calc(100% / 3 - 1rem);
    margin: 0 0.5rem;
    scroll-snap-align: center;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}

.carousel-arrow.prev {
    left: -20px;
}

.carousel-arrow.next {
    right: -20px;
}

@media print {
    .cert-carousel {
        overflow-x: visible;
        flex-wrap: wrap;
    }
}

/* ½ºÅ³ ¼½¼Ç ³» ÇÁ·ÎÁ§Æ® ¸µÅ© ¸®½ºÆ® ½ºÅ¸ÀÏ */
.project-ref-list {
    list-style: none;
    padding-left: 2.2rem;
    margin-top: 5px;
    margin-bottom: 0;
}

.project-ref-list li {
    font-size: 0.85rem;
    margin-bottom: 4px;
    line-height: 1.4;
    position: relative;
}

.project-ref-list li::before {
    content: "- ";
    color: #8b7d6b;
    margin-right: 4px;
}

.project-ref-list a {
    text-decoration: none;
    color: #6c757d;
    transition: all 0.2s ease;
    display: inline-block;
}

.project-ref-list a:hover {
    color: #8b7d6b;
    text-decoration: underline;
    transform: translateX(3px);
}

.skill-group {
    margin-bottom: 1.2rem;
}

.skill-group:last-child {
    margin-bottom: 0;
}

/* ÇÁ·ÎÁ§Æ® »ó¼¼ ÆäÀÌÁö - ³ªÀÇ ¿ªÇÒ ¼½¼Ç */
.project-detail h4.text-primary {
    color: #8b7d6b !important;
}

.project-detail .border-primary {
    border-color: #8b7d6b !important;
}

/* ¹èÁö »ö»ó ÅëÀÏ */
.project-detail .badge.bg-secondary {
    background: linear-gradient(135deg, #8b7d6b 0%, #a8968f 100%) !important;
}

.project-detail .badge.bg-primary {
    background: linear-gradient(135deg, #8b7d6b 0%, #a8968f 100%) !important;
}

.project-detail .badge.bg-success {
    background: linear-gradient(135deg, #6d9773 0%, #8ab089 100%) !important;
}
/* ============================================
   ESSAY (ÀÚ±â¼Ò°³¼­) ¼½¼Ç ½ºÅ¸ÀÏ
   ============================================ */

#essay {
    background-color: rgba(245, 242, 235, 0.4); /* ¼½¼Ç ±¸ºÐÀ» À§ÇÑ ¿¶Àº ¹è°æ»ö */
}

/* Ä«µå ±âº» ½ºÅ¸ÀÏ (ÇÁ·ÎÁ§Æ® Ä«µå¿Í À¯»çÇÑ ·è¾ØÇÊ) */
#essay .card {
    border: none;
    border-left: 5px solid #8b7d6b; /* Æ÷ÀÎÆ® ÄÃ·¯ ¿ÞÂÊ Å×µÎ¸® */
    box-shadow: 0 4px 15px rgba(139, 125, 107, 0.1);
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Ä«µå È£¹ö È¿°ú */
#essay .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 125, 107, 0.2);
}

/* Á¦¸ñ ¾ÆÀÌÄÜ ½ºÅ¸ÀÏ */
#essay .card-title i {
    color: #8b7d6b;
}

#essay .card-title {
    color: #464444;
    border-bottom: 1px solid rgba(139, 125, 107, 0.2);
    padding-bottom: 10px;
}

/* ¼ÒÁ¦¸ñ (´ë°ýÈ£ ºÎºÐ) ½ºÅ¸ÀÏ */
#essay .essay-subtitle {
    color: #8b7d6b; /* Æ÷ÀÎÆ® ÄÃ·¯ Àû¿ë */
    font-weight: 700;
    font-size: 1.1rem;
}

/* º»¹® ÅØ½ºÆ® ½ºÅ¸ÀÏ */
#essay .card-text {
    color: #333;
    line-height: 1.7; /* ±ä ±ÛÀÇ °¡µ¶¼ºÀ» À§ÇØ Çà°£ Á¶Á¤ */
    font-size: 1rem;
    white-space: pre-line; /* ÁÙ¹Ù²Þ Àû¿ëÀ» À§ÇØ */
}

/* ÀÎ¼â ½Ã ½ºÅ¸ÀÏ ÃÖÀûÈ­ */
@media print {
    #essay {
        background-color: white !important;
        page-break-before: always; /* ÀÚ±â¼Ò°³¼­´Â »õ ÆäÀÌÁö¿¡¼­ ½ÃÀÛ */
    }
    #essay .card {
        box-shadow: none;
        border: 1px solid #ddd;
        border-left: 5px solid #8b7d6b;
    }
}