/* 전체적인 스타일 리셋 및 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 고정 연락처 버튼 */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(244, 114, 182, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.floating-contact:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(244, 114, 182, 0.6);
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.floating-contact:active {
    transform: translateY(-1px) scale(1.02);
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(244, 114, 182, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(244, 114, 182, 0.7);
    }
    100% {
        box-shadow: 0 8px 25px rgba(244, 114, 182, 0.4);
    }
}

/* 모바일에서 floating contact 버튼 조정 */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 15px;
        right: 15px;
        padding: 12px 16px;
        font-size: 1rem;
    }
}

body {
    font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
}

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

/* 헤더 스타일 */
.header {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(244, 114, 182, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-link {
    text-decoration: none;
    color: inherit;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.phone-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* 햄버거 메뉴 버튼 */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 햄버거 메뉴 */
.hamburger-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    z-index: 10001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.hamburger-menu.active {
    right: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-header h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.menu-list {
    list-style: none;
    padding: 1rem 0;
}

.menu-list li {
    margin: 0;
}

.menu-list a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.menu-list a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
    transform: translateX(5px);
}

/* 메뉴 오버레이 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 히어로 섹션 */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-button-wrapper {
    margin-bottom: 1.5rem;
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669, #047857);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.highlight {
    background: linear-gradient(135deg, #f472b6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.icon {
    font-size: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #f472b6, #ec4899);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(244, 114, 182, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(244, 114, 182, 0.6);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* 섹션 공통 스타일 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #f472b6, #ec4899);
    border-radius: 2px;
}

/* 서비스 소개 */
.services-intro {
    padding: 5rem 0;
    background: white;
}

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

.intro-description {
    font-size: 1.2rem;
    color: #374151;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    border-radius: 15px;
    border-left: 4px solid #f472b6;
}

.benefit-icon {
    font-size: 1.5rem;
    color: #f472b6;
    margin-top: 0.2rem;
}

.benefit-text strong {
    color: #ec4899;
    font-weight: 700;
}

.intro-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* 마사지 프로그램 */
.massage-programs {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

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

.program-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(244, 114, 182, 0.1);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(244, 114, 182, 0.2);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.program-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.program-subtitle {
    color: #f472b6;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.program-description {
    color: #6b7280;
    line-height: 1.7;
}

/* 가격표 스타일 */
.pricing {
    padding: 5rem 0;
    background: white;
}

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.pricing-category {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-category.special {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
}

.category-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ec4899;
    margin-bottom: 2rem;
}

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

.price-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.price-card:hover {
    transform: translateY(-3px);
    border-color: #f472b6;
    box-shadow: 0 15px 40px rgba(244, 114, 182, 0.2);
}

.price-card.emperor {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
}

.course-badge {
    background: linear-gradient(135deg, #f472b6, #ec4899);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.emperor-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.duration {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.sub-text {
    font-size: 0.8rem;
    color: #6b7280;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ec4899;
}

.emperor .price {
    color: #f59e0b;
}

/* 추천 대상 */
.recommended {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

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

.recommended-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.recommended-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(244, 114, 182, 0.2);
}

.recommended-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.recommended-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

/* 서비스 지역 */
.service-area {
    padding: 5rem 0;
    background: white;
    text-align: center;
}

.area-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.area-subtitle {
    font-size: 1.3rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.service-image img {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* 예약 방법 */
.booking {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.booking-process h3,
.booking-checklist h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: linear-gradient(135deg, #f472b6, #ec4899);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step p {
    font-weight: 600;
    color: #374151;
}

.step-detail {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 400;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.check-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.check-item p {
    color: #374151;
    font-weight: 500;
}

/* 신뢰성 */
.trust {
    padding: 5rem 0;
    background: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.trust-item {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(244, 114, 182, 0.2);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.trust-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.trust-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* 최종 CTA */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #fef3c7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: white;
    color: #ec4899;
    font-size: 1.3rem;
    padding: 1.2rem 3rem;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.cta-button.secondary:hover {
    background: white;
    color: #ec4899;
}

/* 지도 섹션 스타일 */
.location-map {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(244, 114, 182, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(244, 114, 182, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* 푸터 */
.footer {
    background: #1f2937;
    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;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f472b6;
}

.footer-contact h4,
.footer-services h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-services ul {
    list-style: none;
}

.footer-services ul li {
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .booking-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .phone-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .hamburger-menu {
        width: 280px;
        right: -280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .recommended-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* 게시판 스타일 */
.board-header {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.board-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.board-main {
    padding: 3rem 0;
    background: white;
}

.board-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
    border-radius: 15px;
}

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

.stats-number {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stats-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ec4899;
}

.board-list {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.board-item {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.board-item:last-child {
    border-bottom: none;
}

.board-item:hover {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
}

.board-number {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.board-content {
    flex: 1;
}

.board-post-title {
    margin-bottom: 0.8rem;
}

.board-post-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.board-post-title a:hover {
    color: #ec4899;
}

.board-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.board-excerpt {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.8rem 1.2rem;
    background: white;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    border-color: #ec4899;
}

.board-cta {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
    padding: 3rem 0;
    text-align: center;
}

.board-cta .cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.board-cta .cta-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .board-title {
        font-size: 2rem;
    }
    
    .board-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .board-item {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .board-number {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: flex-start;
    }
    
    .board-post-title a {
        font-size: 1.1rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
        .page-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* 게시글 페이지 스타일 */
.post-header {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    padding: 2rem 0;
}

.post-nav {
    margin-bottom: 2rem;
}

.back-btn {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.back-btn:hover {
    opacity: 1;
}

.post-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.post-content {
    padding: 3rem 0;
    background: white;
}

.post-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.post-body h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #333;
    border-bottom: 2px solid #f472b6;
    padding-bottom: 0.5rem;
}

.post-body h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: #ec4899;
}

.post-body p {
    margin-bottom: 1.5rem;
    color: #555;
}

.post-body ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-body li {
    margin-bottom: 0.8rem;
    color: #555;
}

.rating {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

.stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.star {
    font-size: 1.5rem;
}

.rating-text {
    font-weight: 600;
    color: #ec4899;
    margin-left: 1rem;
}

.recommendation {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #ec4899;
}

.related-posts {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
    padding: 3rem 0;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.related-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.related-item h3 {
    margin-bottom: 1rem;
}

.related-item h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-item h3 a:hover {
    color: #ec4899;
}

.related-item p {
    color: #666;
    line-height: 1.6;
}

.post-cta {
    background: white;
    padding: 3rem 0;
    text-align: center;
}

.post-cta .cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.post-cta .cta-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* 모바일 반응형 - 게시글 */
@media (max-width: 768px) {
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-body h2 {
        font-size: 1.5rem;
    }
    
    .post-body h3 {
        font-size: 1.2rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .rating,
    .recommendation {
        padding: 1.5rem;
    }
}

/* 게시판 액션 버튼 스타일 */
.board-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.write-btn {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.3);
}

.write-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.4);
}

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

.post-actions {
    display: flex;
    gap: 1rem;
}

.edit-btn, .delete-btn {
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.edit-btn {
    background: #4ade80;
    color: white;
}

.edit-btn:hover {
    background: #22c55e;
}

.delete-btn {
    background: #ef4444;
    color: white;
}

.delete-btn:hover {
    background: #dc2626;
}

/* 글쓰기 폼 스타일 */
.write-header {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    padding: 2rem 0;
}

.write-nav {
    margin-bottom: 2rem;
}

.write-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.write-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.write-form-section {
    padding: 3rem 0;
    background: white;
}

.write-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f472b6;
    box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
}

.rating-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: fit-content;
}

.rating-input input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    border-color: #ec4899;
}

.rating-input label:hover {
    border-color: #f472b6;
}

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

.submit-btn {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.4);
}

.cancel-btn {
    background: #6b7280;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

/* 모바일 반응형 - 폼 */
@media (max-width: 768px) {
    .post-nav {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .post-actions {
        align-self: flex-end;
    }
    
    .write-title {
        font-size: 1.8rem;
    }
    
    .form-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .submit-btn,
    .cancel-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .program-card,
    .trust-item {
        padding: 2rem 1.5rem;
    }
    
    .price-cards {
        grid-template-columns: 1fr;
    }
    
    .map-container iframe {
        height: 250px;
    }
}

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

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

.program-card,
.trust-item,
.recommended-item {
    animation: fadeInUp 0.6s ease-out;
}

/* 호버 효과 강화 */
.price-card:hover .course-badge {
    transform: scale(1.05);
}

.trust-item:hover .trust-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* 게시판 스타일 */
.board-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.board-stats {
    display: flex;
    gap: 20px;
}

.board-stats span {
    color: #666;
    font-size: 0.9rem;
}

.board-stats strong {
    color: #333;
    font-weight: 600;
}

.write-btn {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.3);
}

.write-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.4);
}

.board-list {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.board-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px;
    background: #f8f9fa;
    padding: 15px 20px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e9ecef;
}

.board-item {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
}

.board-item:hover {
    background-color: #f8f9fa;
}

.board-item:last-child {
    border-bottom: none;
}

.col-num {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.col-title a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.col-title a:hover {
    color: #f472b6;
}

.col-author {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.col-date {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.page-btn:hover {
    background: #f8f9fa;
    border-color: #f472b6;
    color: #f472b6;
}

.page-btn.active {
    background: #f472b6;
    border-color: #f472b6;
    color: white;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .board-header,
    .board-item {
        grid-template-columns: 50px 1fr 80px;
    }
    
    .col-author {
        display: none;
    }
    
    .board-top {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .board-stats {
        flex-direction: column;
        gap: 10px;
    }
}

/* 포스트 페이지 스타일 */
.post-header {
    margin-bottom: 30px;
}

.back-btn {
    display: inline-block;
    color: #666;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: #f472b6;
}

.post-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.post-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    line-height: 1.8;
    color: #333;
}

.post-content p {
    margin-bottom: 10px;
}

.post-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-secondary {
    background: white;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #f472b6;
    color: #f472b6;
}

.btn-primary {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.4);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-actions {
        flex-direction: column;
        align-items: center;
    }
}