/* 기본 리셋 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans KR", sans-serif;
}

/* 메뉴바 */
nav {
  background-color: #ddd;
  backdrop-filter: blur(50px);
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* 스크롤 시 적용될 클래스 */
nav.scrolled {
  background-color: #ddd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: auto;
  min-height: 60px;
}

.navbar-logo img {
  height: 150px;
  width: auto;
  margin-top: 0;
  margin-right: auto;
}

.navbar-logo img:hover {
  cursor: pointer;
}

.navbar-menu {
  display: flex;
  gap: 30px;
  font-size: 1em;
  font-weight: bold;
}

.navbar-menu a {
  color: #5a5b9f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-menu a:hover {
  color: #3d3d3d;
}

.navbar-right {
  display: flex;
  gap: 20px;
  font-size: 0.8em;
  align-items: center;
}

.navbar-right p {
  color: #5a5b9f;
}

.navbar-right a {
  color: #5a5b9f;
  text-decoration: none;
  padding: 6px 10px;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.navbar-right a:hover {
  color: #3d3d3d;
  font-weight: bold;
}

.dropdown-dry a:hover {
  color: tomato;
  text-decoration: underline;
  background-color: rgba(255, 99, 71, 0.1);
  transition: 0.3s ease;
}

/* 메인 슬라이더 */
.slider-container {
  position: relative;
  width: 100vw;
  height: 90vh;
  overflow: hidden;
  margin-top: 220px;
}

.slides {
  display: flex;
  transition: transform 1s ease-in-out;
  width: 300vw;
}

.slide {
  flex: 0 0 100vw;
}

.slide img {
  width: 100vw;
  height: 90vh;
  object-fit: cover;
  display: block;
}

/* 컨트롤 */
.controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
}

.controls button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
}

/* 점(도트) */
.dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: #333;
}

/* 하단 메뉴 소개 공통 */
.menu-detail {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
}

.menu-detail h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

/* BEST 메뉴 카드 */
.best-menu-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.best-slider-container {
  overflow: hidden;
  width: 100%;
}

.best-slider {
  display: flex;
  transition: transform 0.4s ease;
}

/* PC 기본: 2장(50%) */
.best-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 50%;
  box-sizing: border-box;
  padding: 10px;
}

.best-card:hover {
  transform: translateY(-8px);
}

.best-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.best-card:hover img {
  transform: scale(1.05);
}

.best-info {
  padding: 16px;
  text-align: center;
  color: #333;
}

