@charset "UTF-8";

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px !important;
}

:root {
    /* Color System */
    --bg-primary: #E3E6EB;
    --color-main: #FF3376;
    --color-sub: #00B0F0;
    --color-text: #2C3E50;
    --color-text-light: #5A6C7D;
    --color-white: #FFFFFF;
    --color-dark: #1A1A1A;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.8rem;
    --spacing-md: 1.25rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 3.5rem;

    /* Typography */
    --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family) !important;
    background-color: var(--bg-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-normal);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    /* 고정된 헤더 패딩으로 높이 통일 */
    position: relative;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list li {
    position: relative;
}

/* Dropdown Menu Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-white);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 1rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li {
    width: 100%;
    margin: 0;
}

.dropdown a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 400;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.dropdown a:hover {
    background: rgba(255, 51, 118, 0.05) !important;
    color: var(--color-main) !important;
    padding-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-size: 1.15rem;
    /* 전역 설정 */
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
    display: inline-block;
}

/* Specific Page Overrides removed for clean standardization */

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-main);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-main) !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    /* header(1000)보다 높게 설정하여 클릭 보장 */
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-normal);
}

/* 브레드크럼 (Breadcrumbs) 스타일 - 히어로 섹션 위 오버레이 */
.breadcrumbs {
    position: relative;
    top: 0;
    width: 100%;
    background: transparent;
    padding: 0;
    margin: 0 0 1.5rem 0;
    z-index: 10;
}

