/* BarberGarden 바버샵 홍보 페이지 스타일 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* 부드러운 스크롤 */
html {
    scroll-behavior: smooth;
}

/* 헤더 스타일 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}

.logo a {
    color: #333 !important;
    text-decoration: none !important;
    cursor: pointer;
}

.logo a:hover {
    color: #333 !important;
    text-decoration: none !important;
}

.logo a:visited {
    color: #333 !important;
    text-decoration: none !important;
}

.logo a:active {
    color: #333 !important;
    text-decoration: none !important;
}

.logo a:focus {
    color: #333 !important;
    text-decoration: none !important;
    outline: none !important;
}

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

.nav-tabs li a,
.nav-tabs li .nav-dropdown-toggle {
    color: #333;
    text-decoration: none;
    padding: 0.55rem 1.1rem;
    border-radius: 6px;
    transition: background 0.18s ease, color 0.18s ease;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
}

.nav-tabs li a:hover,
.nav-tabs li .nav-dropdown-toggle:hover {
    background-color: rgba(0, 0, 0, 0.07);
    color: #111;
    transform: none;
}

.nav-tabs li a.active,
.nav-tabs li .nav-dropdown-toggle.active {
    background-color: #1a1a1a;
    color: #fff;
}

/* 네이버 예약 버튼 */
.nav-naver-booking {
    padding: 0 !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center;
}

.nav-naver-booking img {
    height: 32px;
    width: auto;
    display: block;
    border-radius: 6px;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-naver-booking:hover {
    background: transparent !important;
}

.nav-naver-booking:hover img {
    opacity: 0.85;
    transform: scale(1.05);
}

/* 드롭다운 네비게이션 */
.nav-dropdown {
    position: relative;
}

/* 데스크탑 드롭다운: 페이드+슬라이드 애니메이션 */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.13);
    list-style: none;
    padding: 0.4rem 0;
    min-width: 140px;
    z-index: 2000;
    white-space: nowrap;
    border: 1px solid rgba(0,0,0,0.07);
}

.dropdown-menu li a {
    display: block;
    padding: 0.65rem 1.4rem;
    color: #333;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: background 0.15s;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #111;
    transform: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* 메인 컨텐츠 */
.main-content {
    margin-top: 0; /* 히어로 섹션이 전체 화면을 차지하도록 */
}

.section {
    min-height: 100vh;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section:not(.hero-section) {
    padding-top: 6rem; /* 헤더와 겹치지 않도록 */
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #333;
    margin: 1rem auto;
    border-radius: 2px;
}

/* 히어로 섹션 (메인 랜딩) */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white;
    color: #333;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 백그라운드 영상 */
.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 영상이 잘리지 않고 전체가 보이도록 */
    object-position: center;
    opacity: 0.8; /* 영상을 더 선명하게 */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* 오버레이 배경 제거 */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 500;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    color: #555;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 홍보사진 섹션 */
.gallery-section {
    background: #f8f9fa;
}

.gallery-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gallery-nav {
    background: #333;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gallery-nav:hover {
    background: #2c3e50;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.gallery-nav:active {
    transform: scale(0.95);
}

.gallery-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    scroll-behavior: smooth;
}

.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.gallery-item {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    flex: 0 0 350px; /* 고정 너비로 가로 스크롤 가능하게 */
    min-height: 400px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.gallery-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #ddd, #eee);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
}

.gallery-content {
    padding: 1.5rem;
}

.gallery-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* 섹션 더보기 버튼 */
.section-more-btn {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* 직원소개 섹션 */
.staff-section {
    background: white;
    color: #333;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.staff-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.staff-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.staff-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #333;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.staff-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.staff-role {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.staff-description {
    line-height: 1.8;
    color: #666;
}

/* 페이지 타이틀 섹션 */
.page-title-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 홈페이지 버튼 스타일 */
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #3498db;
    color: white;
}

.btn-secondary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
}

.btn-naver {
    background: #03C75A;
    color: white;
    font-weight: bold;
    border: none;
}

.btn-naver:hover {
    background: #02a84a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(3, 199, 90, 0.4);
}

.hero-booking {
    margin-top: 1.5rem;
}

/* 서비스 섹션 */
.services-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    display: inline-block;
}

.service-link:hover {
    color: #c0392b;
}

/* About 섹션 */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
}

.stat-label {
    color: #666;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    background: #f0f0f0;
    height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
}

