@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;700&display=swap");

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Noto Serif", serif;
  width: 100vw;
  max-width: 100vw;
}
body {
  width: 100%;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden !important;
}

header,
footer {
  background: #35424a;
  color: #e0e0e0;
  text-align: center;
  padding: 20px 0;
  position: relative;
  width: 100%;
}

h1,
main,
.center-title {
  margin: 0;
}
main {
  padding: 20px;
}

/* Slider Styles */
.slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}
.slide {
  position: absolute;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  transition: opacity 1s;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}

.center-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #e0e0e0;
  font-size: 3rem;
  font-family: "Noto Serif", serif;
  text-align: center;
  z-index: 2;
  text-shadow: 0 2px 16px #000a;
  letter-spacing: 2px;
  font-weight: bold;
}

/* Hamburger Styles */
.hamburger {
  position: fixed;
  top: 42px;
  right: 42px;
  width: 50px;
  height: 50px;
  z-index: 20;
  background: none;
  border: none;
  cursor: pointer;
  display: none !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  background: #39ff14;
  border-radius: 2px;
  transition: 0.3s;
  position: relative;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
@media (max-width: 900px) {
  .hamburger {
    display: flex !important;
    z-index: 99999 !important;
  }
}

/* Side Menu Styles */
.side-menu {
  position: fixed;
  inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.3s;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  overflow: hidden; /* Prevent scrollbars inside the menu */
}
.side-menu.open {
  transform: translateX(0);
}
.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.side-menu li {
  text-align: center;
}
.side-menu a {
  font-family: "Noto Serif", serif;
  font-size: 1.6rem;
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 1px;
  transition: color 0.2s, border-bottom 0.2s, filter 0.2s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  display: inline-block;
}
.side-menu a:hover,
.side-menu a:focus {
  border-bottom: 2px solid rgba(255, 0, 0, 0.7);
  color: #e0e0e0;
}
.side-menu-logo {
  position: absolute;
  left: 50%;
  bottom: 6rem;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: auto;
  opacity: 0.85;
  z-index: 3;
}
.side-menu-logo img {
  width: 100%;
  height: auto;
  display: block;
}

body.menu-open {
  overflow: hidden;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0d0d0d;
  z-index: 0;
  pointer-events: none;
}

/* Main Nav */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 11;
  background: #1a1a1a;
  box-shadow: 0 2px 8px #0003, 0 8px 40px 8px rgba(255, 0, 0, 0.7),
    0 0 32px 8px rgba(255, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 1rem;
  box-sizing: border-box;
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}
.logo img {
  height: 4rem;
  width: auto;
  display: block;
  padding: 1rem;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav li {
  white-space: nowrap;
}
.main-nav a {
  font-family: "Noto Serif", serif;
  font-size: 1.6rem;
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 1px;
  transition: color 0.2s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a:focus {
  border-bottom: 2px solid rgba(255, 0, 0, 0.7);
}

/* Hide side menu on desktop, show only on mobile */
.hamburger {
  display: none !important;
}
.side-menu {
  display: none;
}
@media (max-width: 900px) {
  .main-nav {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
    position: fixed !important;
    z-index: 999999 !important;
    top: 32px;
    right: 32px;
  }
  .side-menu {
    display: flex !important;
  }
}
@media (max-width: 600px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
}

/* Section Layouts */
.menu-section,
.about-section,
.hero {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.site-footer {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #0d0d0d;
  color: #e0e0e0;
  padding: 3rem 0rem 2rem 0rem;
  margin-top: 0;
  text-align: center;
}

/* About Section */
.about-section {
  width: 100%;
  background: #1a1a1a;
  padding: 48px 0;
  display: flex;
  justify-content: center;
}
.about-content {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 60px;
}
.about-content h2 {
  font-family: "Noto Serif", serif;
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: #e0e0e0;
  letter-spacing: 1px;
}
.about-content p {
  font-size: 1.15rem;
  font-weight: 300;
  color: #e0e0e0;
  margin-bottom: 0;
  line-height: 1.6;
}
.about-text {
  flex: 1 1 0;
  min-width: 220px;
}
.about-gallery {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  min-width: 220px;
  height: 400px;
}
.about-gallery img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 16px #0002;
  background: #eee;
  position: absolute;
  transition: transform 0.3s;
  cursor: pointer;
}
.about-gallery img:first-child {
  top: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-8deg) translate(-20px, 0);
}
.about-gallery img:last-child {
  bottom: 0;
  right: 0;
  z-index: 1;
  transform: rotate(10deg) translate(20px, 0);
}
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .about-gallery {
    position: static;
    height: auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }
  .about-gallery img {
    position: static;
    transform: none;
  }
}

/* Menu Section */
.menu-section {
  width: 100vw;
  min-height: 100vh;
  background: url("../img/menu-bg.jpg") center center no-repeat;
  background-size: cover;
  /* background-attachment: fixed; */
  /* Optional: lock aspect ratio for more control */
  padding: 48px 0;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.menu-content {
  max-width: 100%;
  width: 90%;
  margin: 0 auto;
  text-align: center;
}
.menu-content-title {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.menu-title-svg {
  height: 10rem;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 16px rgba(0, 0, 0, 0.5));
}
.menu-content-title h2 {
  font-size: 11rem;
  line-height: 1;
  margin: 0;
  font-weight: 300;
  color: #e0e0e0;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 16px rgba(0, 0, 0, 0.5));
}
.menu-content h2 {
  margin-bottom: 0;
}

.hero-svg-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.hero-svg-stack img {
  max-width: 420px;
  width: 100%;
  height: auto;
}

/* Page content container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 1rem;
}

.menu-images {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.menu-images img {
  width: 100%;
  max-width: 1280px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 2px 16px #0001;
  align-self: center;
  cursor: pointer;
}

.fullscreen-image-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fullscreen-image-content {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panzoom-container {
  position: relative;
  display: inline-block;
  overflow: visible;
  touch-action: none;
}

.panzoom-container img {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  cursor: grab;
  user-select: none;
  pointer-events: all;
  transition: transform 0.3s;
  box-sizing: border-box;
}

.fullscreen-image-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  z-index: 2;
  cursor: pointer;
  padding: 0 0.7rem;
  line-height: 1;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-logo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  margin: 0;
  z-index: 2;
}
.hero-logo-center img {
  max-width: 38.75rem; /* 620px */
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 0.3rem rgba(255, 0, 0, 0.9)) /* 5px */
    drop-shadow(0 0 0.5rem rgba(255, 0, 0, 0.9)); /* 9px */
}

