@import url("https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Marathi&family=Poppins:wght@300;400;600;700&display=swap");

:root {
  --primary-color: #a0522d; /* Sienna - A warm, earthy brown */
  --secondary-color: #f4a460; /* Sandy Brown - for accents */
  --background-color: #fff8e1; /* Papaya Whip - a light, warm cream */
  --text-color: #4a4a4a; /* Dark Gray - for readability */
  --white-color: #ffffff;
  --heading-font: "Tiro Devanagari Marathi", serif;
  --body-font: "Poppins", sans-serif;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --radius: 8px;
}

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

body {
  font-family: var(--body-font);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 70px; /* Height of the fixed header */
}

h1,
h2,
h3,
h4 {
  font-family: var(--heading-font);
  color: var(--primary-color);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 2rem;
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
}

p {
  margin-bottom: 1rem;
  font-weight: 300;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 0;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, var(--secondary-color), #ff7f50);
  color: var(--white-color);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  color: var(--white-color);
}

/* --- Header & Navigation --- */
.header {
  background-color: var(--white-color);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  font-family: var(--heading-font);
  font-size: 1.75rem;
  color: var(--primary-color);
  font-weight: 700;
}

.nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../assets/hero-image.jpg") no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white-color);
}

.hero__content {
  max-width: 800px;
}

.hero__content h1 {
  color: var(--white-color);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__content p {
  font-size: 1.2rem;
  margin: 1rem 0 2rem;
  font-weight: 300;
}

main {
  flex-grow: 1;
}

section:nth-of-type(even) {
  background-color: #fff;
}

/* --- About Section --- */
.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__image img {
  box-shadow: var(--shadow);
}

/* --- Menu Section --- */
.menu__tabs {
  text-align: center;
  margin-bottom: 3rem;
}

.menu__tab_button {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu__tab_button.active {
  background-color: var(--primary-color);
  color: var(--white-color);
}

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

.menu__item {
  background-color: var(--white-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.menu__item:hover {
  transform: translateY(-5px);
}

.menu__item_image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.menu__item_content {
  padding: 1.5rem;
}

.menu__item_content h4 {
  margin-bottom: 0.5rem;
}

.menu__item_content .price {
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 1rem;
}

.menu__content {
  display: none;
}

.menu__content.active {
  display: block;
}

/* --- Gallery Section --- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery__item img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* --- Location Section --- */
.location__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.location__map iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --- Contact Section --- */
.contact__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
}

.contact__details-card {
  background-color: var(--white-color);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 500px; /* Limit width for better readability */
  margin: 0 auto; /* Center the card */
}

.contact__details-card h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.contact__details-card p {
  margin-bottom: 1rem;
}

.contact__details-card strong {
  color: var(--primary-color);
}

.contact__details-card a {
  color: var(--secondary-color);
  text-decoration: none;
}

.contact__details-card a:hover {
  color: var(--primary-color);
}

/* --- Footer --- */
.footer {
  background-color: var(--primary-color);
  color: var(--white-color);
  text-align: center;
  padding: 2rem 0;
}

.footer p {
  margin: 0;
}

/* --- Lightbox Styles --- */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: var(--white-color);
  margin-top: 10px;
  font-size: 1.1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--white-color);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1002;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white-color);
  font-size: 3rem;
  cursor: pointer;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  user-select: none;
}

.lightbox-prev {
  left: 15px;
}

.lightbox-next {
  right: 15px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .nav__list {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white-color);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    transition: right 0.4s ease-in-out;
  }

  .nav__list.active {
    right: 0;
  }

  .nav__toggle {
    display: block;
  }

  .about__container,
  .contact__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__image {
    order: -1;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
    padding: 5px;
  }
}
