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

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

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 접근성 - 스킵 링크 */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #e74c3c;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* 스크린 리더 전용 텍스트 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 컨테이너 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 스타일 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h1 {
    margin: 0;
}

.nav-logo a {
    color: #e74c3c;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover,
.nav-logo a:focus {
    color: #c0392b;
    outline: none;
}

.nav-subtitle {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.2rem;
    font-weight: 400;
}

/* 모바일 네비게이션 토글 */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 네비게이션 메뉴 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: #e74c3c;
    outline: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s ease;
}

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

/* 히어로 섹션 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #03c75a 0%, #00a651 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 200px 20px 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #03c75a 0%, #00a651 100%);
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.hero h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
    word-break: keep-all;
}

.hero h3 {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 400;
    margin-bottom: 1.8rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    word-break: keep-all;
}

.hero p {
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.7;
    word-break: keep-all;
}

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

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.feature-item i {
    font-size: 1.2rem;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-width: 140px;
    touch-action: manipulation;
}

.btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

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

.btn-secondary:hover,
.btn-secondary:focus {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

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

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

/* 소개 섹션 */
.about {
    background: #f8f9fa;
}

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

.about-text h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    color: #e74c3c;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #666;
}

.features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.features li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.features i {
    color: #e74c3c;
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-image {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #03c75a 0%, #00a651 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 서비스 섹션 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card.featured {
    border: 2px solid #e74c3c;
    transform: scale(1.05);
}

.service-card.featured::before {
    content: '인기';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #e74c3c;
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

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

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
}

.duration {
    font-weight: 600;
    color: #666;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
}

/* 지역별 서비스 섹션 */
.regions {
    background: #f8f9fa;
}

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

.region-card {
    background: white;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.region-card.featured {
    border: 2px solid #e74c3c;
    transform: scale(1.02);
}

.region-card.featured::before {
    content: '인기';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #e74c3c;
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

.region-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

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

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

.region-content {
    padding: 2rem;
}

.region-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.region-icon i {
    font-size: 1.5rem;
    color: white;
}

.region-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.region-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.region-features {
    list-style: none;
    padding: 0;
}

.region-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.region-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
    font-size: 1rem;
}

/* 후기 섹션 */
.reviews {
    background: white;
}

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

.review-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card blockquote {
    margin: 0 0 1rem 0;
    font-style: italic;
    line-height: 1.6;
    color: #333;
}

.review-card cite {
    color: #e74c3c;
    font-weight: 600;
    font-style: normal;
}

/* 문의 섹션 */
.contact {
    background: #f8f9fa;
}

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

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #e74c3c;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover,
.contact-item a:focus {
    color: #e74c3c;
    text-decoration: underline;
    outline: none;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #e74c3c;
}

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

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

/* 푸터 */
.footer {
    background: #2c3e50;
    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-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #e74c3c;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus {
    color: #e74c3c;
    outline: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 모바일 최적화 - 768px 이하 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 100vh;
        padding: 150px 20px 80px;
    }
    
    .hero h2 {
        font-size: 1.7rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
        word-break: keep-all;
    }
    
    .hero h3 {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1.2rem;
        word-break: keep-all;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.8rem;
        word-break: keep-all;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-card.featured::before {
        top: 10px;
        right: -25px;
        padding: 3px 30px;
        font-size: 0.7rem;
    }
}

/* 데스크톱 스타일 - 1024px 이상 */
@media (min-width: 1024px) {
    .hero {
        min-height: 100vh;
        padding: 180px 20px 100px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        word-break: keep-all;
    }
    
    .hero h3 {
        font-size: 1.3rem;
        line-height: 1.5;
        margin-bottom: 1.8rem;
        word-break: keep-all;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 3rem;
        word-break: keep-all;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-features {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
    
    .nav-menu {
        display: flex;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
        transform: none;
        opacity: 1;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .regions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 대형 데스크톱 스타일 - 1440px 이상 */
@media (min-width: 1440px) {
    .hero {
        min-height: 100vh;
        padding: 200px 20px 120px;
    }
    
    .hero h2 {
        font-size: 2.8rem;
        line-height: 1.3;
        margin-bottom: 1.8rem;
        word-break: keep-all;
    }
    
    .hero h3 {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 2rem;
        word-break: keep-all;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 3.5rem;
        word-break: keep-all;
    }
    
    .hero-buttons {
        gap: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .hero-features {
        gap: 2.5rem;
    }
}

/* 모바일 최적화 - 480px 이하 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 100vh;
        padding: 120px 15px 70px;
    }
    
    .hero h2 {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 1.2rem;
        word-break: keep-all;
    }
    
    .hero h3 {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
        word-break: keep-all;
    }
    
    .hero p {
        font-size: 0.85rem;
        margin-bottom: 1.8rem;
        word-break: keep-all;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .service-card,
    .manager-card,
    .review-card {
        margin: 0 5px;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .manager-info {
        padding: 1rem;
    }
    
    .contact-item {
        font-size: 1rem;
    }
    
    .contact-item i {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 12px 24px;
    }
    
    .nav-menu a {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .service-card:hover,
    .manager-card:hover,
    .review-card:hover {
        transform: none;
    }
}

/* 고해상도 디스플레이 최적화 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero::before {
        background-size: 200% 200%;
    }
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    .header {
        background: rgba(30, 30, 30, 0.95);
    }
    
    .nav-logo a,
    .nav-menu a {
        color: #fff;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        color: #e74c3c;
    }
}

/* 애니메이션 최적화 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* 인쇄 스타일 */
@media print {
    .header,
    .nav-toggle,
    .hero-buttons,
    .contact-form {
        display: none;
    }
    
    .hero {
        background: none;
        color: #000;
    }
    
    section {
        page-break-inside: avoid;
    }
}
