/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #667eea;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== PC Menu Items ===== */
.pc-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-item {
    position: relative;
}

.nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 28px 20px;
}

.nav-item .nav-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* ===== Mega Menu ===== */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-inner {
    display: flex;
    padding: 30px;
    gap: 30px;
}

.mega-column {
    flex: 1;
    min-width: 150px;
}

.mega-column h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-column h3 i {
    font-size: 0.9rem;
}

.mega-column ul li {
    margin-bottom: 8px;
}

.mega-column ul li a {
    display: block;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #666;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mega-column ul li a:hover {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    color: #667eea;
    transform: translateX(5px);
}

/* Mega Menu Featured Card */
.mega-featured {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    border-radius: 15px;
    padding: 20px !important;
}

.mega-featured-card {
    text-align: center;
}

.mega-featured-card .featured-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.mega-featured-card p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
}

.mega-featured-card span {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: #fff;
    z-index: 999;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-inner {
    padding: 20px;
}

.mobile-nav > li {
    border-bottom: 1px solid #eee;
}

.mobile-nav > li > a,
.mobile-sub-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 15px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.mobile-sub-toggle i {
    transition: transform 0.3s ease;
}

.mobile-sub-toggle.active i {
    transform: rotate(180deg);
}

.mobile-nav > li > a:hover,
.mobile-sub-toggle:hover {
    color: #667eea;
    background: #f8f9fa;
}

/* Mobile Sub Menu */
.mobile-sub-menu {
    display: none;
    background: #f8f9fa;
    padding: 10px 0;
}

.mobile-sub-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-sub-category {
    padding: 10px 20px;
}

.mobile-sub-category > span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 8px;
}

.mobile-sub-category > span i {
    margin-right: 8px;
}

.mobile-sub-category ul li a {
    display: block;
    padding: 10px 15px;
    font-size: 0.95rem;
    color: #666;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-sub-category ul li a:hover {
    background: #fff;
    color: #667eea;
    padding-left: 20px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(50px) translateY(50px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.btn-start {
    display: inline-block;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8f8f8;
}

/* ===== Fade-in Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s ease forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.2s;
}

.fade-in.delay-2 {
    animation-delay: 0.4s;
}

.fade-in.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Section Title ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: #333;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

/* ===== Gallery Section (Swiper) ===== */
.gallery {
    padding: 100px 0;
    background: #fff;
}

.mainSwiper {
    padding: 50px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.slide-content {
    text-align: center;
    padding: 20px;
}

.slide-image {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slide-image:hover {
    transform: scale(1.05);
}

.slide-icon {
    font-size: 5rem;
}

.slide-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

.slide-content p {
    color: #666;
}

/* Swiper Custom Styles */
.swiper-button-next,
.swiper-button-prev {
    color: #667eea;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ===== Image Grid Section ===== */
.image-grid-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.grid-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.grid-info {
    padding: 25px;
    text-align: center;
}

.grid-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #333;
}

.grid-info p {
    color: #888;
    font-size: 0.9rem;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
}

.contact .section-title {
    color: #fff;
}

.contact .section-title::after {
    background: rgba(255, 255, 255, 0.5);
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-contact {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ===== Footer ===== */
.footer {
    background: #222;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer p {
    color: #888;
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .mega-menu {
        width: 750px;
    }
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pc-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
        height: 70px;
    }

    .mobile-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 30px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .slide-image {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-start {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .about-card {
        padding: 30px 20px;
    }

    .slide-image {
        width: 180px;
        height: 180px;
    }

    .slide-icon {
        font-size: 4rem;
    }
}
