/* ==============================================
   style.css - PC 및 공통 기본 스타일
   ============================================== */

/* 1. 기본 설정 */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #fff;
}

/* [PC] 헤더 높이(80px)만큼 본문 내리기 */
@media (min-width: 769px) {
    body {
        padding-top: 80px;
    }
}

/* 모바일 전용 요소는 PC에서 숨김 */
.mobile-only { display: none !important; }
.mobile-sidebar { display: none !important; }


/* 2. 상단 스와이퍼 (슬라이드) */
.main-swiper {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}
.main-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}
.main-swiper .swiper-slide img,
.main-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: auto;
}
:root { --swiper-theme-color: #009933; }


/* =================================
   [NEW] 베스트 메뉴 그리드 (PC)
   ================================= */
.best-menu-section {
    padding: 80px 0;
    background-color: #fff; /* 깨끗한 흰색 배경 */
}

.inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 섹션 제목 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header .sub-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #E3001B; /* 브랜드 레드 */
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.section-header .main-title {
    font-size: 32px;
    font-weight: 800;
    color: #222;
    margin: 0;
}

/* 그리드 레이아웃 (PC: 4개 나란히) */
.best-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* 카드 디자인 */
.menu-card {
    background: #fff;
    position: relative;
    border-radius: 15px;
    transition: transform 0.3s ease;
}
.menu-card:hover {
    transform: translateY(-5px); /* 살짝 떠오르는 효과 */
}

/* 뱃지 */
.menu-card .badge {
    position: absolute;
    top: 10px; left: 10px;
    padding: 5px 12px;
    background: #333;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 2;
}
.menu-card .badge.best { background: #E3001B; }
.menu-card .badge.hot { background: #FB8500; }

/* 이미지 박스 (연회색 배경으로 깔끔하게) */
.menu-card .img-box {
    height: 240px;
    background-color: #f9f9f9;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    overflow: hidden;
}
.menu-card .img-box img {
    width: 80%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}
.menu-card:hover .img-box img {
    transform: scale(1.08); /* 이미지 확대 */
}

/* 정보 영역 */
.menu-card .info-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #222;
}
.menu-card .info-box .desc-text {
    font-size: 13px;
    color: #888;
    margin: 0 0 15px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 말줄임표 처리 */
}

/* [수정] 가격표 삭제 후 디자인 (버튼 강조형) */
.action-row {
    display: flex;
    justify-content: space-between; /* 양끝 정렬 */
    align-items: center;
    border-top: 1px solid #f0f0f0; /* 아주 연한 구분선 */
    padding-top: 15px;
    margin-top: auto; /* 박스 하단에 고정 */
}

/* 왼쪽 빈자리를 채워주는 장식용 텍스트 */
.category-tag {
    font-size: 12px;
    color: #bbb; /* 연한 회색으로 힘 빼기 */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 오른쪽 '주문하기' 텍스트 버튼 */
.order-link {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px; /* 글자와 화살표 사이 간격 */
    transition: color 0.3s;
}

/* 마우스 올리면 주황색으로 변신 */
.menu-card:hover .order-link {
    color: #FB8500; /* 브랜드 컬러 */
}



/* ==============================================
   4. [수정] 이야기 섹션 (Special Taste) - 겹침 해결
   ============================================== */
.story-section {
    display: flex;
    width: 100%;
    height: 500px; /* 섹션 높이 고정 */
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

/* 왼쪽 텍스트 박스 */
.text-box {
    width: 50%; /* 정확히 왼쪽 절반 차지 */
    height: 100%; /* 높이 꽉 채움 */
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 수직 중앙 정렬 */
    align-items: center;     /* 수평 중앙 정렬 */
    text-align: center;
    z-index: 2;
    box-sizing: border-box; /* 패딩이 너비에 영향 안 주게 */
    padding-bottom: 80px;   /* 버튼 들어갈 공간 확보 */
}

.text-box h2 {
    font-size: 48px;
    font-weight: 900;
    color: #222;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-box p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* 오른쪽 이미지 박스 (핵심 수정: absolute 제거!) */
.image-box {
    width: 50%; /* 정확히 오른쪽 절반 차지 */
    height: 100%; /* 높이 꽉 채움 */
    background-color: #E3001B;
    display: flex;
    justify-content: center;
    align-items: center;
    /* position: absolute;  <-- 이거 삭제함 (범인) */
    /* right: 0; top: 0;    <-- 이것도 삭제 */
}

.image-box img {
    width: 70%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(10px 20px 30px rgba(0,0,0,0.3));
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.image-box img:hover {
    transform: rotate(0deg) scale(1.05);
}

/* 버튼 박스 (왼쪽 영역 위에 띄움) */
.btn-box {
    position: absolute; /* 버튼만 띄움 */
    bottom: 60px;
    left: 0;
    width: 50%; /* 왼쪽 영역 너비만큼만 차지 */
    display: flex;
    justify-content: center;
    z-index: 3;
}

.btn-solid {
    display: inline-block;
    background-color: #E3001B;
    color: #fff;
    padding: 15px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(227, 0, 27, 0.2);
    transition: all 0.3s;
    border: 2px solid #E3001B;
}

.btn-solid:hover {
    background-color: #fff;
    color: #E3001B;
}


/* 5. 영상 섹션 & 중간 프로모션 */
.video-showcase {
    padding: 60px 20px;
    text-align: center;
    background-image: url('/images/video/registan22.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #fff;
    margin-bottom: 0 !important;
}
.video-showcase .video-container {
    width: 60%;
    margin: 0 auto 50px auto;
    position: relative;
    height: 0;
    padding-bottom: 33.75%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.video-showcase .video-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    cursor: pointer;
}
.video-showcase .video-container iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.promo-swiper {
    flex: 1; max-width: 300px; height: 320px;
    border-radius: 12px; overflow: hidden; position: relative; background-color: #f9f9f9;
}


/* 6. 하단 탭 바 (기본 스타일) */
.bottom-nav {
    position: fixed; bottom: 0; left: 0;
    width: 100%; height: 60px;
    display: flex; justify-content: space-around; align-items: center;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
    z-index: 1000;
}
.bottom-nav .nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-decoration: none; color: #555; font-size: 11px;
    flex: 1; height: 100%;
}
.bottom-nav .nav-item .icon { font-size: 20px; margin-bottom: 3px; }
.bottom-nav .nav-item-hamburger {
    background: transparent; border: none; padding: 0; margin: 0; cursor: pointer;
}
.bottom-nav .nav-item-center {
    position: relative;
    bottom: 25px;
    width: 65px; height: 65px;
    border-radius: 50%;
    background-color: #e63946;
    color: #ffffff !important;
    border: 4px solid #ffffff;
    box-shadow: 0 -5px 10px rgba(230, 57, 70, 0.3);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    flex: 0 0 65px; margin: 0 10px;
    z-index: 1002;
}
.bottom-nav .nav-item-center .label { font-size: 10px; margin-top: 2px; font-weight: bold; }
.bottom-nav .nav-item-center .icon { margin-bottom: 0; line-height: 1; }


/* 7. 데스크탑용 퀵메뉴 (PC 사이드바) */
.quick-menu {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    width: 75px;
    padding: 30px 0;
    border-radius: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.quick-menu .quick-menu-close { display: none; }
.quick-menu a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}
.quick-menu a img {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.quick-menu a:hover {
    transform: scale(1.15);
    color: #FFD700;
}
.quick-menu a:hover img {
    filter: brightness(1.2);
}



/* =========================================================
   [PC 화면 정리] 모바일 전용 요소 원천 봉쇄
   (PC 화면에서는 모바일 사이드바와 탭바를 아예 안 보이게 숨김)
   ========================================================= */
@media (min-width: 769px) {

    /* 모바일 사이드바 숨김 */
    .mobile-sidebar,
    #mobileSidebar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* 모바일 하단 탭바 숨김 */
    .bottom-nav {
        display: none !important;
    }

    /* 모바일 전용 클래스 숨김 */
    .mobile-only {
        display: none !important;
    }


    /* =========================================================
       [긴급 수정] 모바일 하단 바 숨기기 (PC 화면)
       ========================================================= */
    /* 기본적으로 하단 바는 숨김 처리 (PC에서 안 보이게) */
    .bottom-nav {
        display: none !important;
    }

    /* 혹시 모를 잔여 요소 숨김 */
    .bottom-nav *,
    .nav-item,
    .nav-item-center {
        display: none !important;
    }
}