.breadcrumbs .container {
    display: flex;
    justify-content: flex-start;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(44, 62, 80, 0.6);
    /* 살짝 투명한 텍스트 */
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(44, 62, 80, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

/* 다크 배경용 라이트 브레드크럼 */
.breadcrumbs.light .breadcrumb-list,
.breadcrumbs.light .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs.light .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 500;
}

.breadcrumbs.light .breadcrumb-item a:hover {
    color: #ffffff;
}

.breadcrumb-item a:hover {
    color: var(--color-main);
}

.breadcrumb-item.active {
    color: var(--color-text);
    font-weight: 500;
}

.breadcrumb-separator {
    font-size: 0.8rem;
    color: #cbd5e1;
}

@media (max-width: 768px) {
    .breadcrumbs {
        margin-top: 0;
        font-size: 0.85rem;
    }
}




/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 전구 이미지 배경 + 진한 네이비 블루 그라데이션 오버레이 */
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%),
        url('resource/photo/1. 반짝반짝 전기공작소/1. 전기회로/KakaoTalk_20220402_093936390.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--color-white);
    /* & 등의 기본 색상 */
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-title .highlight-pink {
    color: var(--color-main) !important;
    background: none;
    -webkit-text-fill-color: var(--color-main) !important;
}

.hero-title .highlight-blue {
    color: var(--color-sub) !important;
    background: none;
    -webkit-text-fill-color: var(--color-sub) !important;
}

.hero-title .black-text {
    color: #000000 !important;
    background: none;
    -webkit-text-fill-color: #000000 !important;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #e2e8f0;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    color: #94a3b8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #FF3376 0%, #E01E5D 100%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition-normal);
    box-shadow: 0 10px 30px rgba(255, 51, 118, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 51, 118, 0.6);
    background: linear-gradient(135deg, #FF558D 0%, #FF3376 100%);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2.2rem;
    /* 여백 대폭 증가 (1rem -> 3rem) */
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    /* 밑줄 위치 조정 */
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-main), var(--color-sub));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

/* 상세 설명글 스타일 추가 */
.section-description {
    max-width: 850px;
    margin: 0 auto;
    color: var(--color-text);
    line-height: 1.8;
    /* 줄간격 확대 */
    word-break: keep-all;
    font-size: 1.2rem;
}

.section-description p {
    margin-bottom: 1.2rem;
}

/* Parallax Banner */
.parallax-banner {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0;
    text-align: center;
    color: var(--color-white);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.banner-content p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Mobile responsive for parallax */
@media (max-width: 768px) {
    .parallax-banner {
        background-attachment: scroll;
        /* Mobile doesn't support fixed background well */
        padding: 80px 0;
    }

    .banner-content h2 {
        font-size: 1.8rem;
    }

    .banner-content p {
        font-size: 1.1rem;
    }
}

/* About Section */
.about {
    background: var(--color-white);
}

.about-team-image {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-slider {
    position: relative;
    width: 100%;
    height: 450px;
    /* 적절한 높이 설정 */
    overflow: hidden;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: block;
}

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

/* 모바일 대응 */
@media (max-width: 768px) {
    .team-slider {
        height: 300px;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
}

.about-card {
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 15px;
    transition: var(--transition-normal);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-icon {
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--color-text-light);
    line-height: 1.8;
}

.partners {
    margin-top: var(--spacing-lg);
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 51, 118, 0.05), rgba(0, 176, 240, 0.05));
    border-radius: 20px;
}

.partners-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.partner-item {
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    color: var(--color-text);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Curriculum Section */
.curriculum {
    padding: var(--spacing-xl) 0;
    background-color: #fcfcfc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 2.2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-main);
    border-radius: 2px;
}

/* Core Box - The Foundation */
.curriculum-intro {
    background: var(--color-white);
    padding: 3.5rem;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    position: relative;
    z-index: 10;
    text-align: center;
}

.core-highlight {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 800;
}

.sales-point {
    font-size: 1.25rem;
    color: var(--color-main);
    font-weight: 600;
    margin-bottom: 2.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 51, 118, 0.05);
    display: inline-block;
    border-radius: 50px;
}

.core-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: left;
}

.class-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4열로 원복 */
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.core-features li {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.5;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 15px;
}

.core-features li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

/* Visual Connector Line */
.curriculum-connector {
    position: relative;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.curriculum-connector .line {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #eee, var(--color-sub), #eee);
    position: relative;
}

.curriculum-connector .line::after {
    content: '▼';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-sub);
    font-size: 10px;
}

.branch-label {
    position: absolute;
    background: var(--color-sub);
    color: #fff;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 5px 15px rgba(0, 176, 240, 0.3);
}

.specialized-tracks {
    padding: 2rem;
    background: rgba(227, 230, 235, 0.3);
    border-radius: 30px;
    margin-bottom: 4rem;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.curriculum-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 0;
    transition: var(--transition-normal);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    text-align: center;
}

.curriculum-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f0f0f0;
    /* 이미지가 없을 때를 대비한 배경색 */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.curriculum-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-content h3 {
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.card-content ul {
    list-style: none;
    width: 100%;
}

.card-content li {
    padding: 0.5rem 0;
    color: var(--color-text-light);
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

.card-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-main);
    font-weight: bold;
}

@media (max-width: 992px) {
    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility classes for JS */
.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.filter-tag.active {
    background-color: var(--color-main) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(255, 51, 118, 0.3) !important;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 50px 0;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--color-text);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-btn:hover {
    border-color: var(--color-main);
    color: var(--color-main);
}

.page-btn.active {
    background: var(--color-main);
    color: #fff;
    border-color: var(--color-main);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-media-container img,
#lightbox-media-container video {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: block;
}

.lightbox-caption {
    margin-top: 20px;
    color: #fff;
    text-align: center;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.lightbox-caption p {
    font-size: 1rem;
    opacity: 0.8;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 2100;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    padding: 20px;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2100;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Response for Lightbox Buttons */
@media (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        padding: 10px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
}

/* Target Programs Section */
.target {
    background: var(--color-white);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.target-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.target-card:hover {
    border-color: var(--color-sub);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 176, 240, 0.2);
}

.target-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.target-icon {
    flex-shrink: 0;
}

.target-card h3 {
    font-size: 1.4rem;
    color: var(--color-text);
}

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

.target-list li {
    padding: 0.7rem 0;
    color: var(--color-text-light);
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.target-list li:last-child {
    border-bottom: none;
}

.target-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-sub);
    font-weight: bold;
}

/* Section Header Utility */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 2.2rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--color-main);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-primary);
}

/* Projects Section */
.projects-section {
    margin-bottom: var(--spacing-xl);
}

.projects-title {
    text-align: center;
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 3rem;
}

.project-category {
    margin-bottom: 3rem;
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-primary);
}

.category-header h4 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin: 0;
}

.category-badge {
    background: linear-gradient(135deg, var(--color-main), var(--color-sub));
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 1.5rem;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-sub);
    box-shadow: 0 10px 25px rgba(0, 176, 240, 0.2);
}