.best-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.best-info p {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

.best-info .price {
  font-size: 1rem;
  font-weight: bold;
  color: #d80000;
}

.best-prev,
.best-next {
  background-color: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 15px;
  color: #333;
  transition: color 0.3s;
}

.best-prev:hover,
.best-next:hover {
  color: #c00;
}

/* 퀵 링크 */
.quick-links {
  display: flex;
  justify-content: space-around;
  margin: 50px auto;
  max-width: 1000px;
  background-color: #f5f5f5;
  padding: 20px 0;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  gap: 20px;
}

.quick-link {
  text-align: center;
  text-decoration: none;
  color: #f5f5f5;
  flex: 1;
}

.quick-link strong {
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

.quick-link.reserve {
  background-color: #a07d5e;
  color: #fff;
  padding: 20px 10px;
}

.quick-link.savepoint {
  background-color: #3d3d3d;
  color: #fff;
  padding: 20px 10px;
}

.quick-link.delivery {
  background-color: #c00;
  color: #fff;
  padding: 20px 10px;
}

.quick-link:hover {
  opacity: 0.9;
}

/* 폼/알림 공통 */
h1 {
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-weight: bold;
}

input {
  width: 50%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

button {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin: 10px 5px 10px 0;
}

.result {
  margin-top: 20px;
  padding: 15px;
  border-radius: 5px;
  min-height: 40px;
}

.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.loading {
  background: #fff3cd;
  color: #856404;
  text-align: center;
}

/* 드롭다운 */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f7cac9;
  min-width: 150px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 999;
  padding: 10px 0;
  border-radius: 5px;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.dropdown-content a:hover {
  color: #9bb7d4;
  background-color: transparent;
  border-radius: 1px;
}

.dropdown-dry {
  color: lightcoral;
  font-weight: 700;
}

.dropdown-dry:hover {
  color: #dd4124;
  font-weight: bold;
}

/* 마우스 올릴 때만 보이게 */
.dropdown:hover .dropdown-content {
  display: block;
}

/* ===== 푸터 스타일 ===== */
.site-footer {
  background-color: #333;
  padding: 40px 20px 100px;
  color: #ddd;
  font-size: 14px;
  position: relative;
}

.footer-upper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 200px;
  margin-bottom: 30px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 5vw, 50px);
  max-width: 1000px;
  margin: 0 auto;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-lower {
  text-align: center;
  margin-top: 40px;
  color: #fff;
}

.footer-links a {
  margin: 0 10px;
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 10px;
  font-size: 12px;
}

/* TOP 버튼 */
.top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: #d80000;
  color: #f5f5f5;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-btn:hover {
  background-color: #a30000;
}

/* 전체화면 영상 - 반응형(cover) */
.fullscreen-video-wrapper {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  margin-top: 0px;
}

.fullscreen-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100svw;
  height: calc(100svw * 0.5625);
  min-height: 100svh;
  min-width: calc(100svh * 1.7778);
  transform: translate(-50%, -50%);
  filter: grayscale(100%);
  pointer-events: none;
  z-index: 0;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

/* 반응형 */
@media (max-width: 992px) {
  .slider-container {
    height: 60vh;
    margin-top: 120px;
  }
  .slide img {
    height: 60vh;
  }
  .best-card img {
    height: 200px;
  }
  .fullscreen-video-wrapper {
    margin-top: 120px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0;
  }

  .nav-container {
    height: auto;
    min-height: 50px;
    flex-wrap: wrap;
    position: relative;
  }

  .navbar-logo img {
    height: 100px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    order: 2;
  }

  .menu-wrapper {
    width: 100%;
    display: none;
    flex-direction: column;
    background: #ddd;
    padding: 10px 0;
    order: 3;
    margin-top: 10px;
  }

  .menu-wrapper.active {
    display: flex;
  }

  .navbar-menu {
    flex-direction: column;
    gap: 15px;
    font-size: 0.9em;
  }

  .navbar-right {
    flex-direction: column;
    gap: 10px;
    font-size: 0.75em;
    margin-top: 15px;
  }

  .navbar-right p {
    display: none;
  }

  .best-card {
    flex: 0 0 100%;
  }
  .best-slider {
    gap: 0;
  }
  .best-prev,
  .best-next {
    font-size: 1.6rem;
    padding: 0 10px;
  }

  .quick-links {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }
  .quick-link {
    border-radius: 8px;
  }
  .quick-link strong {
    font-size: 16px;
  }

  .fullscreen-video-wrapper {
    height: 90svh;
    margin-top: 120px;
  }

  .top-btn {
    width: 64px;
    height: 64px;
    bottom: 24px;
    right: 16px;
    font-size: 16px;
  }

  .slider-container {
    margin-top: 120px;
  }
}

@media (max-width: 600px) {
  .slider-container {
    height: 48vh;
    margin-top: 120px;
  }
  .slide img {
    height: 48vh;
  }
  .controls button {
    font-size: 20px;
    padding: 8px 10px;
  }
  .dots {
    bottom: 16px;
  }
  .menu-content {
    flex-direction: column;
    gap: 16px;
  }
  .menu-img img {
    width: 100%;
    height: auto;
  }
  .fullscreen-video-wrapper {
    margin-top: 120px;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }
  .footer-logo {
    width: 160px;
  }
  .footer-lower {
    font-size: 12px;
  }
  .fullscreen-video-wrapper {
    margin-top: 0 !important;
  }
}
