/* 전체 기본 스타일 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #000; /* 검정 배경 */
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
}

/* 헤더 스타일 */
#main-header {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #444;
    position: relative;
    z-index: 1000;
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#main-header .logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#main-header .nav-menu {
    display: flex;
    align-items: center;
}

#main-header .nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

#main-header .nav-menu ul li {
    display: inline-block;
}

#main-header .nav-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

#main-header .nav-menu ul li a:hover {
    color: #ccc;
}

/* 모바일 햄버거 메뉴 */
#main-header .hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: #fff;
}

/* 반응형 헤더 조정 */
@media (max-width: 768px) {
    #main-header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    #main-header .logo a {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
    }

    #main-header .hamburger-menu {
        display: block;
    }

    #main-header .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #000;
        padding: 20px;
        border: 1px solid #444;
    }

    #main-header .nav-menu.open {
        display: flex;
    }

    #main-header .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }

    #main-header .nav-menu ul li {
        text-align: right;
    }

    #main-header .nav-menu ul li a {
        font-size: 1.2rem;
    }
}

/* 메인 콘텐츠 */
.main-wrap {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.contact-section {
    width: 100%;
    max-width: 800px;
    padding: 40px 20px;
    text-align: center;
}

.contact-section h1 {
    font-size: 3rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 30px;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #444;
    background-color: #fff;
    color: #000;
    font-size: 1rem;
}

textarea {
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #888; /* 기본 회색 */
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: not-allowed; /* 비활성화 시 커서 변경 */
    /* border-radius: 5px; */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.submit-btn.active {
    background-color: #fff; /* 모든 입력이 유효하면 하얀색으로 변경 */
    color: #000; /* 글씨는 검정색으로 변경 */
    cursor: pointer; /* 활성화 시 커서 변경 */
}


.submit-btn:hover {
    background-color: #444;
    color: #fff;
}

/* 푸터 스타일 */
.site-footer {
    border-top: 1px solid #444;
    background-color: #000;
    padding: 40px 0;
    text-align: center;
}

.footer-bottom p {
    color: #f5f5f5;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    margin: 0;
}

.footer-bottom p::before {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: #d4af37;
    margin: 0 auto 15px auto;
}

.footer-bottom p::after {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .contact-section h1 {
        font-size: 2.5rem;
    }

    .submit-btn {
        font-size: 1rem;
    }

    .footer-bottom p {
        font-size: 0.9rem;
    }

    /* 모바일에서 contact-section의 좌우 패딩 줄이기 */
    .contact-section {
        padding: 40px 10px; /* 좌우 패딩을 20px에서 10px로 줄임 */
    }
}
