* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans SC', 'Arial', sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background: 
    radial-gradient(circle at 20% 50%, rgba(46, 125, 50, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(46, 125, 50, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(46, 125, 50, 0.02) 0%, transparent 50%),
    linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

/* Bamboo Pattern Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../bamboo.svg');
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: 0 0;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

/* Header Styles */
header {
  background: linear-gradient(rgba(46, 125, 50, 0.9), rgba(27, 94, 32, 0.9)), url("../images/LeeGardenStoreFront.jpg") center top/cover no-repeat;
  background-attachment: fixed;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 120px;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Meta Navigation */
.meta-nav {
  background: rgba(0,0,0,0.1);
  padding: 8px 0;
  font-size: 0.9rem;
}

.meta-nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meta-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
}

.meta-nav-item i {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.meta-nav-item a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.meta-nav-item a:hover {
  color: #fff;
}

.restaurant-title {
  text-align: center;
  padding: 10px 0;
  color: #fff;
}

.restaurant-title h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.restaurant-title .chinese-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
  color: #c62828;
  cursor: help;
  position: relative;
  transition: opacity 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

.restaurant-title .chinese-name:hover {
  opacity: 1;
}

.restaurant-title .chinese-name::after {
  content: 'Translated: Lee Garden';
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

.restaurant-title .chinese-name:hover::after {
  opacity: 1;
  visibility: visible;
}

nav {
  text-align: center;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}

nav a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin: 0 15px;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

nav a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

nav a.active {
  background: rgba(255,255,255,0.15);
  font-weight: 600;
}


/* Add green accent elements */
.green-accent {
  color: #2e7d32;
}

.red-accent {
  color: #c62828;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
}

section {
  margin-bottom: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

section h2 {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  color: #fff;
  padding: 25px 30px;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.section-content {
  padding: 30px 30px;
}

section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

section img:hover {
  transform: scale(1.02);
}

/* Home Section - Banner Layout */
#home-section {
  background: transparent;
  margin-bottom: 50px;
}


.customer-notice {
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  padding: 30px;
  border-radius: 10px;
  margin: 20px auto 30px auto;
  max-width: 1200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  text-align: left;
}

.customer-notice h3 {
  font-family: 'Montserrat', sans-serif;
  color: #2e7d32;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-align: left;
  margin: 0 0 16px 0;
}

.customer-notice p {
  margin: 0 0 12px 0;
  text-align: left !important;
  font-size: 1.1rem;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 500;
  line-height: 1.6;
  color: #1b5e20;
  text-indent: 0;
}

.customer-notice .signature {
  text-align: right;
  font-style: normal;
  color: #c62828;
  font-weight: 500;
  margin: 5px 0 0 0;
  font-size: 0.9rem;
  font-family: 'Noto Sans SC', sans-serif;
}


.welcome-message h3 {
  color: #2e7d32;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 16px;
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.welcome-message p {
  margin-bottom: 12px;
  text-align: left;
  font-size: 0.95rem;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.welcome-message .signature {
  text-align: right;
  font-style: normal;
  color: #c62828;
  font-weight: 500;
  margin-top: 16px;
  font-size: 0.9rem;
  font-family: 'Noto Sans SC', sans-serif;
  position: relative;
  z-index: 2;
}

/* Menu Images */
.menu-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.menu-images a {
  display: block;
  text-decoration: none;
}

.menu-images img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  cursor: pointer;
  display: block;
}

.menu-images a:hover img {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Map Section Styling */
#location-section .section-content {
  padding: 0;
}

/* Order By Phone Section */
.order-phone-container {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 40px;
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.phone-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.phone-icon i {
  font-size: 2rem;
  color: white;
}

.phone-info {
  flex: 1;
}

.phone-info h3 {
  color: #2e7d32;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: 'Noto Sans SC', sans-serif;
}

.phone-info p {
  color: #2c2c2c;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: 'Noto Sans SC', sans-serif;
}

.phone-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #c62828 0%, #d32f2f 100%);
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Noto Sans SC', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(198, 40, 40, 0.3);
}

.phone-button:hover {
  background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.4);
  color: white;
  text-decoration: none;
}

.phone-button i {
  font-size: 1.2rem;
}

.map-container {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  margin: 0;
  display: block;
  border-radius: 0;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1;
}

.map-overlay-text {
  color: transparent;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-overlay-text i {
  font-size: 1.2rem;
}

.map-container:hover img {
  filter: brightness(0.4);
}

.map-container:hover .map-overlay {
  background: rgba(0,0,0,0.3);
}

.map-container:hover .map-overlay-text {
  color: #fff;
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0,0,0,0.9);
  backdrop-filter: blur(5px);
}

.image-modal-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* important for panning bounds */
  padding: 20px;
  box-sizing: border-box;
}

.image-modal-content {
  /* Let Panzoom fully control transforms */
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: grab;
  /* No position:absolute, no translate(-50%, -50%), no transform */
}
.image-modal-content:active { cursor: grabbing; }

/* PhotoSwipe Custom Background - Dark and Muted */
.pswp__bg {
  background-color: #1a1a1a !important;
  opacity: 1 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .image-modal-container {
    padding: 15px;
  }
  
  .image-modal-content {
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 30px);
  }
}

@media (max-width: 480px) {
  .image-modal-container {
    padding: 10px;
  }
  
  .image-modal-content {
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.image-modal-close:hover {
  color: #c62828;
}

.image-modal-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
}

.image-modal-nav {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.image-modal-nav:hover {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
  color: #fff;
  transform: scale(1.1);
}

/* Mobile responsive controls */
@media (max-width: 768px) {
  .image-modal-controls {
    bottom: 15px;
    padding: 8px 15px;
    gap: 15px;
  }
  
  .image-modal-nav {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .image-modal-controls {
    bottom: 10px;
    padding: 6px 12px;
    gap: 12px;
  }
  
  .image-modal-nav {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

.image-modal-counter {
  color: white;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* Menu Section */
.menu-highlight {
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  padding: 30px;
  border-radius: 10px;
  margin: 20px 0;
  border: 2px solid #2e7d32;
}

.menu-highlight p {
  font-size: 1.1rem;
  color: #1b5e20;
  text-align: center;
  font-weight: 500;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

.back-to-top {
  margin-bottom: 20px;
}

.back-to-top a {
  display: inline-block;
  background: #c62828;
  color: #fff;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.back-to-top a:hover {
  background: #d32f2f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

footer p {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .meta-nav-content {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .meta-nav-item {
    font-size: 0.85rem;
  }

  .restaurant-title h1 {
    font-size: 2rem;
  }

  .restaurant-title .chinese-name {
    font-size: 1.5rem;
  }

  nav a {
    display: block;
    margin: 8px 0;
    padding: 10px 15px;
  }

  .section-content {
    padding: 30px 20px;
  }

  .menu-images {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  #home-section {
    padding: 40px 15px;
  }


  .notice-content {
    padding: 30px 20px;
  }

  .order-phone-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 30px 20px;
  }

  .phone-icon {
    width: 60px;
    height: 60px;
  }

  .phone-icon i {
    font-size: 1.5rem;
  }

  .phone-info h3 {
    font-size: 1.3rem;
  }

  .phone-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  /* Disable parallax and sticky on mobile for better performance */
  header {
    background-attachment: scroll;
    position: relative;
  }

  .welcome-message {
    padding: 25px 20px;
    font-size: 0.9rem;
    margin: 0 5px;
    max-width: 100%;
  }

  .welcome-message h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
  }

  .welcome-message p {
    margin-bottom: 10px;
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .welcome-message .signature {
    font-size: 0.8rem;
    margin-top: 12px;
  }

  section h2 {
    font-size: 1.5rem;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 20px 10px;
  }

  .restaurant-title h1 {
    font-size: 1.8rem;
  }

  nav a {
    padding: 8px 12px;
    margin: 5px 0;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.6s ease-out;
}
