:root {
  --primary: #6F2DA8;
  --primary-07: rgba(111, 45, 168, 0.7);
  --primary-05: rgba(111, 45, 168, 0.5);
  --primary-03: rgba(111, 45, 168, 0.3);
  --primary-01: rgba(111, 45, 168, 0.1);
  --white: #FFFFFF;
  --text-dark: #2D2D2D;
  --text-light: #FFFFFF;
  --shadow: rgba(255,255,255,0.18);
  --overlay-gradient: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

/* Base Styles */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { width: 100%; margin: 0; padding: 0; }

body {
  font-family: Tahoma, Verdana;
  color: var(--text-dark); background-color: var(--white);
  overflow-x: hidden;
}

main { position: relative; }
p { text-align: justify; }

/* Utility Classes */
.scale-105, .btn-primary:hover, .value-pill:hover, .feat-card:hover img { transform: scale(1.05); }
.scale-120 { transform: scale(1.2); }
.shadow-sm, .btn-primary, .feat-card, .menu-card, .value-pill { box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.shadow-md, #navbar, #mobile-menu { box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.shadow-lg, .btn-primary:hover, .feat-card:hover, .menu-card:hover, .value-pill:hover { box-shadow: 0 8px 24px var(--primary-03); }
.shadow-frame, .map-container iframe { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.shadow-info, .info-card { box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.shadow-info-hover, .info-card:hover { box-shadow: 0 8px 28px var(--primary-01); }
.shadow-photo, .photo-placeholder { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }

/* Scroll Reveal Animation */
section:not(#carousel):not(.menu-hero):not(.about-hero):not(#map-section):not(.menu-section),
.feat-card, .menu-card, .info-card, .value-pill {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
section:not(#carousel):not(.menu-hero):not(.about-hero):not(#map-section):not(.menu-section).reveal,
.feat-card.reveal, .menu-card.reveal, .info-card.reveal, .value-pill.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Sticky Navbar */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--primary-07);
  height: 70px; padding-bottom: 4.5rem;
}

.nav-logo { /* Brand Logo */
  font-size: 1.5rem; font-weight: 800; color: var(--text-light);
  text-decoration: none; letter-spacing: 1px; display: flex;
  align-items: center; gap: 0.5rem; transition: transform 0.8s ease;
}

.nav-logo img {
  height: 3rem; width: auto; border-radius: 8px;
  transition: transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-logo:hover img { transform: rotate(360deg); }

.nav-link { /* Navigation Links */
  color: var(--text-light); text-decoration: none; font-weight: 500;
  padding: 0.5rem 0.8rem; border-radius: 3px;
  transition: background 0.25s, color 0.25s, letter-spacing 0.25s;
}

.nav-link:hover { background: var(--shadow); letter-spacing: 0.05em; }
.nav-link.active { background: var(--shadow); }

.lang-toggle { /* Language Toggle */
  display: flex; background: var(--shadow); border-radius: 20px;
  padding: 2px; gap: 2px;
}

.lang-btn {
  cursor: pointer; padding: 0.3rem 0.7rem; border-radius: 18px; border: none;
  background: transparent; color: var(--text-light); font-size: 0.8rem;
  font-weight: 600; transition: background 1.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 1.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lang-btn:hover { background: var(--shadow); }
.lang-btn.lang-active { background: var(--text-light); color: var(--primary); }

/* Mobile & Desktop Navigation Toggle */
.nav-wrapper { max-width: 80rem; margin: 0 auto; padding: 0.75rem 1rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
#desktop-nav { display: none; align-items: center; gap: 0.75rem; }
.nav-controls { display: flex; align-items: center; gap: 0.5rem; }
#nav-toggle { display: block; color: var(--text-light); margin-left: 0.5rem; font-size: 1.5rem; background: none; border: none; cursor: pointer; }

#mobile-menu { /* Mobile Menu / Hamburger Menu */
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease-out, padding-top 0.4s ease-out, padding-bottom 0.4s ease-out;
  background: var(--primary-07);
  padding: 0 1rem;
}

#mobile-menu.open { max-height: 500px; transition: max-height 0.6s ease-out; padding-right: 1rem; padding-left: 1rem;}
#mobile-menu .nav-link { display: block; padding: 0.5rem; margin-bottom: 0.3rem; }

/* Responsivity for nav bar */
@media (max-width: 460px) {.nav-logo { font-size: 0; }}
@media (max-width: 480px) {
  .lang-toggle { padding: 1px; gap: 1px; }
  .lang-btn { padding: 0.2rem 0.5rem; font-size: 0.65rem; }
}
@media (min-width: 800px) {
  #desktop-nav { display: flex; }
  #nav-toggle { display: none; }
  #mobile-menu { max-height: 0; overflow: hidden; }
} 

/* Transition styling for tranlatable elements with data-i18n */
[data-i18n] { opacity: 1; transition: opacity 0.4s ease-in-out; }
[data-i18n].translating { opacity: 0; }

/* Primary button */
.btn-primary {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border-radius: 25px;
  background: var(--primary-05) !important;
  color: var(--text-light);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--primary) !important;
}

/* Map section */
#map-section { 
  background: var(--white);
  position: relative;
  z-index: 3;
}

.map-container iframe {
  border-radius: 12px;
}

/* Footer */
footer {
  background: var(--primary-07);
  color: var(--text-light);
}

@media (max-width: 920px) {
  footer .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (min-width: 921px) {
  footer .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8rem;
  }
}

footer a { color: var(--white); transition: color 0.2s, text-decoration 0.2s; }
footer a:hover {text-decoration: underline; }
footer p { text-align: left; }
footer .nav-logo + p { margin-top: 1rem; }

.social-icon {
  font-size: 1.4rem;
  margin-right: 0.8rem;
  transition: transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon img {
  height: 1.4rem;
  width: 1.4rem;
  object-fit: contain;
  border-radius: 4px;
}

/* INDEX HTML SPECIFIC STYLINGS */

/* Hero Carousel */
#carousel {
  position: relative;
  overflow: hidden;
  width: 100vw;
  height: calc(100dvh);
  background: #1a1a1a;
  margin-left: calc(-50vw + 50%);
}

@media (max-width: 767px) { 
  #carousel { 
    height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  } 
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: flex-end;
}

.slide.active { opacity: 1; z-index: 1; }

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-gradient);
}

.slide-caption {
  position: relative;
  z-index: 2;
  padding: 2rem 3rem;
  margin-bottom: 4rem;
  color: var(--text-light);
}

.slide-caption h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

@media (max-width: 767px) { .slide-caption h2 { font-size: 1.3rem; } }
@media (max-width: 767px) { .slide-caption { padding: 2rem 1rem; margin-bottom: 3rem; } }
@media (max-width: 480px) {
  .slide-caption h2 {
    font-size: 1rem;
  }

  .slide-caption p {
    font-size: 0.8rem;
  }

  .slide-caption {
    padding: 1.5rem 0.75rem;
    margin-bottom: 3rem;
  }

  #carousel .btn-primary {
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
  }
}
.slide-caption p {
  font-size: 1rem;
  margin: 0 0 0.8rem;
  opacity: 0.9;
  text-align: left;
}

#carousel .btn-primary {
  position: absolute;
  bottom: 3.5rem;
  left: 3rem;
  z-index: 15;
}

