/* PROJECT: Sushi Maido Website
  AUTHOR: Luana Kim
  LAST UPDATED: 2026-04-08
  BRAND COLOR: #8B2323, #FCF9F3
*/

/* 1. Global Styles & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: #222;
  -webkit-font-smoothing: antialiased;
  min-width: 360px;
}

/* 2. Header (Navigation) */
.main-header {
  width: 100%;           
  background-color: #fff;
  position: fixed;       
  top: 0;
  left: 0;
  z-index: 1000;
  border: 0 !important;
  box-shadow: none !important;
  margin-bottom: -1px;
}

.main-header .container {
  max-width: 100%;
  width: 100%;
  padding: 0 60px;       
  display: flex;         
  justify-content: space-between; 
  align-items: center;   
  height: 62px;   
}

.logo-link {
  text-decoration: none; /* 밑줄 제거 */
}

.logo-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 550;       /* 적당한 두께감 */
  font-size: 23px;        /* 로고 크기 */
  color: #8B2323;         /* Sushi Maido 시그니처 와인색 */
  letter-spacing: -0.03em; 
  transition: opacity 0.3s ease;
}


.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-family: 'Lora', serif;
  font-size: 14px;       
  font-weight: 600;      
  color: #777;        
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.4s ease;
}

.main-nav a.active { color: #8b2323; }
.main-nav a:hover { color: #222; }

 /* 3. Hero Section (Home) */

/* .hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; 
  min-height: 400px; 
  overflow: hidden;
  margin-top: 62px; /* Fixed Header Height Match }*/
/* 
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
} */
/* 
.hero-content {
  position: absolute;
  top: 45%;    
  left: 5%;    
  width: 90%;  
  z-index: 10;
  transform: translateY(-50%); 
}

.hero-title {
  font-size: clamp(2rem, 8vw, 6rem); 
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4vw;
}

.hero-buttons {
  display: flex;
  gap: 25px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 1.2vw 2.5vw;
  font-size: clamp(14px, 1.5vw, 24px);
  background-color: #8b2323;
  color: white;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
} */
 /* 3. Hero Section (Home) */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; 
  min-height: 400px; 
  overflow: hidden;
  margin-top: 62px; /* Fixed Header Height Match */
}

/* 슬라이더 컨테이너 */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 슬라이드 이미지 (Fade 애니메이션 적용) */
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-img.active {
  opacity: 1;
  z-index: 2;
}

/* 히어로 컨텐츠 */
.hero-content {
  position: absolute;
  bottom: 8%;            /* 하단에서 8% 떨어진 위치 */
  left: 50%;             /* 가로 중앙으로 이동 */
  transform: translateX(-50%); /* 정확한 중앙 정렬 */
  width: auto;           /* 콘텐츠 크기에 맞춤 */
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;   /* 내부 요소(버튼, 닷) 중앙 정렬 */
  gap: 20px;             /* 버튼과 닷 사이 간격 */
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 0;      /* 기존 margin 제거 */
}
/* 버튼 및 비활성화(Disabled) 스타일 */
.btn {
  display: inline-block;
  padding: 1.2vw 2.5vw;
  font-size: clamp(14px, 1.5vw, 24px);
  background-color: #8b2323;
  color: white;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 4px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 비활성화 버튼 디자인 (반투명 & 커서 금지) */
.btn-disabled {
  background-color: #555555;
  opacity: 0.75;
  cursor: not-allowed;
}

.btn-disabled:hover {
  opacity: 0.9;
}
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #ffffff;
  width: 28px; /* 활성화 시 길어지는 바 스타일 */
  border-radius: 10px;
}

/* 4. Common Layout (Info Section) */
.info-section {
  padding: 100px 0;
  background-color: #fff;
}

.info-section .container {
  max-width: 100%;
  padding: 0 60px;
  margin: 0 auto;
}

.info-grid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.info-item {
  width: calc(50% - 8vw); 
  min-width: 380px;
  margin-top: 30px;
}

.section-title {
  width: 100%;
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 500;
  color: #000;
  font-size: clamp(32px, 3.8vw, 54px); 
  border-bottom: 2px solid #000;
  padding-bottom: 20px;
  margin-bottom: 50px;
  letter-spacing: -0.02em;
}

/* --- 4a. Service Hours (Home) --- */
.schedule-row {
  display: flex;
  justify-content: space-between;
  font-size: clamp(16px, 1.2vw, 22px);
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  letter-spacing: 0.05em;
}

.schedule-row.highlight { color: #8b2323; font-weight: 600; }

.sub-text {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-top: 30px;
  max-width: 450px;
}

/* --- 4b. Location (Home) --- */
.map-box {
  width: 100%;
  height: 400px; 
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #eee;
  line-height: 0; 
}

.map-box iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.address-container {
  cursor: pointer;
  position: relative;
  display: inline-block; /* 텍스트 크기만큼만 클릭 영역 설정 */
  transition: opacity 0.2s;
}

.address-container:hover {
  opacity: 0.7; /* 호버 시 살짝 연해지는 효과 */
}

/* 복사 완료 알림 메시지 스타일 */
#copy-toast {
  visibility: hidden;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

#copy-toast.show {
  visibility: visible;
  opacity: 1;
}

/* 5. Contact & Social Connect */
.label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: #8b2323;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.info-content.big-text p, .insta-title {
  font-family: 'Lora', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}

.info-content.big-text p a {
  text-decoration: none !important; 
  color: #222 !important;
  transition: color 0.3s ease;
}

.insta-title {
  font-style: italic;
  color: #222;
  transition: color 0.3s ease;
}

