@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

@font-face {
  font-family: 'Maharlika';
  src: url('Assets/Maharlika-Regular.ttf') format('truetype');
}

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --primary-green: #1F3D14;
  --accent-green: #4B7740;
  --accent-gold: #EFA31D;
  --bg-light: #F4F7F2;
  --text-dark: #2D372C;
  --white: #FFFFFF;
  --shadow-soft: 0 10px 30px rgba(31, 61, 20, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  margin: 0;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', sans-serif;
  scroll-behavior: smooth;
  background: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
  overflow-x: hidden;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #f6f6f4;
  backdrop-filter: blur(10px);
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container a {
  opacity: 1;
}

.logo-container a:hover {
  opacity: 1;
}

.logo-container a::after {
  display: none !important;
}

.logo-container img {
  height: 80px;
  width: auto;
  transition: var(--transition);
}

.logo-container img:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
  opacity: 0.8;
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-green);
  border-radius: 2px;
  transition: var(--transition);
  transform: translateX(-50%);
}

nav a:hover {
  opacity: 1;
  color: var(--primary-green);
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--primary-green);
  opacity: 1;
}

nav a.active::after {
  width: 100%;
  background: var(--accent-gold);
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
  .logo-container img {
    height: 50px;
  }
  nav ul {
    flex-wrap: wrap;
    gap: 10px 15px;
    justify-content: center;
    text-align: center;
  }
  nav ul li {white-space: nowrap;}
  nav a {font-size: 14px}

  /* Section mobile adjustments */
  section {
    padding: 40px 15px;
    margin: 20px 10px;
    border-radius: 16px;
    scroll-margin-top: 130px;
  }
  section h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  /* Title / Hero section mobile adjustments */
  .title-section h1 {
    font-size: 42px;
  }
  .title-section p {
    font-size: 20px;
  }
  .title-card {
    padding: 20px;
    width: 95%;
  }
}

/* sections */

section {
  background: var(--white);
  padding: 80px 10%;
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 110px;
}

section h2 {
  font-family: 'Maharlika', serif;
  font-size: 42px;
  color: var(--primary-green);
  margin-bottom: 25px;
}

#about {
  text-align: left;
}

#about h2 {
  text-align: center;
}

.title-section {
  height: 100vh;
  margin-top: 0;
  max-width: 100%;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url(Assets/cover\ img.jpeg) center/cover;
  color: var(--white);
}

.title-card {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border: none;
  box-shadow: none;
  max-width: 90%;
  width: 580px;
  text-align: center;
  animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.title-section h1 {
  font-family: 'Maharlika', serif;
  font-size: 72px;
  margin: 0;
  letter-spacing: 2px;
  color: var(--white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.title-section p {
  font-size: 32px;
  font-family: 'Caveat', cursive;
  margin-top: 15px;
  margin-bottom: 0;
  background: #6cbb57;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: bold;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
  .title-card {
    padding: 25px 30px;
    width: 90%;
  }
  .title-section h1 {
    font-size: 48px;
  }
  .title-section p {
    font-size: 22px;
  }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 0;
  width: 100%;
}

.menu-grid a {
  text-decoration: none;
  flex: 1 1 280px;
  max-width: 320px;
}

.menu-item {
  position: relative;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: var(--transition);
  cursor: pointer;
}

.menu-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
  z-index: 1;
  transition: var(--transition);
}

.menu-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 0;
}

.menu-item .title {
  position: relative;
  z-index: 2;
  font-family: 'Maharlika', serif;
  font-size: 28px;
  font-weight: normal;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.menu-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(31, 61, 20, 0.2);
}

.menu-item:hover img {
  transform: scale(1.1);
}

.menu-item:hover::before {
  background: linear-gradient(to bottom, rgba(31, 61, 20, 0.4), rgba(15, 30, 14, 0.8));
}

/* Features Grid */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  flex: 1 1 220px;
  max-width: 280px;
  background: var(--bg-light);
  padding: 30px 20px;
  border-radius: 20px;
  transition: var(--transition);
  border: 1px solid rgba(75, 119, 64, 0.1);
}

.feature-card:hover {
  background: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: var(--accent-green);
}

.feature-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-family: 'Maharlika', serif;
  font-size: 22px;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

footer {
  width: 100%;
  background: var(--primary-green);
  color: var(--white);
  padding: 60px 0 30px;
  position: relative;
  margin-top: 60px;
}

footer h2 {
  color: var(--accent-gold);
  font-family: 'Maharlika', serif;
  font-size: 36px;
  margin-bottom: 20px;
}

footer p {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.8;
}

footer a, footer a:link, footer a:visited {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover, footer a:active {
  color: var(--accent-gold);
  text-decoration: underline;
}

.footer-contact-info {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 600px;
  margin: 30px auto;
}

.footer-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.left-column {
  text-align: right;
}

.right-column {
  text-align: left;
}

.footer-column p {
  margin: 0;
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.6;
}

.footer-divider {
  width: 1.5px;
  background-color: rgba(255, 255, 255, 0.25);
  align-self: stretch;
}

@media (max-width: 768px) {
  .footer-contact-info {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .left-column, .right-column {
    text-align: center;
  }
  .footer-divider {
    display: none;
  }
}





footer .footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: 'Caveat', cursive;
  font-size: 24px;
  color: var(--accent-gold);
}
.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: rgb(24, 44, 17);
  color: var(--accent-gold);
  text-align: center;
  border-radius: 4px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 18px;
  font-family: serif;
}


.toast.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2s;
}


@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}
@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

.order-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.order-row-top {
  display: flex;
  justify-content: center;
  width: 100%;
}

.order-row-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
}

.menu-item-order {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 180px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(75, 119, 64, 0.1);
  transition: var(--transition);
  padding: 25px;
}

.menu-item-order:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(31, 61, 20, 0.15);
  border-color: var(--accent-green);
}

.menu-item-order img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .order-container {
    gap: 20px;
  }
  .order-row-bottom {
    gap: 20px;
  }
  .menu-item-order {
    width: 180px;
    height: 140px;
    padding: 15px;
  }
}