@media (max-width: 767px) {
  #carousel .btn-primary {
    bottom: 2.5rem;
    left: 1rem;
  }
}

/* Prev / Next arrows on Carousel*/
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--primary-03);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-arrow:hover { background: var(--primary); }
#prev-btn { left: 1rem; }
#next-btn { right: 1rem; }

/* Dot indicators for slides on carousel*/
#dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active { background: var(--text-light); }

/* Section headings */
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  display: inline-block;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--primary);
  margin-top: 6px;
  width: 100%;
}

/* Featured cards */
.feat-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.feat-card:hover {
  transform: translateY(-6px);
}

.feat-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}



.feat-card h3, .feat-card h2 {
  color: var(--primary) !important;
  font-weight: 700;
  text-align: left;
}

.feat-card p {
  text-align: left;
}

.feat-card .item-name,
.feat-card .item-price {
  color: var(--primary) !important;
  text-align: left;
}

.feat-card > div > p:has(+ p) {
  color: #666;
}

.feat-card > div > p.font-bold {
  color: var(--primary) !important;
}

/* MENU.HTML SPECIFIC STYLINGS */

/* ── Parallax Wrapper for Content Over Hero ───── */
#parallax-wrapper {
  position: relative;
  z-index: 2;
  background: white;
}

/* ── Menu Category Buttons Container ───────────── */
#parallax-wrapper > div[class*="py-4"][class*="px-4"] {
  background: var(--white);
}

/* ── Menu Category Buttons ───────────────────── */
.menu-category-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-07);
  background: transparent;
  border: 2px solid var(--primary-03);
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-category-btn:hover {
  background-color: var(--primary-01);
  border-color: var(--primary-05);
  color: var(--primary-07);
}

