/* Font Face Definitions */
@font-face {
    font-family: 'Escoredream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-1Thin.woff') format('woff');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Escoredream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-2ExtraLight.woff') format('woff');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Escoredream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Escoredream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Escoredream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Escoredream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff') format('woff');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Escoredream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-7ExtraBold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Escoredream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-8Heavy.woff') format('woff');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Escoredream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-9Black.woff') format('woff');
    font-weight: 900;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Escoredream', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f1f1 0%, #f5f1f1 25%, #f8f0f0 50%, #eed8d6 75%, #f3e4dc 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1f1f20;
    position: relative;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #cccccc, #b9a09d);
    border-radius: 2px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(249, 183, 183, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ede9e9;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(131, 116, 116, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f1f20;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.nav-logo a:hover {
    color: #6d68746e;
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #1f1f20;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.nav-link:hover {
    color: #1f1f20;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #585656, #6d68746e);
    transition: width 0.3s ease;
    border-radius: 1px;
    box-shadow: 0 1px 4px rgba(249, 183, 183, 0.3);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #1f1f20;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #1f1f20;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
    text-shadow: 0 4px 8px rgba(255, 255, 255, 0.5);
}

.highlight {
    background: linear-gradient(45deg, #1f1f20, #1f1f20);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(249, 183, 183, 0.2);
    backdrop-filter: blur(10px);
    color: #1f1f20;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(249, 183, 183, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
    box-shadow: 0 8px 32px rgba(249, 183, 183, 0.2);
}

.cta-button:hover {
    background: rgba(249, 183, 183, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(249, 183, 183, 0.3);
    border-color: rgba(249, 183, 183, 0.5);
    color: #1f1f20;
}

/* About Section */
.about-content {
    display: grid;
    gap: 60px;
}

.profile-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
}

.profile-image {
    text-align: center;
}

.profile-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.profile-info h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.profile-title {
    font-size: 1.2rem;
    color: #ff7043;
    margin-bottom: 20px;
    font-weight: 500;
}

.profile-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 209, 203, 0.3);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 209, 203, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 209, 203, 0.2);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(249, 183, 183, 0.4);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(249, 183, 183, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 183, 183, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(249, 183, 183, 0.2);
}

.info-card h4 {
    font-size: 1.3rem;
    color: #1f1f20;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.info-card ul {
    list-style: none;
    text-align: left;
}

.info-card li {
    padding: 8px 0;
    color: #1f1f20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card li:last-child {
    border-bottom: none;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.skill-tag {
    background: rgba(255, 247, 233, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 183, 183, 0.3);
    color: #1f1f20;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(249, 183, 183, 0.2);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 209, 203, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 209, 203, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 209, 203, 0.2);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(249, 183, 183, 0.4);
}

.gallery-thumbnail {
    position: relative;
    overflow: hidden;
}

.gallery-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(249, 183, 183, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-thumbnail img {
    transform: scale(1.1);
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-info {
    padding: 25px;
}

.gallery-info h3 {
    font-size: 1.3rem;
    color: #1f1f20;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.gallery-info p {
    color: #1f1f20;
    margin-bottom: 15px;
    line-height: 1.6;
}

.gallery-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-tag {
    background: rgba(255, 247, 233, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 183, 183, 0.3);
    color: #1f1f20;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(249, 183, 183, 0.2);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 209, 203, 0.3);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 209, 203, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(249, 183, 183, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 183, 183, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    box-shadow: 0 4px 16px rgba(249, 183, 183, 0.2);
}

.contact-details h4 {
    color: #1f1f20;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.contact-details p {
    color: #1f1f20;
}

.contact-message {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 209, 203, 0.3);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 209, 203, 0.1);
}

.contact-message h3 {
    font-size: 1.5rem;
    color: #1f1f20;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.contact-message p {
    color: #1f1f20;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: rgba(249, 183, 183, 0.1);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 209, 203, 0.2);
    color: #1f1f20;
    text-align: center;
    padding: 30px 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 209, 203, 0.3);
    border-radius: 20px;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 8px 32px rgba(255, 209, 203, 0.2);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.modal-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h3 {
    font-size: 1.5rem;
    color: #1f1f20;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.modal-info p {
    color: #1f1f20;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .profile-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-image img {
        width: 200px;
        height: 200px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-body img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .profile-image img {
        width: 150px;
        height: 150px;
    }

    .info-card,
    .contact-item,
    .contact-message {
        padding: 20px;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-info {
        padding: 20px;
    }
}
