@font-face
{
    font-family: 'Shilla Font';
    src: url('font/Shilla_Culture_M.woff2') format('woff2'),
         url('font/Shilla_Culture_M.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face
{
    font-family: 'Nanum Myeongjo';
    src: url('font/NanumMyeongjo.woff2') format('woff2'),
         url('font/NanumMyeongjo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1, h2
{
    font-family: 'Shilla Font';
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Nanum Myeongjo', 'Noto Sans KR', sans-serif;
    color: #333;
    background-image: url('photos/soupbackground.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-size: 18px; /* 기본 폰트 크기 증가 (기본값은 보통 16px) */
}

/* 가격표 테이블 스타일 */
.price-table
{
    width:100%;
    overflow-x:auto;
    text-align: center;
}

.price-table table
{
    width: 100%;
    border: 2px solid #000;
    border-collapse: collapse;
    min-width: 300px;
}

.price-table th, .price-table td
{
    background-color: #f8f8f8;
    padding: 10px;
    border: 2px solid #000;
    text-align: center;;
}

.price-table th
{
    
    color: #333;
    font-weight: bold;
    
}

.price-table td
{
    color: #000;
    font-size: 1.3rem;
}

.price-bottom
{
    border-bottom: 2px solid #333;
}


/* 전체 페이지 페이드인 효과 */
.page-container {
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.page-container.loaded {
    opacity: 1;
}

/* 배경 이미지 오버레이 - 어둡게 만들기 */
.background-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    min-height: 100vh;
    width: 100%;
    color: white;
}

/* 메인 컨텐츠 영역 - 고정 헤더 공간 확보 */
.main-content {
    padding-top: 155px; /* 헤더 높이에 맞게 조정 */
}

/* 고정 헤더 스타일 - 세로 배치로 변경 */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background-color: #FFDE50f0;
    color: #333;
}

.header-container {
    display: flex;
    flex-direction: column; /* 세로로 배치 변경 */
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
}

.logo-container {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    display: flex;
    justify-content: center; /* 가운데 정렬 */
    align-items: center;
}

.nav-container {
    width: 100%;
    position: relative;
}

.nav-wrapper {
    position: relative;
    width: 100%;
}

/* 햄버거 메뉴 스타일 */
.hamburger-menu {
    display: none; /* 기본적으로 숨김 */
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: -50px; /* 로고 쪽으로 더 위로 올림 */
    z-index: 1001;
    width: 40px;
    height: 40px;
    background-color: #FFDE50;
    border-radius: 5px;
    padding: 8px;
    box-sizing: border-box;
}

/* 햄버거 아이콘 스타일 */
.hamburger-icon {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 햄버거 메뉴 활성화 시 애니메이션 */
.hamburger-menu.active .hamburger-icon span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

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

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.nav-menu {
    display: flex;
    justify-content: space-around; /* 균등하게 분배 */
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-menu li {
    margin: 0;
    padding: 0;
    flex: 1; /* 균등하게 공간 분배 */
    text-align: center;
}

.nav-menu a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 18px; /* 16px에서 18px로 증가 */
    font-weight: bold;
    padding: 14px 0; /* 12px에서 14px로 증가 */
    position: relative;
    transition: color 0.3s, background-color 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.1); /* 경계선 추가 */
    border-radius: 5px;
    margin: 0 5px;
}

.nav-menu a:hover {
    color: #000;
    background-color: rgba(0, 0, 0, 0.05); /* 호버 시 배경색 변경 */
}

/* .nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FFDE50;
} */

/* 섹션 공통 스타일 */
.section {
    padding: 60px 20px; /* PC 환경에서 섹션 간격 축소 (80px에서 60px로 변경) */
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-container {
    max-width: 1000px; /* 900px에서 1000px로 증가 */
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    padding: 40px; /* 30px에서 40px로 패딩 증가 */
    margin: 0 auto;
    border-radius: 10px;
    box-sizing: border-box;
}

/* 본문 텍스트 줄 간격 증가 */
.section-container p {
    line-height: 1.8; /* 기존 1.6에서 증가 */
    margin-bottom: 20px; /* 15px에서 20px로 증가 */
    font-size: 1.1rem; /* 폰트 크기 증가 */
}

/* 스크롤 다운할 때 애니메이션 */
.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 스크롤 업할 때 애니메이션 */
.fade-in-element.reverse {
    opacity: 1;
    transform: translateY(-20px);
}

/* 왼쪽 정렬 섹션 */
.left-align {
    margin-right: auto;
    margin-left: 7%;
    text-align: left;
}

/* 오른쪽 정렬 섹션 */
.right-align {
    margin-left: auto;
    margin-right: 10%;
    text-align: right;
}

/* 왼쪽 정렬 제목 */
.left-align-title {
    text-align: left;
}

/* 오른쪽 정렬 제목 */
.right-align-title {
    text-align: right;
}

/* 콘텐츠 섹션 - 효능, 위치 섹션 */
.content-section {
    background-color: rgba(255, 255, 255, 0);
}

.content-section .section-container {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 900px; /* 검정 섹션과 동일한 크기 */
    width: 100%;
}

/* 기본 섹션 배경 */
.section:not(.content-section):not(.contact-section) .section-container {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 연락처 섹션 스타일 */
.contact-section {
    padding: 50px 20px; /* 간격 축소 (60px에서 50px로) */
    text-align: center;
}

.contact-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.contact-info {
    margin-top: 30px;
}

.contact-text {
    font-size: 1.7rem; /* 1.5rem에서 1.7rem으로 증가 */
    margin: 20px 0; /* 15px에서 20px로 증가 */
    line-height: 1.8; /* 줄 간격 유지 */
}

.phone-link {
    color: #FFDE50;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
}

.phone-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* 홈 섹션 스타일 */
#home {
    text-align: center;
    min-height: 80vh;
}

.home-content {
    padding: 30px;
}

.home-content p {
    line-height: 2; /* 홈 섹션 본문 줄 간격 더 넓게 */
}

.large-text {
    font-size: 3.5rem; /* 3rem에서 3.5rem으로 증가 */
}

/* 효능 섹션 스타일 */
#effect {
    padding: 20px; 
}

#effect p {
    line-height: 2; /* 효능 섹션 본문 줄 간격 더 넓게 */
}

/* 영업시간 섹션 스타일 */
#time {
    text-align: center;
}

.time-info {
    margin-top: 30px;
    line-height: 2; /* 줄 간격 증가 */
}

.time-text {
    font-size: 1.7rem; /* 1.5rem에서 1.7rem으로 증가 */
    margin: 15px 0; /* 10px에서 15px로 증가 */
}

.time-note {
    font-size: 1rem;
    font-style: italic;
    margin-top: 20px;
    line-height: 1.8; /* 줄 간격 증가 */
}

/* 위치 섹션 스타일 */
#location {
    padding: 20px; /* 간격 축소 (60px에서 50px로) */
}

.location-info {
    margin-top: 30px;
    line-height: 2; /* 줄 간격 증가 */
}

.map-container {
    width: 100%;
    height: 500px; /* 450px에서 500px로 증가 */
    margin: 25px 0; /* 20px에서 25px로 증가 */
    border-radius: 10px; /* 8px에서 10px로 증가 */
    overflow: hidden;
}

/* 푸터 스타일 */
.footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 25px; /* 20px에서 25px로 증가 */
    text-align: center;
    font-size: 0.9rem; /* 0.8rem에서 0.9rem으로 증가 */
    color: rgba(255, 255, 255,.7);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer p {
    margin: 5px 0;
    line-height: 1.6; /* 푸터 줄 간격 */
}

h2 {
    color: inherit;
    border-bottom: 2px solid #FFDE50;
    padding-bottom: 12px; /* 10px에서 12px로 증가 */
    margin-bottom: 35px; /* 30px에서 35px로 증가 */
    font-size: 2.2rem; /* 제목 크기 증가 */
}

.highlight-text {
    font-size: 1.4rem; /* 크기 직접 지정하여 증가 */
    font-weight: bold;
}

.highlight-text-red {
    color: #ff5252;
    font-weight: bold;
}

/* 반응형 스타일 */
@media screen and (max-width: 768px) {
    /* 햄버거 메뉴 표시 */
    .hamburger-menu {
        display: block;
    }
    
    /* 네비게이션 메뉴 기본적으로 숨김 */
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #FFDE50;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }
    
    /* 활성화된 메뉴 표시 */
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    
    .nav-menu a {
        border-radius: 0;
        margin: 0;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 15px 0;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
        border-radius: 0 0 10px 10px;
    }
    
    /* 로고 크기 줄이기 */
    .logo img {
        width: 200px; /* 로고 너비 줄임 */
        height: auto; /* 비율 유지 */
    }
    
    /* 메인 컨텐츠 영역 패딩 조정 */
    .main-content {
        padding-top: 110px; /* 줄어든 헤더 크기에 맞게 조정 */
    }
    
    .section {
        padding: 50px 15px; /* 모바일에서는 패딩 더 줄임 (60px에서 50px로) */
    }
    
    .section-container {
        padding: 25px; /* 모바일에서는 패딩 약간 줄임 */
    }
    
    /* 모바일에서 텍스트 가독성 향상 */
    .section-container p {
        font-size: 17px; /* 16px에서 17px로 증가 */
        line-height: 1.8;
        letter-spacing: 0.3px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .left-align, .right-align {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .left-align-title, .right-align-title {
        text-align: center;
    }
    
    .large-text {
        font-size: 2.2rem;
    }
    
    .map-container {
        height: 350px;
    }
    
    .contact-text {
        font-size: 1.3rem;
    }
    
    /* 밝은 배경에서 글자 더 어둡게 */
    .content-section .section-container {
        color: #000;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .section-container {
        max-width: 800px;
        padding: 30px;
    }
    
    .left-align {
        margin-left: 5%;
    }
    
    .right-align {
        margin-right: 5%;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    /* 메인 컨텐츠 영역 패딩 조정 */
    .main-content {
        padding-top: 155px;
    }
}

@media screen and (min-width: 1025px) {
    .nav-menu {
        width: 100%;
    }
    
    .hamburger-menu {
        display: none; /* PC에서는 항상 숨김 */
    }
}