/* 기본 리셋 및 변수 설정 */
:root {
    --primary-color: #7c4dff;  /* 부드러운 보라색 */
    --secondary-color: #ff6e7f;  /* 따뜻한 코랄핑크 */
    --accent-color: #bfe9ff;  /* 연한 하늘색 */
    --success-color: #66bb6a;
    --text-dark: #37474f;
    --text-light: #607d8b;
    --background-light: #fafafa;
    --background-white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 5px 25px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

/* 헤더 스타일 */
.header {
    background-color: var(--background-white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
}

.logo h1 {
    font-size: 1.6rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sub-logo {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: 0.5rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-cta a {
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s;
}

.header-cta a:hover {
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* 히어로 섹션 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #ffeef8 0%, #e8f0ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, -30px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-features {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-item span {
    color: var(--success-color);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 5px 15px rgba(124, 77, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.hero-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: var(--gradient-2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.image-placeholder span {
    font-size: 8rem;
    opacity: 0.3;
    margin-bottom: 1rem;
    position: relative;
}

.image-placeholder p {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    position: relative;
}

/* 섹션 공통 스타일 */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* 왜 우리인가 섹션 */
.why-us {
    background-color: var(--background-white);
}

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

.why-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.why-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.why-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* 프로그램 섹션 */
.programs {
    background-color: var(--background-light);
}

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

.program-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.program-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.program-card.featured {
    border: 2px solid var(--primary-color);
}

.program-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-1);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

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

.program-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.program-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.program-time {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    font-weight: 500;
}

/* 강사 소개 섹션 */
.instructor {
    background-color: var(--background-white);
}

.instructor-content {
    display: grid;
    gap: 3rem;
}

.instructor-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

.instructor-card.main {
    grid-template-columns: 300px 1fr;
    padding: 3rem;
}

.instructor-image {
    width: 150px;
    height: 150px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.instructor-card.main .instructor-image {
    width: 200px;
    height: 200px;
}

.instructor-image.small {
    width: 100px;
    height: 100px;
}

.instructor-icon {
    font-size: 4rem;
}

.instructor-info h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.instructor-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.instructor-bio {
    margin-bottom: 2rem;
}

.instructor-bio p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.qualifications h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.qualifications ul,
.instructor-spec {
    list-style: none;
}

.qualifications li,
.instructor-spec li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

/* 시설 안내 섹션 */
.facility {
    background-color: var(--background-light);
}

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

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

.facility-image {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow);
}

.facility-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.facility-image p {
    color: var(--text-light);
}

.facility-item h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

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

/* 시간표 섹션 */
.schedule {
    background-color: var(--background-white);
}

.schedule-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.schedule-table {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.schedule-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    font-weight: 500;
}

.schedule-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.schedule-table .time {
    background-color: var(--background-light);
    font-weight: 500;
}

.schedule-table .class {
    font-weight: 500;
    border-radius: 5px;
}

.class.housewife {
    background-color: #ffe0e6;
    color: #d32f2f;
}

.class.senior {
    background-color: #e1f5fe;
    color: #0277bd;
}

.class.rehab {
    background-color: #f3e5f5;
    color: #6a1b9a;
}

.class.diet {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.schedule-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.legend-color.housewife {
    background-color: #ffe0e6;
}

.legend-color.senior {
    background-color: #e1f5fe;
}

.legend-color.rehab {
    background-color: #f3e5f5;
}

.legend-color.diet {
    background-color: #e8f5e9;
}

/* 회원 후기 섹션 */
.testimonials {
    background-color: var(--background-light);
}

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

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s;
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.testimonial-icon {
    font-size: 2.5rem;
}

.testimonial-name {
    font-weight: 500;
    color: var(--text-dark);
}

.stars {
    color: #ffc107;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
}

/* 요금 안내 섹션 */
.pricing {
    background-color: var(--background-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: white;
    padding: 0.3rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

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

.price {
    margin: 1rem 0;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.unit {
    color: var(--text-light);
}

.price-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.price-features {
    list-style: none;
    text-align: left;
}

.price-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.pricing-note {
    text-align: center;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 2rem;
}

/* 연락처 섹션 */
.contact {
    background: linear-gradient(135deg, #ffeef8 0%, #e8f0ff 100%);
}

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

.contact-info h3,
.consultation-form h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: start;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.info-value {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
}

.info-value:hover {
    color: var(--primary-color);
}

.info-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.form-desc {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-notice {
    background-color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.form-phone {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    margin-top: 0.5rem;
}

.kakao-channel {
    background-color: #fee500;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.kakao-id {
    font-weight: 500;
    color: #3c1e1e;
    margin-top: 0.5rem;
}

/* 푸터 */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-info p {
    opacity: 0.8;
    line-height: 1.8;
}

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

.footer-message p {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 1rem;
}

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

.social-links span {
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.social-links span:hover {
    transform: scale(1.2);
}

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

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

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .instructor-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .why-grid,
    .program-grid,
    .testimonial-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
}