/* 초기화 및 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 고정 전화 버튼 */
.fixed-phone-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    transition: all 0.3s ease;
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 헤더 */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #FFA500;
    font-size: 28px;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.social-link:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.2);
}

/* 상단 소셜 아이콘 이미지 스타일 */
.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* 하단 연락처 아이콘 이미지 스타일 */
.contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
}



/* 소셜 미디어 아이콘 개별 스타일 (배경색) */
.social-link[title*="카카오"] {
    background: rgba(255, 235, 59, 0.2);
}

.social-link[title*="네이버"] {
    background: rgba(3, 199, 90, 0.2);
}

.social-link[title*="인스타"] {
    background: rgba(225, 48, 108, 0.2);
}

.social-link[title*="카카오"]:hover {
    background: rgba(255, 235, 59, 0.4);
}

.social-link[title*="네이버"]:hover {
    background: rgba(3, 199, 90, 0.4);
}

.social-link[title*="인스타"]:hover {
    background: rgba(225, 48, 108, 0.4);
}

/* 메인 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .brand {
    color: #FFF;
    display: inline-block;
    margin-top: 15px;
    font-size: 1.2em;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-cta {
    display: inline-block;
    background: white;
    color: #FFA500;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 섹션 공통 스타일 */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

/* 비포 & 애프터 섹션 */
.before-after {
    padding: 80px 0;
    background: white;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

/* 슬라이더 컨테이너 */
.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px; /* 좌우 화살표 공간 확보 */
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
}

.slide {
    flex: 0 0 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
    cursor: pointer; /* 클릭 가능 표시 */
}

.slide img.loaded {
    opacity: 1;
}

.slide img:hover {
    transform: scale(1.05);
}

/* 슬라이더 내비게이션 - 이미지 영역 밖으로 이동 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    left: 0;
}

.slider-btn {
    background: rgba(255, 165, 0, 0.9);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.slider-btn:hover {
    background: rgba(255, 140, 0, 0.95);
    transform: scale(1.1);
}

.prev-btn {
    left: -60px;
}

.next-btn {
    right: -60px;
}

/* 슬라이더 인디케이터 */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #FFA500;
    transform: scale(1.2);
}

.indicator:hover {
    background: #FF8C00;
    transform: scale(1.1);
}

/* 모바일에서 인디케이터 간격 조정 */
@media (max-width: 768px) {
    .slider-indicators {
        gap: 8px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* 이미지 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

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

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #FFA500;
}

#modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .slider-container {
        padding: 0 60px;
    }
    
    .slide {
        flex: 0 0 100%;
    }
    
    .slide img {
        height: 200px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prev-btn {
        left: -50px;
    }
    
    .next-btn {
        right: -50px;
    }
    
    .modal-close {
        top: -35px;
        font-size: 30px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .slide {
        flex: 0 0 50%;
    }
}

/* 아주 작은 화면 */
@media (max-width: 480px) {
    .slider-container {
        padding: 0 50px;
    }
    
    .prev-btn {
        left: -40px;
    }
    
    .next-btn {
        right: -40px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* 왜 디자인결인가 섹션 */
.why-section {
    padding: 80px 0;
    background: white;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 48px;
    color: #FFA500;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

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

/* 전화번호 연결 배너 */
.phone-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, #FF8C00, #FFA500);
    color: white;
    text-align: center;
}

.phone-banner-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.phone-banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.phone-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #FFA500;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.phone-banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.hand-icon {
    font-size: 28px;
    animation: wave 1s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-20deg); }
}

/* 전국 방문 가능 안내 */
.coverage {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.coverage-content {
    max-width: 600px;
    margin: 0 auto;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.map-image {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

.coverage h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.coverage p {
    font-size: 16px;
    color: #666;
}

/* 고객 후기 섹션 */
.reviews {
    padding: 80px 0;
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
}

.reviewer-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.reviewer-info span {
    font-size: 14px;
    color: #666;
}

.review-text {
    color: #555;
    line-height: 1.6;
}

/* FAQ 섹션 */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

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

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

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    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: 24px;
    color: #FFA500;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* 푸터 */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: #FFA500;
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-section h4 {
    color: #FFA500;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.contact-link:hover {
    color: #FFA500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .before-after-grid {
        grid-template-columns: 1fr;
    }
    
    .before-after-images {
        flex-direction: column;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .phone-banner-content h2 {
        font-size: 24px;
    }
    
    .phone-banner-btn {
        font-size: 20px;
        padding: 15px 30px;
    }
    
    .fixed-phone-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        top: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-links {
        align-items: center;
    }
    
    /* 모바일에서 아이콘 크기 조정 */
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
    
    .contact-icon {
        width: 18px;
        height: 18px;
    }
    
    /* 모바일에서 지도 이미지 크기 조정 */
    .map-image {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .before-after,
    .why-section,
    .coverage,
    .reviews,
    .faq {
        padding: 60px 0;
    }
    
    .phone-banner {
        padding: 40px 0;
    }
    
    .feature {
        padding: 20px;
    }
    
    .review-item {
        padding: 20px;
    }
}

/* 성능 최적화 */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* 접근성 개선 */
.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;
}

/* 인쇄 스타일 */
@media print {
    .fixed-phone-button,
    .phone-banner {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
    }
} 