/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange-primary: #FF8C42;
    --orange-dark: #E67E22;
    --orange-light: #FFA366;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* 헤더 */
.header {
    background: transparent;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.8;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* 섹션 */
.section {
    width: 100%;
    margin-top: 0;
    position: relative;
}

.section:first-child {
    margin-top: 0;
    z-index: 1;
}

.section-image {
    width: 100%;
    position: relative;
}

.section-image img {
    width: 100%;
    height: auto;
}

/* 이미지 표시 - 데스크탑 기본: 데스크탑 이미지만 표시, 모바일 이미지는 완전히 숨김 */
.section-image .desktop-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

.section-image .mobile-img {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 문의하기 섹션 */
.contact-section {
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange-primary) 100%);
    padding: 4rem 0;
    margin-top: 0;
}

.section-title {
    color: var(--white);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 900;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-primary);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* 푸터 */
.footer {
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange-primary) 100%);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 0;
}

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

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
}

/* 고정 아이콘 버튼 */
.fixed-icons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.top-btn {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
}

.phone-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.kakao-btn {
    background: linear-gradient(135deg, #FEE500 0%, #FDD835 100%);
    color: #3C1E1E;
}

.insta-btn {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 100%);
}

.youtube-btn {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--orange-dark);
        padding: 1rem;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    /* 모바일 메뉴 배경도 스크롤 시 감귤색상 적용 */
    .header.scrolled .nav {
        background: var(--orange-dark);
    }

    .mobile-menu-btn {
        display: block;
    }

    /* 모바일에서만 모바일 이미지 표시, 데스크탑 이미지는 완전히 숨김 */
    .section-image .desktop-img {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .section-image .mobile-img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .fixed-icons {
        bottom: 20px;
        right: 20px;
    }

    .icon-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .footer-info h3 {
        font-size: 1.2rem;
    }

    .footer-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .fixed-icons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

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

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.modal-icon.success {
    color: var(--orange-primary);
}

.modal-icon.error {
    color: var(--danger);
}

.modal-content h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