.email a {
  font-family: 'Lora', serif;
  font-size: 18px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.insta-link-wrapper {
  text-decoration: none;
  display: inline-block;
}

/* --- Global Hover Effects --- */
/* --- Global Hover Effects --- */

/* 1. 전화번호 호버 효과 */
.info-content.big-text p a:hover {
  color: #8b2323 !important; /* 마우스 올리면 와인색으로 변경 */
}

/* 2. 이메일 호버 효과 (이미 작성된 부분 확인 및 강화) */
.email a:hover {
  color: #8b2323 !important;
  text-decoration: underline; /* 선택사항: 이메일은 밑줄을 주면 더 링크같아 보입니다 */
}

/* 3. 인스타그램 호버 효과 */
.insta-link-wrapper:hover .insta-title {
  color: #8b2323;
}

/* 6. Footer */
.main-footer {
  padding: 60px 0;
  border-top: 1px solid #eee;
  background-color: #fff;
}

.main-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 60px;
}

.footer-logo {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 28px;
  color: #8b2323;
  margin-bottom: 15px;
}

.copyright {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-nav { display: flex; gap: 30px; }

.footer-nav a {
  text-decoration: none;
  font-size: 13px;
  color: #888;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.footer-nav a:hover { color: #222; }

/* 7. Reservation Page Styles */
/* ==========================================================================
   SUSHI MAIDO - RESERVATION PAGE TOTAL CSS (STABLE VERSION)
   ========================================================================== */

.reservation-page {
  padding-bottom: 100px;
  background-color: #fff;
}

/* 1. 상단 헤더 타이틀 */
.res-header {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 180px 60px 0;
  text-align: left;
}
.res-title { font-family: 'Lora', serif; font-size: clamp(40px, 6vw, 90px); font-weight: 500; line-height: 1.1; }
.res-title span { color: #8b2323; font-style: italic; }
.res-subtitle { font-size: 12px; letter-spacing: 0.3em; color: #888; text-transform: uppercase; margin-top: 10px; }

/* 2. 메인 카드 박스 */
.res-card {
  background: #fff;
  max-width: 1100px;
  margin: 0 auto;
  border-left: 6px solid #8b2323;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* 3. [중요] 레이아웃 그리드 (폼 50% : 사진 50%) */
.res-top-grid {
  display: flex;
  flex-wrap: nowrap;
  border-bottom: 1px solid #eee;
  min-height: 800px; /* 시간 슬롯이 늘어날 것을 대비해 충분히 확보 */
}

.res-form-main {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  min-width: 50%;
}

.res-visual {
  flex: 1;
  min-width: 50%;
  position: relative;
  background: #000;
}

.image-wrapper {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 4. 경험 선택 탭 (Table / Party Tray) */
.exp-options {
  display: flex;
  border-bottom: 1px solid #eee;
}
.exp-btn {
  flex: 1;
  padding: 30px 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
}
.exp-btn.active { background-color: #fcf9f3; }
.exp-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 2px;
  background-color: #8b2323;
}
.exp-btn strong { display: block; font-size: 15px; color: #8b2323; margin-bottom: 4px; text-transform: uppercase; }
.exp-btn small { font-size: 10px; color: #999; letter-spacing: 0.1em; }

/* 5. 인원수 & 날짜 행 */
.form-row { display: flex; gap: 40px; }
.form-group { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.counter, .date-wrapper {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}
.counter button { background: none; border: none; font-size: 20px; color: #8b2323; cursor: pointer; padding: 0 10px; }
.counter input { border: none; text-align: center; width: 100%; font-size: 20px; outline: none; background: transparent; }
.time-select-custom { border: none; width: 100%; font-size: 18px; font-family: 'Montserrat'; outline: none; background: transparent; }

/* 6. 시간 선택 정보 박스 */
.selected-time-info {
  background-color: #fcf9f3;
  padding: 20px;
  text-align: center;
  border: 1px solid #f0ece4;
}
.selected-time-info p { font-size: 10px; color: #999; text-transform: uppercase; margin-bottom: 8px; }
.selected-time-info strong { font-family: 'Lora', serif; font-size: 24px; color: #222; }
.selected-time-info strong span { color: #8b2323; font-weight: 600; }

/* 7. [Yelp 스타일] 시간 선택 슬라이더 및 그리드 */
.hour-slider {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 15px 5px;
  -webkit-overflow-scrolling: touch;
}
.hour-slider::-webkit-scrollbar { display: none; }

.hour-btn {
  flex: 0 0 auto;
  min-width: 85px;
  padding: 12px 15px;
  border-radius: 50px;
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  font-family: 'Montserrat';
  font-weight: 600;
  cursor: pointer;
}
.hour-btn.active { background: #8B2323; color: #fff; border-color: #8B2323; box-shadow: 0 4px 10px rgba(139, 35, 35, 0.2); }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 15px;
}
.minute-btn {
  padding: 14px 0;
  border: 1px solid #eee;
  background: #fff;
  color: #8b2323;
  font-family: 'Montserrat';
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}
.minute-btn.active { background: #8b2323; color: #fff; }

/* 8. 하단 개인정보 입력란 */
.res-bottom-details { padding: 60px; display: flex; flex-direction: column; gap: 40px; }
.form-row-triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.res-bottom-details input, 
.res-bottom-details textarea {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  width: 100%;
  outline: none;
  font-family: 'Montserrat';
  font-size: 16px;
  background: transparent;
}
.res-bottom-details input:focus, 
.res-bottom-details textarea:focus { border-bottom: 1px solid #8b2323; }

.submit-btn {
  border-radius: 15px;
  width: 60%;
  display: block;
  margin: 40px auto 0;
  padding: 20px;
  background-color: #8B2323;
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: 0.3s;
}
.submit-btn:hover { background-color: #6A1A1A; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(139, 35, 35, 0.4); }

.label-sm { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #222; text-transform: uppercase; }