@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');
}

: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);
}

*, *::before, *::after {
  box-sizing: border-box;
}
.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); }
}
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;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 12%;
  height: 100vh;
  background: var(--white);
  background: #f6f6f4;
  padding: 30px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 2px 0 20px rgba(0,0,0,0.05);
  z-index: 1000;
  font-weight: bold;
}

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;
  display: inline-block;
}

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 {
  opacity: 1;
  align-self: center;
}

nav a.active::after {
  width: 100%;
  background: var(--accent-gold);
}

@media (max-width: 768px) {
  nav {padding: 10px 5px;}
  nav ul {
    flex-wrap: wrap;
    gap: 15px; 
    justify-content: center;
    text-align: center;
  }
  nav ul li {white-space: nowrap;}
  nav a {font-size: 15px}
}


.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

.logo-container a {
  opacity: 1;
}

.logo-container a:hover {
  opacity: 1;
}

.logo-container a::after {
  display: none !important;
}

.logo-container img {
  width: 100%;
  max-width: 90px;
  height: auto;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container img:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100vh - 180px);
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Home Page link specifically styled larger */
nav ul li.home-link-item a {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 15px;
}

nav ul li.home-link-item a::after {
  background: var(--accent-gold);
}

/* MOBILE FIX — Horizontal navbar at the top + prevent overflow */
@media (max-width: 991px) {
  nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }
  
  .logo-container {
    width: auto;
    margin-bottom: 0;
  }
  
  .logo-container img {
    max-width: 60px;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    height: auto;
    width: auto;
    margin: 0;
  }
  
  nav a {
    font-size: 15px;
    padding: 5px 0;
  }
  
  nav ul li.home-link-item a {
    font-size: 17px;
    margin-bottom: 0;
  }
}

/* sections alignment with the side navbar */
section {
  background: var(--white);
  padding: 60px 5%;
  margin: 40px 40px 40px 15%;
  max-width: 82%;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

@media (max-width: 991px) {
  section {
    margin: 20px 15px;
    max-width: 100%;
    padding: 40px 20px;
    scroll-margin-top: 110px;
  }
}

/* dishes */

.dish-div {
display: flex;
/* grid-template-columns: min-content; */
align-items: center;
justify-content: center;
gap: 10px;
padding: 20px;
margin: 20px 0;
}
.dish-div img {
    width: 350px;
    height: 350px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    object-fit: contain;
    object-position: center;
}
.dish-div p {
font-size: 18px;
line-height: 1.6;
max-width: 450px;
color: #333;
}
.reverse {
flex-direction: row-reverse;
}
.dish-img-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: none;
}

/* Disclaimer text styling */
.img-disclaimer {
  font-size: 12px;
  color: #555;
  margin-top: 6px;
  opacity: 0.8;
  font-style: italic;
}

/* Ensure image stays same size */
.dish-img-wrapper img {
    width: 350px;
    height: 350px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    object-fit: contain;
    object-position: center;
    background: transparent;
}

/* Ensure the wrapper has no background (remove white box) */
.dish-img-wrapper {
    background: transparent;
}
/* MOBILE */
@media (max-width: 768px) {
  .menu-grid-order {gap: 20px;}
  .menu-item-order {width: 180px; height: 150px; }
  
  /* Responsive dishes layout */
  .dish-div {
    flex-direction: column-reverse !important;
    text-align: center;
    gap: 15px;
    padding: 10px 0;
  }
  .dish-div img, .dish-img-wrapper img {
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
  .dish-div p {
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    margin-top: 5px;
  }
  section h1 {
    font-size: 30px !important;
  }
}

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(--white);
  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;}
}
/* Veg / Non-Veg Category Subheadings */
.menu-type-title {
  font-family: 'Maharlika', serif;
  font-size: 26px;
  text-align: left;
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(75, 119, 64, 0.1);
  width: 100%;
  display: flex;
  align-items: center;
}

.menu-type-title::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 12px;
}

.veg-title {
  color: #4CAF50;
}

.veg-title::before {
  background-color: #4CAF50;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
}

.nonveg-title {
  color: #F44336;
}

.nonveg-title::before {
  background-color: #F44336;
  box-shadow: 0 0 8px rgba(244, 67, 54, 0.6);
}

.coming-soon-item {
  padding: 25px;
  background: var(--bg-light);
  border-radius: 16px;
  margin: 20px auto;
  max-width: 500px;
  font-style: italic;
  color: var(--text-dark);
  opacity: 0.8;
  border: 1px dashed rgba(75, 119, 64, 0.2);
  text-align: center;
}