.project-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.project-card h5 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.project-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-card li {
    padding: 0.5rem 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.2rem;
}

.project-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-main);
    font-weight: bold;
}

section {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-main), var(--color-sub));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 120px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-main);
    background: var(--color-white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin: 0 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--color-text-light);
}

.gallery {
    margin-top: var(--spacing-lg);
}

.gallery-grid,
.gallery-grid-large,
.class-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 500;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    color: var(--color-white);
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.contact-info>p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 10px;
    transition: var(--transition-normal);
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--color-text-light);
}

.contact-form-placeholder {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-notice {
    text-align: center;
}

.form-notice svg {
    margin-bottom: 1rem;
}

.form-notice h4 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.form-notice p {
    color: var(--color-text-light);
    line-height: 1.8;
}

.form-notice-sub {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-info {
    flex: 1;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-bottom .ai-credit {
    color: var(--color-sub);
    /* 파란색 강조 */
    font-weight: 700;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        /* 비활성 시 숨김 */
        pointer-events: none;
        /* 비활성 시 클릭 무시 */
        transition: var(--transition-normal);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
        z-index: 999;
        display: none;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: calc(100vh - 70px);
        /* 헤더 높이 제외 */
        overflow-y: auto;
        /* 내부 스크롤 활성화 */
        -webkit-overflow-scrolling: touch;
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        transform: none !important;
        /* 데스크탑의 translateX(-50%) 영향 제거 */
        left: 0 !important;
        /* 데스크탑의 left: 50% 영향 제거 */
        padding: 0.5rem 0 0 1.5rem !important;
        background: transparent !important;
        min-width: auto !important;
        width: 100% !important;
    }

    /* 데스크탑 호버용 별도 규칙이 모바일 레이아웃을 흔들지 못하도록 차단 */
    .has-dropdown:hover .dropdown {
        transform: none !important;
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown a {
        padding: 0.6rem 0.8rem !important;
        /* 여백 확보 */
        font-size: 0.95rem;
        color: #2C3E50 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        white-space: normal !important;
        /* 긴 텍스트 줄바꿈 허용 (잘림 방지) */
        word-break: keep-all !important;
        line-height: 1.4 !important;
        transition: none !important;
    }

    .dropdown a:hover,
    .nav-list .dropdown li a:hover {
        background: #FFF5F8 !important;
        /* 연한 핑크 배경 */
        color: #FF3376 !important;
        /* 진한 핑크 텍스트 */
        padding-left: 0.8rem !important;
        /* 호버 시에도 여백 고정하여 밀림 방지 */
        opacity: 1 !important;
        visibility: visible !important;
    }

    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        right: 5rem;
        top: 18px;
        transform: none;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Core Section Mobile Optimization */
    .core-highlight {
        font-size: 1.4rem !important;
        word-break: keep-all !important;
    }

    .sales-point {
        font-size: 1.05rem !important;
        padding: 0.8rem 1.2rem !important;
        border-radius: 15px !important;
        display: block !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
    }

    .core-features {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .core-features li {
        padding: 1.2rem !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid-large {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-year {
        flex: 0 0 80px;
        font-size: 1.2rem;
        padding: 0.5rem;
    }

    .timeline-content {
        margin: 0 0 0 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .ai-notice-container {
        padding: 2rem 1.5rem;
    }

    /* 모바일 브레드크럼 및 히어로 레이아웃 최종 보정 */
    .breadcrumbs {
        margin-bottom: 0.5rem !important;
    }

    .about-hero,
    .detail-hero,
    .guide-hero,
    .gallery-hero,
    .contact-hero {
        padding: 85px 0 50px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .about-grid,
    .curriculum-grid,
    .target-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid-large {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Section Redesign Override */
.hero {
    height: 100vh !important;
    min-height: 700px !important;
    background-color: #0f172a !important;
    overflow: hidden;
}

.hero-background {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%),
        url('resource/photo/1. 반짝반짝 전기공작소/1. 전기회로/KakaoTalk_20220402_093936390.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    animation: zoomEffect 20s infinite alternate;
}

.hero-background::before {
    display: none !important;
}

.hero-title {
    font-size: 4rem !important;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #60a5fa) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem !important;
    color: #e2e8f0 !important;
}

.hero-description {
    color: #94a3b8 !important;
}

.cta-button {
    background: linear-gradient(135deg, #FF3376 0%, #E01E5D 100%) !important;
    box-shadow: 0 10px 30px rgba(255, 51, 118, 0.4) !important;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    background: linear-gradient(135deg, #FF558D 0%, #FF3376 100%) !important;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem !important;
    }
}

/* Hero Section Minimal Style (d.camp style) */
.hero {
    height: 80vh !important;
    min-height: 600px !important;
    background-color: var(--color-white) !important;
    color: var(--color-text) !important;
    overflow: hidden;
    /* 미세한 패턴 배경 추가 */
    background-image: radial-gradient(#E3E6EB 1px, transparent 1px) !important;
    background-size: 20px 20px !important;
}

.hero-background {
    display: none !important;
    /* 배경 이미지 제거 */
}

/* 히어로 텍스트 스타일 */
.hero-title {
    font-size: 4rem !important;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text) !important;
    background: none !important;
    -webkit-text-fill-color: var(--color-text) !important;
    text-shadow: none !important;
    letter-spacing: -1px;
    margin-bottom: 2rem !important;
}

.hero-subtitle {
    font-size: 1.6rem !important;
    color: var(--color-main) !important;
    /* 포인트 컬러 사용 */
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

.hero-description {
    color: var(--color-text-light) !important;
    font-size: 1.25rem !important;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 3rem auto !important;
    line-height: 1.6 !important;
}

.hero-content {
    padding-top: 3rem;
}

/* 스크롤 인디케이터 색상 변경 */
.scroll-indicator span {
    border-color: var(--color-text-light) !important;
}

.scroll-indicator span::before {
    background: var(--color-text) !important;
}

/* 모바일 대응 */
/* Hero Section Layout Update (Text Left, Image Right) - Ratio Adjusted */
.hero {
    height: 90vh !important;
    min-height: 700px !important;
    background-color: var(--color-white) !important;
    color: var(--color-text) !important;
    overflow: hidden;
    background-image: radial-gradient(#E3E6EB 1px, transparent 1px) !important;
    background-size: 20px 20px !important;
    display: flex !important;
    /* Flexbox 사용 */
    align-items: center;
}

.hero .container {
    width: 100%;
    max-width: 1300px;
    /* 컨테이너 너비 확대 */
    margin: 0 auto;
    padding: 0 40px;
    /* 패딩 확대 */
}

.track-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: var(--space-block);
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    /* 간격 조정 */
}

.hero-text {
    flex: 1.3;
    /* 텍스트 영역 비율 확대 (약 60%) */
    text-align: left;
    z-index: 2;
    padding-right: 1rem;
}

.hero-image {
    flex: 0.8;
    /* 이미지 영역 비율 축소 (약 40%) */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1 / 1;
    /* 정사각형 비율 유지 */
    border-radius: 50%;
    /* 원형 모양 */
    object-fit: contain;
    /* 이미지 전체 표시 */
    /* background, border, padding 제거: 이미지 자체 디자인 활용 */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    /* 그림자 유지 */
    animation: floatImage 6s infinite ease-in-out;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0) scale(1.2);
        /* 1.2배 확대로 테두리 맞춤 시도 */
    }

    50% {
        transform: translateY(-20px) scale(1.2);
    }
}

/* 기존 요소 숨김 */
.hero-background,
.hero-content,
.hero-shape,
.floating-icon {
    display: none !important;
}

/* 히어로 텍스트 스타일 */
.hero-title {
    font-size: 4.5rem !important;
    /* 폰트 크기 확대 */
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text) !important;
    margin-bottom: 2rem !important;
    letter-spacing: -1.5px;
}

.hero-title .highlight {
    color: var(--color-main) !important;
    -webkit-text-fill-color: var(--color-main) !important;
}

.hero-title .highlight-blue {
    color: var(--color-sub) !important;
    -webkit-text-fill-color: var(--color-sub) !important;
}

.hero-subtitle {
    font-size: 1.6rem !important;
    /* 서브타이틀도 약간 확대 */
    color: var(--color-sub) !important;
    font-weight: 600 !important;
    margin-bottom: 0.8rem !important;
    display: block;
}

.hero-description {
    color: var(--color-text-light) !important;
    font-size: 1.25rem !important;
    /* 설명글 확대 */
    font-weight: 400;
    line-height: 1.6 !important;
    margin-bottom: 2.5rem !important;
    max-width: 90%;
}

.cta-button {
    background: linear-gradient(135deg, #FF3376 0%, #E01E5D 100%) !important;
    box-shadow: 0 10px 30px rgba(255, 51, 118, 0.3) !important;
    margin: 0 !important;
    display: inline-block !important;
    padding: 1.2rem 3.5rem !important;
    /* 버튼 크기 확대 */
    font-size: 1.2rem !important;
}

/* Scroll indicator 숨김 (필요시) */
.scroll-indicator {
    display: none !important;
}

/* 반응형 대응 */
@media (max-width: 900px) {
    .hero {
        height: auto !important;
        padding: 120px 0 60px !important;
        display: block !important;
    }

    .hero-inner {
        flex-direction: column-reverse;
        /* 모바일에서는 이미지가 위로 가도록 */
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        flex: 1;
        /* 모바일에서는 비율 초기화 */
        text-align: center;
        padding-right: 0;
    }

    .hero-description {
        margin: 0 auto 2rem auto !important;
    }

    .hero-image img {
        max-width: 70%;
        /* 모바일에서 이미지 적당한 크기 */
    }

    .hero-title {
        font-size: 3rem !important;
    }
}

/* Intro Banner Section */
.intro-banner {
    position: relative;
    background: url('resource/design/bg.png') no-repeat center center/cover !important;
    padding: 120px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
}

.intro-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.intro-banner .container {
    position: relative;
    z-index: 2;
}

.intro-banner h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #fff !important;
}

.intro-banner p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    color: #fff !important;
}

@media (max-width: 768px) {
    .intro-banner {
        padding: 80px 0;
    }

    .intro-banner h2 {
        font-size: 1.8rem;
    }

    .intro-banner p {
        font-size: 1.1rem;
    }
}

/* Project Icons (SVG Replacement) */
.project-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 176, 240, 0.08);
    /* 연한 파란색 배경 */
    border-radius: 16px;
    color: var(--color-secondary);
    transition: all 0.3s ease;
}

.project-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-card:hover .project-icon {
    background: var(--color-primary);
    /* 호버 시 핑크색 */
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(255, 51, 118, 0.2);
}

/* High-Fidelity Education Process (Image Matching) */
.hi-fi-process-section {
    padding: 40px 0;
    /* 추가 축소 (60px -> 40px) */
    background: linear-gradient(135deg, #e0f2fe 0%, #bfdbfe 100%);
    text-align: center;
    color: var(--color-text);
}

.process-header .section-title::after {
    background: #FFEB3B;
    /* 옐로우 강조 밑줄 */
}

.process-header .section-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    /* 특수 섹션용 유지 */
    margin-top: 0.5rem;
}

.hi-fi-steps-container {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    /* 추가 축소 (3rem -> 2rem) */
    margin-bottom: 2rem;
    /* 추가 축소 (2.5rem -> 2rem) */
    flex-wrap: wrap;
}

.hi-fi-step {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1e40af;
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.2);
}

.hi-fi-separator {
    font-size: 1.4rem;
    color: #60a5fa;
    font-weight: 700;
}

/* Bracketed Info Card */
.hi-fi-info-card {
    background: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    /* 추가 축소 (2rem -> 1.5rem) */
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4rem;
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
}





.hi-fi-content-left {
    flex: 1.2;
    text-align: left;
    color: #444;
}

.hi-fi-tagline {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
    color: var(--color-sub);
}

.hi-fi-main-text {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    /* 두 줄 배치를 위해 컬럼 방향 설정 */
    gap: 0.5rem;
}

.hi-fi-highlight-red {
    color: var(--color-main);
    display: block;
    /* 줄 바꿈 강제 */
}

.hi-fi-sub-text {
    display: block;
    /* 줄 바꿈 강제 */
    font-size: 2rem;
    /* 폰트 크기 통일 (1.7rem -> 2rem) */
    color: #475569;
    font-weight: 900;
}

.hi-fi-plus {
    font-size: 2rem;
    color: var(--color-sub);
    font-weight: 800;
    margin-right: 8px;
    vertical-align: middle;
}

.hi-fi-content-right {
    flex: 1.3;
    display: flex;
    justify-content: center;
}

.hi-fi-illustration {
    width: 100%;
    max-width: 405px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.05));
}

.hi-fi-bottom-quote {
    margin-top: 2.8rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e3a8a;
    /* 진한 네이비 블루 */
    text-align: center;
    word-break: keep-all;
}

.hi-fi-bottom-quote span {
    color: #FFEB3B;
    /* 하단 인용구 내의 강조 노란색 */
    border-bottom: 2px solid #FFEB3B;
}


@media (max-width: 768px) {
    .hi-fi-info-card {
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
    }


    .hi-fi-main-text {
        font-size: 1.3rem;
    }

    .hi-fi-step {
        width: 90px;
        height: 90px;
        font-size: 0.9rem;
    }

    .hi-fi-separator {
        display: none;
    }
}

/* === Gallery System v3 (Image Focus) === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gallery-card .img-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-card .img-box img,
.gallery-card .img-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .img-box img,
.gallery-card:hover .img-box video {
    transform: scale(1.1);
}

/* Lightbox Enhancements */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.media-display img,
.media-display video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lb-info {
    display: none;
    /* ؽƮ  û ݿ */
}

.close-lb {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

.lb-prev,
.lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.lb-prev:hover,
.lb-next:hover {
    background: var(--color-main);
}

.lb-prev {
    left: -70px;
}

.lb-next {
    right: -70px;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lb-prev {
        left: 10px;
        background: rgba(0, 0, 0, 0.5);
    }

    .lb-next {
        right: 10px;
        background: rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* === New Vertical-Stacked Contact Banner === */
.contact-banner-wrapper {
    margin-top: 0;
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
}

.contact-banner-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
    height: 100%;
    min-height: 380px;
    /* 높이 축소 */
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.banner-top-text {
    color: var(--color-sub);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
    letter-spacing: -0.2px;
}

.banner-main-text {
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    /* 텍스트 간격 축소 */
    line-height: 1.2;
    margin-bottom: 2.22rem;
}

.banner-pink-text {
    color: var(--color-main);
}

.banner-plus-sign {
    color: #cbd5e1;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0.1rem 0;
}

.banner-dark-text-line {
    color: #1e293b;
    font-size: 1.8rem;
}

.banner-bottom-group {
    width: 100%;
    margin-top: 1rem;
}

.banner-cta-button {
    background: var(--color-main);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 51, 118, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.banner-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 51, 118, 0.3);
    background: #FF4D88;
}

@media (max-width: 992px) {
    .contact-banner-card {
        padding: 2.5rem;
        min-height: auto;
        align-items: center;
        text-align: center;
    }

    .banner-main-text {
        font-size: 1.5rem;
        align-items: center;
    }

    .banner-dark-text-line {
        font-size: 1.5rem;
    }

    .banner-cta-button {
        width: 100%;
    }
}

/* AI Plus Edition Notice Section */
.ai-notice-section {
    padding: 1rem 0 3rem 0;
    /* 위쪽 패딩 축소 */
    margin-bottom: 4rem;
}

.ai-notice-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.notice-title-box {
    text-align: center;
    margin-bottom: 2.5rem;
}

.notice-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #00B0F0;
    color: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 176, 240, 0.2);
}

.notice-main-title {
    font-size: 1.8rem;
    color: var(--color-text);
    font-weight: 800;
}

.notice-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.notice-card {
    background: #fff;
    padding: 1.8rem;
    border-radius: 18px;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
}

.notice-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 51, 118, 0.1);
    color: var(--color-pink);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.notice-card-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text);
    font-weight: 500;
    word-break: keep-all;
}

.notice-footer {
    text-align: center;
}

.premium-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 2.5rem;
    background: #00B0F0;
    /* 파란색 서브 컬러 */
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.premium-cta-btn:hover {
    background: #0099d1;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 176, 240, 0.2);
    color: #fff;
}

@media (max-width: 768px) {
    .notice-card-grid {
        grid-template-columns: 1fr;
    }

    .ai-notice-container {
        padding: 2rem 1.5rem;
    }
}