.menu-category-btn.active {
  background-color: var(--primary-07);
  color: var(--text-light);
  border-color: var(--primary-07);
}

@media (max-width: 768px) {
  .menu-category-btn {
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .menu-category-btn {
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
  }
}

/* Hide all menu sections by default */
main > section.menu-section {
  display: none;
  margin-top: 0;
}

/* Show only active menu section */
main > section.menu-section.active {
  display: block;
  margin-top: 0;
  animation: fadeInMenu 0.4s ease-in-out;
}

.menu-section > .grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .menu-section > .grid {
    grid-template-columns: 1fr !important;
  }
}

@keyframes fadeInMenu {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Menu item card */
.menu-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.menu-card:hover {
  transform: translateY(-5px);
}

.menu-card .item-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: var(--primary-01);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--primary-05);
  overflow: hidden;
}

.menu-card .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.menu-card .item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-card .item-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.menu-card .item-desc {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.3rem;
  flex: 1;
}

.menu-card .item-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.7rem;
}

@media (max-width: 480px) {
  .menu-card {
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .menu-card .item-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    font-size: 1.5rem;
  }

  .menu-card .item-name {
    font-size: 0.85rem;
  }

  .menu-card .item-desc {
    font-size: 0.7rem;
    margin-top: 0.2rem;
  }

  .menu-card .item-price {
    font-size: 0.8rem;
    margin-top: 0.4rem;
  }
}

/* ── Hero banners ──────────────────────────────── */
.menu-hero, .about-hero {
  background-image: var(--overlay-gradient), url('cover.avif');
  background-size: cover;
  background-position: center;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) { 
  .menu-hero, .about-hero { 
    min-height: 100dvh;
  } 
} 
/* Make minimum height of hero be 520 px */
.menu-hero h1, .about-hero h1 {
  text-shadow: 0 2px 4px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.5);
}

.menu-hero p, .about-hero p {
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 3px 10px rgba(0,0,0,0.75);
}

/* ── Info cards (about_us.html) ────────────────── */
.info-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.info-card:hover {
  transform: translateY(-5px);
}

/* ── Value pills (about_us.html) ───────────────── */
.value-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.4rem;
  border-radius: 25px;
  background: var(--primary-05) !important;
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.value-pill:hover {
  background: var(--primary) !important;
}

@media (max-width: 767px) {
  .section-title {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 480px) {
  .value-pill {
    padding: 0.45rem 1.1rem;
    font-size: 0.75rem;
    gap: 0.4rem;
  }

  .about-section {
    padding: 1.25rem !important;
  }

  #parallax-wrapper main {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  #parallax-wrapper > div[class*="py-4"] {
    padding: 1rem 0.5rem 0.1rem 0.5rem !important;
  }

  #parallax-wrapper > div[class*="py-4"] .flex {
    gap: 0.5rem !important;
  }

  .menu-section > div[class*="py-12"] {
    padding: 0.25rem 0.5rem !important;
  }

  .menu-section > .grid {
    gap: 0.25rem !important;
  }

  .menu-card {
    gap: 0.25rem !important;
  }

  .menu-section {
    margin-top: 0.1rem !important;
  }

  #map-section {
    margin-top: 0 !important;
  }

  #intro,
  .feat-card {
    background: #fff;
  }

  #intro {
    padding: 0.75rem 1rem !important;
  }

  #intro p {
    font-size: 0.95rem !important;
  }

  section[style*="py-16"] {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .feat-card img {
    height: 120px;
  }

  .feat-card h3 {
    font-size: 0.95rem !important;
  }

  .feat-card p {
    font-size: 0.7rem !important;
  }

  .feat-card > div {
    padding: 0.75rem !important;
  }

  .about-hero h1,
  .menu-hero h1 {
    font-size: 1.875rem !important;
  }

  .section-title {
    font-size: 1.25rem !important;
    text-align: center;
  }

  p {
    text-align: left !important;
  }

  .carousel-arrow {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
  }
}

/* ── Team photo placeholder (about_us.html) ───── */
.photo-placeholder {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  object-fit: cover;
  transition: transform 0.4s;
}

/* ── 404 content (404_not_found.html) ──────────── */
.error-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
}

@media (max-width: 767px) { .error-code { font-size: 5rem; } }

.error-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: wobble 2s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(-5deg); }
  50%       { transform: rotate(5deg); }
}

/* ── About Us Section Styling ─────────────────────────────── */
.about-section {
  background: var(--primary-01);
  border-radius: 20px;
  padding: 2rem;
}

