/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary Colors - Warm walnut palette */
  --primary-color: #8C6B4F;        /* Muted walnut */
  --primary-dark: #6E523D;         /* Deep walnut */
  --primary-light: #B49579;        /* Soft taupe highlight */

  /* Accent Colors */
  --secondary-color: #A67852;      /* Caramel accent */
  --accent-yellow: #C59A63;        /* Antique gold */
  --accent-teal: #7E8A8D;          /* Dusty steel */

  /* Neutral Colors */
  --text-dark: #2C2926;            /* Deep espresso */
  --text-medium: #5F5952;          /* Warm medium neutral */
  --text-light: #857C72;           /* Warm light neutral */
  --bg-light: #F5F1EA;             /* Soft oatmeal background */
  --bg-cream: #FCF7EE;             /* Warm ivory */
  --white: #FFFFFF;

  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(44, 41, 38, 0.08);
  --shadow: 0 4px 12px rgba(44, 41, 38, 0.12);
  --shadow-lg: 0 8px 24px rgba(44, 41, 38, 0.15);
  --shadow-hover: 0 8px 20px rgba(44, 41, 38, 0.18);

  /* Border Radius */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 600; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
p { margin-bottom: 1rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(140, 107, 79, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 20px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  justify-content: flex-end;
  margin-left: auto;
  margin-right: 2.5rem;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-button {
  position: relative;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.cart-count {
  background-color: var(--secondary-color);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  margin-left: 0.25rem;
}

.cart-button:hover {
  color: var(--primary-color);
  transform: scale(1.05);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.sign-in-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.sign-in-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: url('/images/hero/sproutcafe-interior-new2.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0.95;
  letter-spacing: 0.01em;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(140, 107, 79, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(140, 107, 79, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Content Section */
.content-section {
  padding: 80px 20px;
  background-color: var(--white);
}

.content-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.content-section p {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-medium);
  text-align: center;
}

/* Features Section */
.features {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(140, 107, 79, 0.08);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(140, 107, 79, 0.2);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-card p {
  color: var(--text-medium);
  line-height: 1.7;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, rgba(70, 66, 61, 0.52) 0%, rgba(216, 202, 185, 0.46) 100%), url('/images/hero/cta2.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  padding: 100px 20px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta h2 {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  color: var(--white);
}

.cta p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  opacity: 0.95;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 120px 20px;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 41, 38, 0.42);
  z-index: 0;
}

/* Page-specific hero backgrounds */
.page-header-home {
  background-image: linear-gradient(rgba(44, 41, 38, 0.45), rgba(44, 41, 38, 0.45)), url('/images/hero/sproutcafe-interior-new2.jpg');
}

.page-header-about {
  background-image: linear-gradient(rgba(44, 41, 38, 0.45), rgba(44, 41, 38, 0.45)), url('/images/hero/cta2.jpg');
}

.page-header-menu {
  background-image: linear-gradient(rgba(44, 41, 38, 0.48), rgba(44, 41, 38, 0.48)), url('/images/hero/sproutcafe-interior-new.jpg');
}

.page-header-catering {
  background-image: linear-gradient(rgba(44, 41, 38, 0.45), rgba(44, 41, 38, 0.45)), url('/images/catering-hero.jpg');
}

.page-header-gift-cards {
  background-image: linear-gradient(rgba(140, 107, 79, 0.5), rgba(110, 82, 61, 0.5)), url('/images/gift-card-hero.jpg');
}

.page-header-contact {
  background-image: linear-gradient(rgba(44, 41, 38, 0.45), rgba(44, 41, 38, 0.45)), url('/images/hero/cta2.jpg');
}

.page-header-order {
  background-image: linear-gradient(rgba(140, 107, 79, 0.52), rgba(110, 82, 61, 0.52)), url('/images/order-hero.jpg');
}

.page-header h1 {
  font-size: 3.25rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: 1.4rem;
  font-weight: 300;
  position: relative;
  z-index: 1;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Page */
.about-content {
  padding: 80px 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.about-text h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.about-image .interior-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.about-image .placeholder-image {
  background-color: var(--bg-light);
  padding: 100px;
  text-align: center;
  font-size: 5rem;
  border-radius: 10px;
}

.values {
  margin-bottom: 4rem;
}

.values h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: var(--bg-cream);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(140, 107, 79, 0.12);
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.value-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.team h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.team-intro {
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Menu Page */
.menu-content {
  padding: 80px 20px;
}

/* Menu Tabs */
.menu-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(140, 107, 79, 0.1);
  padding-bottom: 0;
}

.menu-tab {
  background: none;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.menu-tab:hover {
  color: var(--primary-color);
}

.menu-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Menu Sections */
.menu-section {
  display: none;
}

.menu-section.active {
  display: block;
}

/* Category Filters */
.filter-help-text {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(140, 107, 79, 0.05) 0%, rgba(180, 149, 121, 0.05) 100%);
  border-radius: var(--radius);
}

.category-filter {
  padding: 0.6rem 1.5rem;
  background-color: var(--white);
  border: 2px solid rgba(140, 107, 79, 0.2);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-filter:hover {
  background-color: rgba(140, 107, 79, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.category-filter.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(140, 107, 79, 0.3);
}

.error-message {
  background-color: #ffebee;
  color: #c62828;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 2rem;
}

.menu-category {
  margin-bottom: 3rem;
}

.menu-category h2 {
  color: var(--primary-dark);
  font-size: 2.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--primary-color);
  display: inline-block;
}

.category-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.menu-items {
  display: grid;
  gap: 1.5rem;
}

.menu-item {
  padding: 1.75rem;
  background-color: var(--white);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border: 1px solid rgba(140, 107, 79, 0.1);
}

.menu-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
  border-color: rgba(140, 107, 79, 0.25);
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.item-header h3 {
  color: var(--text-dark);
  font-size: 1.35rem;
  font-weight: 600;
}

.price {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.25rem;
}

.item-description {
  color: var(--text-medium);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Featured Menu Items with Images */
.featured-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-item-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.menu-item-content {
  flex: 1;
}

.featured-item .item-header {
  margin-bottom: 0.5rem;
}

/* Menu Items Grid (3 columns) */
.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.menu-item-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(140, 107, 79, 0.1);
}

.menu-item-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.item-image-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.menu-item-card:hover .item-image {
  transform: scale(1.05);
}

.item-image-placeholder {
  font-size: 4rem;
  color: var(--text-light);
}

.item-card-info {
  padding: 1.5rem;
  text-align: center;
}

.item-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  min-height: 2.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  cursor: pointer;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.modal-image-container {
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.modal-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.modal-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.modal-info p {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.modal-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: auto;
}

/* Catering Page */
.catering-content {
  padding: 80px 20px;
}

.intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.intro-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.intro-with-image .intro {
  text-align: left;
  max-width: none;
  margin: 0;
}

.intro-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
}

.intro h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.intro p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
}

.catering-types {
  margin-bottom: 4rem;
}

.catering-types h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.catering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.catering-card {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 10px;
}

.catering-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.catering-card ul {
  list-style-position: inside;
  color: var(--text-light);
  margin-top: 1rem;
}

.packages {
  margin-bottom: 4rem;
}

.packages h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.package-list {
  display: grid;
  gap: 2rem;
}

.package-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.package-item h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.package-price {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.package-item ul {
  list-style-position: inside;
  color: var(--text-light);
}

.cta-section {
  text-align: center;
  padding: 3rem;
  background-color: var(--bg-light);
  border-radius: 10px;
}

.cta-section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Gift Cards Page */
.gift-cards-content {
  padding: 80px 20px;
}

.gift-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.gift-card-option {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.gift-card-option h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.gift-card-option ul {
  list-style-position: inside;
  color: var(--text-light);
  margin: 1rem 0;
}

.visit-note {
  background-color: var(--bg-light);
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.balance-check {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: 10px;
}

.balance-check h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.balance-form {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.balance-form input {
  flex: 1;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.balance-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.balance-result {
  margin-top: 1.5rem;
}

.balance-success {
  background-color: #eaf2ff;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.balance-amount {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: bold;
}

.balance-error {
  background-color: #ffebee;
  color: #c62828;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
}

.loading {
  text-align: center;
  color: var(--text-light);
}

.gift-card-faq {
  max-width: 800px;
  margin: 4rem auto;
}

.gift-card-faq h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.faq-list {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Order Online Page */
.order-content {
  padding: 60px 20px 80px;
}

.order-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.order-menu-section {
  min-height: 500px;
}

.order-filters {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(140, 107, 79, 0.05) 0%, rgba(180, 149, 121, 0.05) 100%);
  border-radius: var(--radius);
}

.order-filters label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.order-filters select {
  flex: 1;
  max-width: 300px;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(140, 107, 79, 0.2);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.order-filters select:hover {
  border-color: var(--primary-color);
}

.order-filters select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(140, 107, 79, 0.1);
}

.order-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.order-item-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.order-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.order-item-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(140, 107, 79, 0.1) 0%, rgba(180, 149, 121, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-image .item-image-placeholder {
  font-size: 3rem;
}

.order-item-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.order-item-info h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.order-item-description {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.order-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.order-item-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.btn-add-to-cart {
  padding: 0.6rem 1.25rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(140, 107, 79, 0.3);
}

/* Cart Sidebar */
.order-cart-sidebar {
  position: relative;
}

.cart-sticky {
  position: sticky;
  top: 100px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.75rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.cart-sticky h2 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(140, 107, 79, 0.2);
}

.cart-items {
  margin-bottom: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.cart-empty {
  text-align: center;
  color: var(--text-light);
  padding: 2rem 1rem;
  font-style: italic;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(140, 107, 79, 0.1);
  align-items: start;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(140, 107, 79, 0.1) 0%, rgba(180, 149, 121, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-image span {
  font-size: 1.5rem;
}

.cart-item-details h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(140, 107, 79, 0.3);
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.cart-item-quantity span {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  color: var(--text-dark);
}

.cart-item-total {
  text-align: right;
}

.cart-item-total p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.btn-remove {
  background: none;
  border: none;
  color: #e74c3c;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: all 0.2s ease;
}

.btn-remove:hover {
  color: #c0392b;
  transform: scale(1.2);
}

.cart-summary {
  padding: 1.25rem 0;
  border-top: 2px solid rgba(140, 107, 79, 0.2);
  border-bottom: 2px solid rgba(140, 107, 79, 0.2);
  margin-bottom: 1.5rem;
}

.cart-subtotal,
.cart-tax {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 1rem;
}

.btn-checkout {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.btn-checkout:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-checkout:disabled:hover {
  background-color: #ccc;
  transform: none;
  box-shadow: none;
}

.btn-clear-cart {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--white);
  color: var(--text-dark);
  border: 2px solid rgba(140, 107, 79, 0.3);
}

.btn-clear-cart:hover {
  background-color: #ffebee;
  border-color: #e74c3c;
  color: #e74c3c;
}

/* Customization Modal */
.customize-modal-content {
  max-width: 900px;
  width: 95%;
}

.customize-modal-body {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 2rem;
  padding: 0;
}

.customize-image-container {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, rgba(140, 107, 79, 0.1) 0%, rgba(180, 149, 121, 0.1) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customize-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customize-info {
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1rem 0;
}

.customize-info h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.customize-info > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.customize-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem !important;
}

.customize-section {
  margin-bottom: 1.5rem;
}

.customize-section label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-selector input {
  width: 80px;
  padding: 0.6rem;
  text-align: center;
  border: 2px solid rgba(140, 107, 79, 0.2);
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
}

.quantity-selector input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.customize-section textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(140, 107, 79, 0.2);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 100px;
}

.customize-section textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(140, 107, 79, 0.1);
}

.customize-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(140, 107, 79, 0.2);
}

.customize-total {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.btn-add-customized {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

/* Cart Item Instructions */
.cart-item-instructions {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  margin: 0.25rem 0 0.5rem 0;
  line-height: 1.4;
}

/* Contact Page */
.contact-content {
  padding: 80px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
}

.hours-status {
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.hours-list {
  display: grid;
  gap: 0.65rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(44, 41, 38, 0.08);
}

.hours-day,
.hours-time {
  color: var(--text-light);
}

.hours-row.is-current-day .hours-day,
.hours-row.is-current-day .hours-time {
  font-weight: 700;
  color: var(--text-dark);
}

.contact-form-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-result {
  margin-top: 1rem;
}

.form-success {
  background-color: #eaf2ff;
  color: #345c9c;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
}

.map-section {
  margin-top: 4rem;
}

.map-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.map-embed {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
  background-color: var(--bg-light);
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.map-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 1rem;
  color: var(--text-light);
}

.map-note a {
  color: var(--primary-color);
  font-weight: 600;
  margin-left: 0.5rem;
}

.map-help {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Error Pages */
.error-page {
  padding: 100px 20px;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content h1 {
  font-size: 6rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.error-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-content p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, rgba(248, 246, 237, 0.94) 0%, rgba(241, 236, 220, 0.94) 100%), url('/images/hero/footer.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-dark);
  padding: 4rem 20px 1.5rem;
  margin-top: 5rem;
  border-top: 4px solid var(--primary-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-section h3 {
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.footer-section p {
  color: var(--text-medium);
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.footer-hours-status {
  font-weight: 700;
  color: var(--text-dark);
}

.footer-hours-trigger {
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary-color);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-hours-modal {
  background-color: rgba(0, 0, 0, 0.6);
}

.footer-hours-modal-content {
  max-width: 520px;
}

.footer-hours-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(44, 41, 38, 0.08);
  color: var(--text-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.footer-hours-modal-body {
  padding: 2.5rem 2rem 2rem;
}

.footer-hours-modal-body h2 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.footer-hours-modal-status {
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.footer-hours-list {
  display: grid;
  gap: 0.75rem;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(44, 41, 38, 0.08);
}

.footer-hours-day,
.footer-hours-time {
  color: var(--text-light);
}

.footer-hours-row.is-current-day .footer-hours-day,
.footer-hours-row.is-current-day .footer-hours-time {
  color: var(--text-dark);
  font-weight: 700;
}

body.modal-open {
  overflow: hidden;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(110, 82, 61, 0.2);
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .menu-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-layout {
    grid-template-columns: 1fr 320px;
    gap: 2rem;
  }

  .order-items-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    flex-wrap: wrap;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    order: 3;
    padding-top: 1rem;
  }

  .nav-actions {
    gap: 1rem;
  }

  .btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.4rem; }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1.15rem;
  }

  .page-header {
    padding: 80px 20px;
  }

  .page-header h1 {
    font-size: 2.25rem;
  }

  .page-header p {
    font-size: 1.15rem;
  }

  .hero,
  .cta {
    padding: 60px 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .features-grid,
  .catering-grid,
  .gift-card-grid,
  .contact-grid,
  .intro-with-image {
    grid-template-columns: 1fr;
  }

  .menu-items-grid {
    grid-template-columns: 1fr;
  }

  .menu-tabs {
    gap: 0.5rem;
  }

  .menu-tab {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .category-filters {
    padding: 1rem;
    gap: 0.5rem;
  }

  .category-filter {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-cart-sidebar {
    order: -1;
  }

  .cart-sticky {
    position: relative;
    top: 0;
    max-height: none;
  }

  .order-items-grid {
    grid-template-columns: 1fr;
  }

  .order-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .order-filters select {
    max-width: none;
  }

  .customize-modal-body {
    grid-template-columns: 1fr;
  }

  .customize-image-container {
    height: 250px;
  }

  .customize-info {
    padding: 1rem;
  }

  .customize-info h2 {
    font-size: 1.75rem;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-image-container {
    min-height: 250px;
  }

  .modal-info {
    padding: 1.5rem;
  }

  .modal-info h2 {
    font-size: 2rem;
  }

  .modal-price {
    font-size: 1.5rem;
  }

  .intro-with-image .intro {
    text-align: center;
  }

  .featured-item {
    flex-direction: column;
  }

  .menu-item-image {
    width: 100%;
    max-width: 200px;
    height: auto;
  }

  .balance-form {
    flex-direction: column;
  }

  .error-content h1 {
    font-size: 4rem;
  }
}
