/* --- Contact Page Mobile Card Visual Match to Home --- */
@media (max-width: 600px) {
  .contact-page .inner {
    background: rgba(30,30,30,0.82);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 18px 8px 18px 8px;
    margin-top: 0;
    color: #fff;
    text-shadow: 0 2px 8px #000, 0 1px 0 #000;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .contact-page .inner h2,
  .contact-page .inner h3,
  .contact-page .inner label {
    color: #fff;
    text-shadow: 0 2px 8px #000, 0 1px 0 #000;
  }
  .contact-page .inner p {
    color: #fff;
    text-shadow: 0 1px 4px #000, 0 1px 0 #000;
  }
  .contact-page .form-group input,
  .contact-page .form-group textarea {
    background: rgba(255,255,255,0.95);
    color: #222;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 10px;
  }
  .btn-primary {
    font-size: 15px;
    padding: 10px 14px;
    margin-bottom: 6px;
    border-radius: 8px;
  }
}
/* --- Reservation Page Mobile Card Visual Match to Home --- */
@media (max-width: 600px) {
  .reservation-page .inner {
    background: rgba(30,30,30,0.82);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 18px 8px 18px 8px;
    margin-top: 0;
    color: #fff;
    text-shadow: 0 2px 8px #000, 0 1px 0 #000;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .reservation-page .inner h2,
  .reservation-page .inner h3,
  .reservation-page .inner label {
    color: #fff;
    text-shadow: 0 2px 8px #000, 0 1px 0 #000;
  }
  .reservation-page .inner p {
    color: #fff;
    text-shadow: 0 1px 4px #000, 0 1px 0 #000;
  }
  .reservation-page .form-group input,
  .reservation-page .form-group textarea {
    background: rgba(255,255,255,0.95);
    color: #222;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 10px;
  }
  .btn-primary {
    font-size: 15px;
    padding: 10px 14px;
    margin-bottom: 6px;
    border-radius: 8px;
  }
}
/* --- About Page Mobile Card Visual Match to Home --- */
@media (max-width: 600px) {
  .about-page .inner {
    background: rgba(30,30,30,0.82);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 18px 8px 18px 8px;
    margin-top: 0;
    color: #fff;
    text-shadow: 0 2px 8px #000, 0 1px 0 #000;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .about-page .inner h2,
  .about-page .inner h3,
  .about-page .inner label {
    color: #fff;
    text-shadow: 0 2px 8px #000, 0 1px 0 #000;
  }
  .about-page .inner p {
    color: #fff;
    text-shadow: 0 1px 4px #000, 0 1px 0 #000;
  }
  .btn-primary {
    font-size: 15px;
    padding: 10px 14px;
    margin-bottom: 6px;
  }
}
/* --- Enhanced Mobile Nav Button and Menu Link Visibility --- */
.nav-toggle {
  box-shadow: 0 2px 8px rgba(0,0,0,0.25), 0 0 0 3px #fff;
}
@media (max-width: 800px) {
  .main-nav {
    background: rgba(255,255,255,0.98) !important;
    color: #222;
  }
  .main-nav a {
    color: #222 !important;
    text-shadow: none !important;
    font-weight: bold;
  }
  .main-nav a.active {
    background: #A89158;
    color: #fff !important;
  }
}
/****************************
 * Common
 *****************************/

html,
body {
  padding: 0;
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Times New Roman", serif;
  background-color: #f9f7f4;
  color: #333;
}

h1 {
  font-size: 30px;
  margin: 0;
  color: #A89158;
}

h2 {
  font-size: 24px;
  margin: 30px 0 20px 0;
  color: #333;
}

h3 {
  font-size: 18px;
  margin: 15px 0;
}

h4 {
  font-size: 16px;
  margin: 10px 0;
}

/* Header */
.header {
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-transparent {
  background-color: transparent;
  border-bottom: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 20px 0;
}

.header-content {
  padding: 0 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Make header content align nicely with logo */
.header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo sizing and responsiveness */
.site-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: inline-block;
}

@media (max-width: 600px) {
  .site-logo {
    height: 40px;
  }
  h1 {
    font-size: 20px;
  }
}

/* Navigation styles */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.site-title {
  margin-left: 10px;
  font-size: 22px;
  color: #A89158;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  margin-left: auto;
  cursor: pointer;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  color: #333;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.main-nav a:hover {
  background-color: #f0f0f0;
}

.main-nav a.active {
  background-color: #A89158;
  color: white;
}

.header-transparent .main-nav a {
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.header-transparent .main-nav a:hover {
  background-color: rgba(255,255,255,0.2);
}

.header-transparent .main-nav a.active {
  background-color: #A89158;
  color: white;
}

.header-transparent .site-title {
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    right: 30px;
    top: 76px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: none;
    width: 200px;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav li {
    border-bottom: 1px solid #f0f0f0;
  }
  .main-nav li:last-child { border-bottom: none; }
  .main-nav a { display: block; padding: 12px 16px; }
}

/* Main Content */
.content {
  padding: 140px 30px 30px 30px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 20;
  background-color: transparent;
  margin-top: 0;
}

.inner {
  position: relative;
  width: 100%;
  flex: 1;
}

/* Welcome section styling for home page only (over video) */
.welcome-hero h2 {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 36px;
  margin-bottom: 20px;
}

.welcome-hero p {
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
}

/* Category Section */
.category-section {
  margin-bottom: 40px;
}

ul.category {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  list-style: none;
}

ul.category li {
  list-style: none;
}

ul.category li a,
ul.category li a:visited {
  border: 1px solid #707070;
  padding: 8px 20px;
  color: black;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  background-color: white;
  cursor: pointer;
}

ul.category li a:hover {
  background-color: #f0f0f0;
}

ul.category li.active a,
ul.category li.active a:visited {
  background-color: #A89158;
  color: white;
  border-color: #A89158;
}

/* Items Grid */
.items-section {
  margin-bottom: 60px;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.item-card {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #f0f0f0;
}

.item-info {
  padding: 15px;
}

.item-name {
  font-weight: bold;
  font-size: 16px;
  margin: 0 0 8px 0;
  color: #333;
}

.item-price {
  color: #A89158;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 8px 0;
}

.item-category {
  font-size: 12px;
  color: #999;
  text-transform: capitalize;
}

/* Posts Section */
.posts-section {
  margin-bottom: 60px;
}

.posts-list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.post-card {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.post-author {
  font-weight: bold;
  color: #A89158;
}

.post-date {
  font-size: 12px;
  color: #999;
}

.post-body {
  font-size: 14px;
  line-height: 1.6;
  margin: 10px 0;
  color: #555;
}

.post-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  margin: 10px 0;
  border-radius: 4px;
}

/* Reviews Section */
.reviews-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.reviews-list {
  display: grid;
  gap: 15px;
  margin-top: 15px;
}

.review-card {
  background-color: #f9f7f4;
  border-left: 3px solid #A89158;
  padding: 15px;
  border-radius: 4px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.review-author {
  font-weight: bold;
  color: #333;
}

.review-date {
  font-size: 12px;
  color: #999;
}

.review-body {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.review-likes {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-primary {
  background-color: #A89158;
  color: white;
}

.btn-primary:hover {
  background-color: #956f47;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #e0e0e0;
  color: #333;
}

.btn-secondary:hover {
  background-color: #d0d0d0;
}

.btn-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #999;
}

.btn-close:hover {
  color: #333;
}

/* Forms */
.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #A89158;
  box-shadow: 0 0 0 3px rgba(168, 145, 88, 0.1);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fefefb;
  padding: 30px;
  border-radius: 8px;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  width: 90%;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
}

#modalImage {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Modal Body */
.modal-body {
  max-width: 100%;
}

.modal-body .price {
  color: #A89158;
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

/* Reservation Page Background */
.reservation-page .content {
  background-color: transparent;
  padding: 140px 30px 30px 30px;
  margin-top: 0;
}

.reservation-page .inner {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.reservation-page .inner h2 {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.reservation-page .inner p {
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.reservation-page .form-group label {
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.reservation-page .form-group input {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.reservation-page .form-group input:focus {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: #A89158;
}

/* About Page Video Hero & Overlay */
.about-page .content {
  background-color: transparent;
  padding: 140px 30px 30px 30px;
  margin-top: 0;
}

.about-page .inner {
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.about-page .inner h2,
.about-page .inner h3,
.about-page .inner p {
  color: #222;
  text-shadow: 0 2px 8px #fff, 0 1px 0 #fff;
}

.about-page .video-hero video {
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: cover;
  filter: brightness(1) saturate(1);
}

/* Contact Page Video Hero & Overlay */
.contact-page .content {
  background-color: transparent;
  padding: 140px 30px 30px 30px;
  margin-top: 0;
}

.contact-page .inner {
  background-color: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-page .inner h2,
.contact-page .inner h3,
.contact-page .inner p,
.contact-page .inner label {
  color: #222;
  text-shadow: 0 2px 8px #fff, 0 1px 0 #fff;
}

.contact-page .form-group input,
.contact-page .form-group textarea {
  background-color: rgba(255,255,255,0.95);
  border: 1px solid #ccc;
}

.contact-page .form-group input:focus,
.contact-page .form-group textarea:focus {
  background-color: #fff;
  border-color: #A89158;
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 30;
}

.footer p {
  margin: 8px 0;
  font-size: 14px;
}

/* Footer Facebook Icon */
.footer .social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  margin-left: 10px;
}
.footer .social-link:hover {
  color: #A89158;
}
.footer .social-link svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  fill: currentColor;
}

/* Video Hero Section */
.video-hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
  z-index: 1;
}

.video-hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}

/* Loading State */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #A89158;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

.empty-state p {
  margin: 0;
  font-size: 16px;
}

/* Chef's Special Section */
.chefs-special-section {
  margin: 60px auto 30px auto;
  max-width: 700px;
  background: rgba(255,255,255,0.92);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px 24px 24px;
}
.chefs-special-section h2 {
  margin-top: 0;
  color: #A89158;
  text-align: center;
}
.chefs-special-card {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.chefs-special-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  background: #f0f0f0;
}
.chefs-special-info {
  flex: 1;
  min-width: 220px;
}
.chefs-special-info h3 {
  margin: 0 0 10px 0;
  color: #333;
}
.chefs-special-desc {
  color: #555;
  margin-bottom: 18px;
}
.chefs-special-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
}
.chefs-special-price {
  color: #A89158;
  font-size: 22px;
  font-weight: bold;
}

/* Cart Bar */
.cart-bar {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #fff;
  border: 1px solid #A89158;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 1001;
  font-size: 16px;
}

/* Checkout Modal */
#checkoutModal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.4);
  align-items: center;
  justify-content: center;
}
#checkoutModal .modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px 28px 32px;
  max-width: 400px;
  width: 95vw;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  position: relative;
}
#checkoutModal .close {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 28px;
  color: #aaa;
  cursor: pointer;
}
#checkoutModal .close:hover {
  color: #A89158;
}
#checkoutModal h3 {
  margin-top: 0;
  color: #A89158;
}
#checkoutModal .form-group label {
  color: #333;
  font-weight: 500;
}
#checkoutModal .form-group input {
  width: 100%;
  margin-top: 4px;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
}
#checkoutModal button[type="submit"] {
  width: 100%;
  margin-top: 10px;
}
@media (max-width: 700px) {
  .chefs-special-section {
    padding: 18px 6px 12px 6px;
  }
  .chefs-special-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .chefs-special-img {
    width: 100%;
    height: 160px;
    border-radius: 10px;
  }
  .cart-bar {
    right: 10px;
    bottom: 10px;
    padding: 10px 14px;
    font-size: 15px;
  }
}
