.fixed-header {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #272727;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    z-index: 999;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
    transform: translateY(-100%);
}

.fixed-header.visible {
    transform: translateY(100px);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-area a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-area img {
    width: 40px;
    height: auto;
    margin-right: 15px;
}

.logo-area .logo-text {
    display: flex;
    flex-direction: column;
}

.logo-area h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #B19777;
    margin: 0;
    line-height: 1;
}

.logo-area p {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #777777;
    margin: 5px 0 0 0;
}

.fixed-nav {margin-right: 200px;}

.fixed-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fixed-nav li a {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 28px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fixed-nav li a:hover,
.fixed-nav li a.active {
    color: #B19777;
}

/* 푸터 스타일 */
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 푸터 연락처 정보 섹션 */
.footer-contact {
    box-sizing: border-box;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact .container {
    width: 1140px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-item h6 {
    font-family: 'Didact Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #B19777;
    margin-bottom: 5px;
}

.footer-link, .footer-text {
    font-family: 'Didact Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #999999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #B19777;
}

/* 푸터 저작권 섹션 */
.footer-copyright {
    box-sizing: border-box;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center; /* 추가: 텍스트 중앙 정렬 */
}


.footer-copyright .container {
    width: 1140px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: center; /* 변경: space-between에서 center로 */
    align-items: center;
}


.copyright-info p {
    font-family: 'Didact Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #999999;
    margin: 0;
}

/* 소셜 미디어 아이콘 */
.footer-social {
    display: flex;
    gap: 7px;
    justify-content: center; /* 추가: 내부 요소도 중앙 정렬 */
    margin: 0 auto; /* 추가: 좌우 마진 자동으로 설정하여 중앙에 배치 */
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #373737;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #FFFFFF;
    border-color: #555555;
}

.social-icon i {
    font-size: 12px;
}

/* 이용 약관 링크 */
.footer-terms {
    display: flex;
    align-items: center;
}

.terms-link {
    font-family: 'Didact Gothic', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #999999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #B19777;
}

/* 초기 헤더 (스크롤 전) */
.initial-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    z-index: 100;
    transition: all 0.5s ease;
    background-color: transparent;
}

.initial-header .logo-area {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.initial-header .logo-area a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.initial-header .logo-area img {
    width: 50px;
    height: auto;
    margin-right: 15px;
}

.initial-header .logo-area .logo-text {
    display: flex;
    flex-direction: column;
}

.initial-header .logo-area h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #B19777;
    margin: 0;
    line-height: 1;
}

.initial-header .logo-area p {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #777777;
    margin: 5px 0 0 0;
}

.initial-header .header-nav {
    margin-right: 30px;
}

.initial-header .header-nav ul {
    display: flex;
    gap: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 200px;
    margin-top: 50px;
}

.initial-header .header-nav li a {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

/* 밑줄 효과 제거 */

.initial-header .header-nav li a:hover,
.initial-header .header-nav li a.active {
    color: #B19777;
}

.footer-container-centered {
    justify-content: center;
}


/* 기존 CSS 코드는 유지하고 반응형을 위한 추가 코드 */

/* 햄버거 메뉴 버튼 스타일 - 기본적으로는 숨김 처리 */
.hamburger-menu {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 40px;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

/* 모바일 메뉴가 열렸을 때 X 모양으로 변경 */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 6px);
}

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

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

/* 모바일 버전 미디어 쿼리 - 태블릿 (768px) */
@media screen and (max-width: 768px) {
    /* 햄버거 메뉴 표시 */
    .hamburger-menu {
        display: block;
    }
    
    /* 초기 헤더와 고정 헤더 공통 스타일 */
    .initial-header, .fixed-header {
        padding: 0 20px;
        height: 80px;
    }
    
    /* 초기 헤더 - 모바일 스타일 */
    .initial-header .header-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 250px;
        height: 100vh;
        background-color: #272727;
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 99;
    }
    
    .initial-header .header-nav.active {
        right: 0;
    }
    
    .initial-header .header-nav ul {
        flex-direction: column;
        gap: 20px;
        margin-right: 0;
        margin-top: 30px;
        align-items: center;
    }
    
    /* 고정 헤더 - 모바일 스타일 */
    .fixed-header .fixed-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 250px;
        height: 100vh;
        background-color: #272727;
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 99;
        margin-right: 0;
    }
    
    .fixed-header .fixed-nav.active {
        right: 0;
    }
    
    .fixed-header .fixed-nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    /* 푸터 - 태블릿 스타일 */
    .footer-contact .container {
        padding: 0 20px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .contact-item {
        align-items: center;
    }
}

/* 모바일 버전 미디어 쿼리 - 모바일 (480px) */
@media screen and (max-width: 480px) {
    /* 헤더 로고 영역 조정 */
    .initial-header .logo-area, .fixed-header .logo-area {
        margin-left: 0;
    }
    
    .initial-header .logo-area img, .fixed-header .logo-area img {
        width: 35px;
    }
    
    /* 헤더 컨테이너 여백 축소 */
    .initial-header, .fixed-header {
        padding: 0 15px;
        height: 70px;
    }
    
    /* 햄버거 메뉴 위치 조정 */
    .hamburger-menu {
        right: 15px;
        top: 30px;
    }
    
    /* 푸터 여백 축소 */
    .footer-contact {
        padding: 40px 0;
    }
    
    .footer-copyright {
        padding: 20px 0;
    }
    
    /* 소셜 미디어 아이콘 크기 축소 */
    .social-icon {
        width: 35px;
        height: 35px;
    }
}

/* 모바일 버전 미디어 쿼리 - 작은 모바일 (320px) */
@media screen and (max-width: 320px) {
    /* 헤더 로고 영역 더 축소 */
    .initial-header .logo-area img, .fixed-header .logo-area img {
        width: 30px;
        margin-right: 10px;
    }
    
    /* 헤더 높이 더 축소 */
    .initial-header, .fixed-header {
        height: 60px;
    }
    
    /* 햄버거 메뉴 위치 추가 조정 */
    .hamburger-menu {
        top: 25px;
    }
    
    /* 메뉴 패널 너비 축소 */
    .initial-header .header-nav, .fixed-header .fixed-nav {
        width: 200px;
        right: -220px;
    }
    
    /* 소셜 미디어 아이콘 추가 축소 */
    .social-icon {
        width: 30px;
        height: 30px;
    }
}