/* 직원 페이지 추가 스타일 */
.staff-skills {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.staff-experience {
    margin-top: 1.5rem;
    text-align: left;
}

.staff-experience h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.staff-experience ul {
    list-style: none;
    padding: 0;
}

.staff-experience li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.staff-experience li:before {
    content: "•";
    color: #e74c3c;
    position: absolute;
    left: 0;
}

.reservation-info {
    margin-top: 4rem;
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.reservation-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 갤러리 페이지 스타일 */
.gallery-categories {
    background: #f8f9fa;
    padding: 2rem 0;
}

.category-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    border: none;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-tab.active,
.category-tab:hover {
    background: #e74c3c;
    color: white;
}

.gallery-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item-large {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item-large:hover {
    transform: scale(1.02);
}

.gallery-placeholder-large {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-category {
    background: #e74c3c;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: inline-block;
}

.gallery-info {
    margin-top: 4rem;
    text-align: center;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link.instagram {
    background: #E4405F;
    color: white;
}

.social-link.facebook {
    background: #1877F2;
    color: white;
}

/* 위치 페이지 스타일 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.operating-hours p,
.price-list p,
.transport-info p,
.reservation-info p {
    margin: 0.5rem 0;
}

.sub-info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.directions-section {
    margin-top: 4rem;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.direction-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.direction-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.direction-card ol {
    text-align: left;
    margin-top: 1rem;
}

.landmarks-section {
    margin-top: 3rem;
}

.landmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.landmark-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.landmark-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .gallery-grid-large {
        grid-template-columns: 1fr;
    }
    
    .directions-grid {
        grid-template-columns: 1fr;
    }
}

/* 아카데미 가격 그리드 */
.ac-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.ac-price-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ac-price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.13);
}

.ac-price-card--highlight {
    border-color: #1a1a1a;
}

.ac-price-badge {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.ac-price-name {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.6rem;
}

.ac-price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.ac-price-detail {
    font-size: 0.85rem;
    color: #999;
}

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

/* 아카데미 후기 그리드 */
.ac-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.ac-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    border: 1px solid #f0f0f0;
    transition: transform 0.2s ease;
}

.ac-review-card:hover {
    transform: translateY(-3px);
}

.ac-review-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.ac-review-avatar {
    width: 44px;
    height: 44px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.ac-review-info {
    flex: 1;
}

.ac-review-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #222;
}

.ac-review-course {
    font-size: 0.8rem;
    color: #888;
    margin-top: 2px;
}

.ac-review-stars {
    color: #f5a623;
    font-size: 0.95rem;
}

.ac-review-text {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.ac-review-date {
    font-size: 0.8rem;
    color: #bbb;
    text-align: right;
}

/* 아카데미 통계 */
.ac-stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.ac-stat-item {
    text-align: center;
}

.ac-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
}

.ac-stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.3rem;
}

@media (max-width: 768px) {
    .ac-stats-row {
        gap: 1.5rem;
    }
    .ac-stat-number {
        font-size: 1.7rem;
    }
}

/* 아카데미 페이지 스타일 */
.academy-intro-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.video-section {
    padding: 80px 0;
    background: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.video-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.play-button {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-placeholder:hover .play-button {
    opacity: 1;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 500;
}

.video-info {
    padding: 1.5rem;
    background: white;
}

.video-duration {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.curriculum-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.curriculum-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.curriculum-tab {
    padding: 12px 24px;
    border: none;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.curriculum-tab.active,
.curriculum-tab:hover {
    background: #e74c3c;
    color: white;
}

.curriculum-content {
    display: none;
    margin-top: 2rem;
}

.curriculum-content.active {
    display: block;
}

.course-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.course-price {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
}

.course-duration,
.course-time {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.5rem 0;
    display: inline-block;
}

.curriculum-list {
    list-style: none;
    padding: 0;
}

.curriculum-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.curriculum-list li:before {
    content: "✓";
    color: #e74c3c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.enrollment-section {
    background: white;
    padding: 80px 0;
}

.enrollment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.enrollment-buttons {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .course-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .curriculum-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .enrollment-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 매장위치 섹션 */
.location-section {
    background: #f8f9fa;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-info {
    padding: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #e9ecef;
    transform: translateX(10px);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
}

.map-container {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #f8f9fa;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.map-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: 250px;
    z-index: 10;
}

.map-info h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.map-info p {
    color: #666;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.map-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: #2c3e50;
    text-decoration: underline;
}

/* 햄버거 버튼 (데스크탑에서는 숨김) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1200;
    position: relative;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* 햄버거 X 모양 (열린 상태) */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
        padding: 0 1.2rem;
        position: relative;
    }

    /* 모바일 전체 메뉴 오버레이 */
    .nav-tabs {
        display: none;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        z-index: 1050;
        padding: 4.5rem 0 2rem;
        overflow-y: auto;
    }

    .nav-tabs.open {
        display: flex;
    }

    /* 모바일 1depth 메뉴 항목 */
    .nav-tabs > li {
        width: 100%;
    }

    .nav-tabs > li > a,
    .nav-tabs > li > .nav-dropdown-toggle {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
        padding: 1rem 1.6rem;
        border-radius: 0;
        font-size: 1.05rem;
        font-weight: 600;
        color: #222;
        border-bottom: 1px solid #f0f0f0;
        background: none;
    }

    .nav-tabs > li > a:hover,
    .nav-tabs > li > .nav-dropdown-toggle:hover {
        background-color: #ffffff;
        color: #111;
        transform: none;
    }

    .nav-tabs > li > a.active,
    .nav-tabs > li > .nav-dropdown-toggle.active {
        background-color: transparent;
        color: #111;
    }

    /* 모바일 드롭다운 서브메뉴 - 데스크탑 opacity/visibility 완전 초기화 */
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        transition: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
        border-top: 1px solid #eee !important;
        background: #ffffff !important;
        padding: 0 !important;
        min-width: unset !important;
        width: 100% !important;
        display: none !important;
        margin-top: 0 !important;
    }

    .dropdown-menu.open {
        display: block !important;
    }

    .nav-dropdown:hover .dropdown-menu {
        /* 모바일에서는 hover로 열지 않음, JS 클릭으로만 제어 */
        display: none !important;
    }

    .nav-dropdown:hover .dropdown-menu.open {
        display: block !important;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu li a {
        padding: 0.85rem 2.8rem !important;
        font-size: 0.98rem !important;
        font-weight: 400 !important;
        color: #444 !important;
        display: block !important;
        text-align: left !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        border-bottom: 1px solid #f0f0f0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-menu li a:hover {
        background: #f5f5f5 !important;
        color: #111 !important;
        transform: none !important;
    }

    /* 모바일 네이버 예약 버튼 */
    .nav-tabs > li > a.nav-naver-booking {
        display: flex !important;
        align-items: center !important;
        padding: 0.8rem 1.6rem !important;
        background: none !important;
    }

    .nav-naver-booking img {
        height: 36px;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* 히어로 섹션 모바일 */
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

/* 스크롤 애니메이션 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer 스타일 */
.footer-dark {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 4rem 0 0 0;
    margin-top: 4rem;
}

/* 간결한 사업자 정보 푸터 */
.footer-simple {
    background: #2c3e50;
    color: #aaa;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    font-size: 0.88rem;
    line-height: 1.9;
    border-top: 1px solid #4a5f7a;
}

.footer-simple-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-simple .footer-brand {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.3rem;
}

.footer-simple p {
    margin: 0;
    color: #999;
}

.footer-simple a {
    color: #999;
    text-decoration: none;
}

.footer-simple a:hover {
    color: #ccc;
    text-decoration: underline;
}

.footer-simple .footer-copy {
    margin-top: 0.8rem;
    color: #777;
    font-size: 0.82rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-left h4,
.footer-right h4 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer-left p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 1.5rem;
}

.footer-line {
    width: 60px;
    height: 3px;
    background: #333;
    margin: 1.5rem 0;
}

/* Footer 통계 */
.footer-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-item .counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-item h5 {
    font-size: 0.9rem;
    color: #95a5a6;
    margin: 0;
    font-weight: 500;
}

/* Footer 연락처 */
.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #bdc3c7;
}

.contact-info i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Footer 하단 */
.footer-bottom {
    background: #34495e;
    padding: 1.5rem 0;
    border-top: 1px solid #4a5f7a;
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-left p {
    margin: 0;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 0.5rem;
}

.footer-links a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links span {
    margin: 0 0.5rem;
    color: #7f8c8d;
}

/* 소셜 아이콘 */
.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #4a5f7a;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #333;
    transform: translateY(-2px);
}

/* 고정 버튼 컨테이너 */
.fixed-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 카카오톡 문의 버튼 */
.kakao-talk-btn {
    width: 70px;
    height: 70px;
    background: #FEE500;
    color: #3A1D1D;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.3);
    animation: kakao-pulse 2s infinite;
}

.kakao-talk-btn:hover {
    background: #F7DD00;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(254, 229, 0, 0.4);
}

.kakao-talk-btn span {
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.kakao-text {
    font-size: 0.7rem;
    font-weight: bold;
    line-height: 1;
}

/* 카카오톡 버튼 펄스 애니메이션 */
@keyframes kakao-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(254, 229, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(254, 229, 0, 0.6), 0 0 0 10px rgba(254, 229, 0, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(254, 229, 0, 0.3);
    }
}

/* Go To Top 버튼 */
.goto-top {
    width: 50px;
    height: 50px;
    background: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.goto-top.visible {
    opacity: 1;
    visibility: visible;
}

.goto-top:hover {
    background: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.goto-top span {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Footer 반응형 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .copyright-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* 고정 버튼들 반응형 */
    .fixed-buttons {
        bottom: 1rem;
        right: 1rem;
        gap: 0.8rem;
    }
    
    .kakao-talk-btn {
        width: 60px;
        height: 60px;
    }
    
    .kakao-talk-btn span {
        font-size: 1.5rem;
    }
    
    .kakao-text {
        font-size: 0.6rem;
    }
    
    .goto-top {
        width: 45px;
        height: 45px;
    }
    
    /* 갤러리 반응형 */
    .gallery-item {
        flex: 0 0 280px; /* 모바일에서 더 작게 */
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* 지도 반응형 */
    .map-container {
        height: 300px;
    }
    
    .map-overlay {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
} 