#lottie-animation {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12.5rem; /* 200px */
  height: 12.5rem; /* 200px */
}

/* --- Footer Layout --- */
.footer-columns {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8.5rem; /* 136px */
  max-width: 80rem; /* 1280px */
  margin: 0 auto;
}
.footer-col {
  flex: 1 1 0;
  min-width: 11.25rem; /* 180px */
}
.footer-col:first-child {
  text-align: center;
  align-items: flex-start;
}
.footer-col:nth-child(2) {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.footer-col:last-child {
  text-align: center;
  align-items: flex-end;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  color: #e0e0e0;
  font-size: 1rem;
  font-weight: 300;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
}
.footer-col h3 {
  font-size: 1.6rem;
  font-weight: 300;
  color: #cd1b21;
}
.footer-social {
  gap: 1.2rem; /* 19.2px */
  align-items: center;
  display: flex;
  justify-content: center;
}
.footer-icon {
  width: 3rem; /* 48px */
  height: 3rem; /* 48px */
  padding: 0 0.5rem; /* 8px */
  filter: brightness(0) invert(1);
  transition: filter 0.2s;
}
.footer-icon:hover {
  filter: brightness(0.7) invert(0.7) sepia(1) hue-rotate(180deg);
}
.footer-copyright {
  width: 100%;
  text-align: center;
  margin-top: 2rem; /* 32px */
  font-size: 1rem;
  font-weight: 300;
  color: #e0e0e0;
  opacity: 0.7;
  padding-top: 1.2rem; /* 19.2px */
  border-top: 1px solid #333;
  background: transparent;
  align-self: flex-end;
  position: relative;
  left: 0;
  right: 0;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem; /* 32px */
}
.footer-logo img {
  height: 4rem; /* 64px */
  width: auto;
  display: block;
}
.footer-divider {
  width: 100%;
  height: 0.0625rem; /* 1px */
  background: #e0e0e0;
  opacity: 0.7;
  margin: 1.2rem 0 0.5rem 0; /* 19.2px 0 8px 0 */
  border-radius: 0.0625rem; /* 1px */
}
@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem;
    width: 100%;
  }
  .footer-col,
  .footer-col:first-child,
  .footer-col:nth-child(2),
  .footer-col:last-child {
    text-align: center;
    align-items: center;
    display: block;
    width: 100%;
  }
  .footer-col li {
    text-align: center;
  }
  .footer-col:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1 1 auto;
  }
  .footer-social {
    margin-top: auto;
    margin-bottom: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .footer-copyright {
    margin-bottom: 0.5rem;
    padding-top: 1.2rem;
    font-size: 0.95rem;
    border-top: 1px solid #333;
    width: 100%;
    left: 0;
    right: 0;
    position: relative;
  }
}
@media (max-width: 1200px) {
  html {
    font-size: 16px;
  }
  .menu-content-title h2 {
    font-size: 7rem;
  }
  .menu-title-svg {
    height: 7rem;
  }
}
@media (max-width: 900px) {
  html {
    font-size: 15px;
  }
  .about-content {
    gap: 32px;
  }
  .menu-content-title h2 {
    font-size: 4.5rem;
  }
  .menu-title-svg {
    height: 4rem;
  }
  .about-gallery {
    height: 260px;
  }
  .about-gallery img {
    width: 160px;
    height: 100px;
  }
  .footer-logo img {
    height: 2.5rem;
  }
  .footer-icon {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 700px) {
  html {
    font-size: 14px;
  }
  .menu-content-title h2 {
    font-size: 2.5rem;
  }
  .menu-title-svg {
    height: 2rem;
  }
  .about-gallery {
    height: 120px;
  }
  .about-gallery img {
    width: 80px;
    height: 60px;
  }
  .footer-logo img {
    height: 2rem;
  }
  .footer-columns {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  .footer-col h3 {
    font-size: 1.1rem;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 12px;
  }
  .menu-content-title h2 {
    font-size: 5rem;
  }
  .menu-title-svg {
    height: 5.2rem;
  }
  .about-gallery {
    height: 80px;
  }
  .about-gallery img {
    width: 130px;
    height: 120px;
  }
  .footer-logo img {
    height: 5.2rem;
  }
  .footer-col h3 {
    font-size: 1.5rem;
  }
  .footer-icon {
    width: 30px;
    height: 30px;
  }
  .hero-logo-center {
    width: 80%;
  }
  #lottie-animation {
    width: 6rem;
    height: 6rem;
  }
}

/* Link Styles (consolidated) */
.main-nav a,
.main-nav a:visited,
.main-nav a:active,
.side-menu a,
.side-menu a:visited,
.side-menu a:active,
.site-footer a:visited,
.site-footer a:active,
.footer-col a,
.footer-col a:visited,
.footer-col a:active {
  color: #e0e0e0 !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus,
.side-menu a:hover,
.side-menu a:focus,
.footer-col a:hover,
.footer-col a:focus {
  color: #cd1b21 !important;
  text-decoration: underline;
}

.hamburger {
  width: 68px;
  height: 68px;
  cursor: pointer;
  background: none;
  border: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide-in animation */
.slide-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.slide-in.visible {
  opacity: 1;
  transform: translateY(0);
}
