/* ===================== FONTS & VARIABLES ===================== */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #ff8a3d;
  --primary-color-dark: #e06f22;
  --secondary-color: #1f2933;
  --text-dark: #111827;
  --text-light: #6b7280;
  --extra-light: #e5e7eb;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Noto Serif", serif;

  /* Modern Depth & Animation Variables */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

/* ===================== RESET & BASE ===================== */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  transition: var(--transition);
}

a {
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ===================== REUSABLE COMPONENTS ===================== */
.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 6rem 1rem; /* Consistent high-end spacing */
}

.section__header {
  font-size: clamp(2rem, 5vw, 3rem); /* Fluid font size */
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.btn {
  padding: 0.9rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.02em;
}

.btn:hover {
  background-color: var(--primary-color-dark);
  border-color: var(--primary-color-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 138, 61, 0.3);
}

/* ===================== HEADER & NAV ===================== */
header {
  position: relative;
  min-height: 100vh;
  background-image: url("./images/1compressed.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.2)
  );
  z-index: 0;
}

header > * {
  position: relative;
  z-index: 1;
}

/* ===================== FIXED NAVIGATION ===================== */
/* ===================== FIXED NAVIGATION ===================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  padding: 1rem 0;
  background-color: rgba(31, 41, 51, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);

  /* THE CORE FIX: Pulls Logo and Links onto one line */
  display: flex;
  align-items: center;
}

.nav__header {
  /* Adjusted to work with the sibling nav__links */
  max-width: var(--max-width);
  margin-left: auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--header-font);
  font-weight: 800;
  color: var(--white);
}

.logo__secondary {
  color: var(--secondary-color);
  background-color: var(--white);
  padding: 0.1rem 0.6rem;
  border-radius: 8px;
}

.nav__menu__btn {
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
  display: none; /* Hidden on desktop */
}

.nav__links {
  margin-right: auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  position: relative;
  font-weight: 500;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

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

/* Animated Underline Fix */
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav__links a:hover::after {
  width: 100%;
}

/* ===================== HERO CONTENT ===================== */
header {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.section__container.header__container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px; /* Prevents text from being hidden under fixed nav */
}

.header__container h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  font-family: var(--header-font);
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.header__container p {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  opacity: 0.95;
}

.header__btns {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__btns .btn:nth-child(2) {
  border-color: var(--white);
  background-color: transparent;
}

.header__btns .btn:nth-child(2):hover {
  background-color: var(--white);
  color: var(--text-dark);
}

/* ===================== LOGO SYSTEM ===================== */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--header-font);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.logo__primary {
  font-size: 1.8rem;
}

.logo__secondary {
  font-size: 1.6rem;
  color: var(--secondary-color);
  background-color: var(--white);
  padding: 0.1rem 0.6rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.logo__by {
  font-size: 0.75rem;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  opacity: 0.8;
  margin-left: 0.25rem;
}

/* ===================== MENU SECTION ===================== */
.menu {
  position: relative;
  isolation: isolate;
  background-color: #fdfdfd;
}

.menu::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: calc(50% - 300px);
  background-color: #2e2828; /* Deep warm brown */
  z-index: -1;
  opacity: 0.03; /* Subtle texture background */
}

.menu__container .section__header {
  margin-bottom: 0.5rem;
  text-align: left;
}

.menu__container a.menu__link {
  display: inline-block;
  margin-bottom: 4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  border-bottom: 2px solid transparent;
}

.menu__container a.menu__link:hover {
  color: var(--primary-color-dark);
  border-bottom-color: var(--primary-color-dark);
}

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

.menu__card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.menu__card:hover {
  transform: translateY(-1rem);
  box-shadow: var(--shadow-lg);
}

.menu__card img {
  height: 240px;
  object-fit: cover;
}

.menu__card__content {
  padding: 2rem;
}

.menu__card__content h4 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.menu__card__content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* ===================== BOOKING SECTION ===================== */
.book {
  padding: 8rem 0;
  margin-block: 2rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("./images/1compressed.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax Effect */
}

.book__container form {
  max-width: 700px;
  margin: auto;
  padding: 4rem;
  background: var(--glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  display: grid;
  gap: 2rem;
  /* Reduced the aggressive translateY for better layout stability */
  transform: translateY(5rem);
}

.book__container h4 {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  font-family: var(--header-font);
  color: var(--white);
}

.book__container .input__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.book__container .input__group {
  display: grid;
  gap: 8px;
}

.book__container label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

.book__container input {
  padding: 1rem;
  font-size: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  outline: none;
  transition: var(--transition);
}

.book__container input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

.book__container input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.book__container .btn {
  margin-top: 1rem;
  width: 100%;
}

/* ===================== ABOUT SECTION ===================== */
.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image img {
  max-width: 500px;
  margin-inline: auto;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.about__content .section__header {
  margin-bottom: 2rem;
}

.about__content > div {
  padding-left: 2rem;
  border-left: 4px solid var(--primary-color);
}

.about__content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ===================== FOOTER ===================== */
footer {
  background-color: var(--secondary-color);
  padding-top: 5rem;
  color: var(--white);
}

.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer__logo img {
  max-width: 150px;
  margin-bottom: 1.5rem;
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  font-weight: 400;
  color: var(--extra-light);
  opacity: 0.8;
}

.footer__links a:hover {
  color: var(--primary-color);
  opacity: 1;
  padding-left: 8px;
}

.footer__bar {
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ===================== RESPONSIVE / MEDIA QUERIES ===================== */

/* --- Tablet & Small Desktop (Up to 1024px) --- */
@media (max-width: 1024px) {
  .section__container {
    padding: 5rem 2rem;
  }

  .menu__grid {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* 2 columns for better tablet spacing */
    gap: 2rem;
  }

  .about__container {
    gap: 3rem;
  }

  .footer__container {
    grid-template-columns: 1.5fr 1fr 1fr; /* Merge small columns */
    gap: 2rem;
  }
}

/* --- Mobile Landscape & Large Phones (Up to 768px) --- */
@media (max-width: 768px) {
  /* Navigation Fixes */
  nav {
    padding: 0;
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
  }

  .nav__header {
    padding: 1rem 1.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--secondary-color);
    z-index: 2005;
  }

  .nav__menu__btn {
    display: block;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    padding: 8rem 2rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    background-color: var(--secondary-color);
    transform: translateY(-100%); /* Slide from top */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2004;
    overflow-y: auto;
  }

  .nav__links.open {
    transform: translateY(0);
  }

  .nav__links a {
    font-size: 1.6rem;
    font-weight: 600;
  }

  /* Hero / Header Fixes */
  .section__container.header__container {
    padding: 8rem 1.5rem 4rem;
    min-height: auto;
  }

  .header__container h1 {
    font-size: 3.2rem;
    line-height: 1.2;
  }

  .header__container p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .header__btns {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    gap: 1rem;
  }

  .header__btns .btn {
    width: 100%;
    padding: 1rem;
  }

  /* Menu Section Fixes */
  .menu__grid {
    grid-template-columns: 1fr; /* Single column for readability */
    max-width: 450px;
    margin: 0 auto;
  }

  .menu__card img {
    height: 200px;
  }

  /* Booking Form Fix (The Overlap Problem) */
  .book {
    padding: 4rem 0 2rem;
  }

  .book__container form {
    transform: translateY(0); /* Remove aggressive overlap on mobile */
    padding: 2.5rem 1.5rem;
    width: 90%;
    margin: 0 auto;
    border-radius: 20px;
    gap: 1.2rem;
  }

  .book__container h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .book__container .input__row {
    grid-template-columns: 1fr; /* Stack inputs */
    gap: 1rem;
  }

  /* About Section Fixes */
  .about {
    padding-top: 4rem; /* Buffer for the booking form above */
  }

  .about__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .about__image img {
    max-width: 100%;
    margin: 0 auto;
  }

  .about__content > div {
    padding-left: 0;
    border-left: none;
    border-top: 4px solid var(--primary-color);
    padding-top: 2rem;
    margin-top: 1rem;
  }

  /* Footer Fixes */
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__logo img {
    margin: 0 auto 1.5rem;
  }
}

/* --- Small Phones (Up to 480px) --- */
@media (max-width: 480px) {
  .section__header {
    font-size: 2.2rem;
  }

  .header__container h1 {
    font-size: 2.5rem;
  }

  .book__container form {
    padding: 2rem 1rem;
    width: 95%;
  }

  .footer__bar {
    font-size: 0.8rem;
    padding: 1.5rem 1rem;
  }
}

/* ================= SAMPLE INFO ================= */
.sample-info {
  background: #f3f4f6;
  padding: 50px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  border-radius: 12px;
  max-width: 700px;
  margin: 50px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sample-info h2 {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 15px;
}

.sample-info p {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 30px;
}

.sample-info .cta-button {
  display: inline-block;
  background: #3b82f6;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.sample-info .cta-button {
  background: var(--primary-color);
}

.sample-info .cta-button:hover {
  background: var(--primary-color-dark);
}

.sample-badge {
  position: fixed;
  top: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fe724c;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 10000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  max-width: 90%;
  white-space: nowrap;
}

.sample-badge button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

@media (max-width: 480px) {
  .sample-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }
}

/* ===================== ORDER NOW SECTION ===================== */
.order {
  background-color: #fffaf5; /* Creamy warm background */
  padding: 6rem 0;
}

.order__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.order__content .section__header {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.order__features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.feature i {
  font-size: 1.5rem;
  color: var(--primary-color);
  background: var(--white);
  padding: 0.8rem;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

/* Order Form Styling */
.order__form form {
  background: var(--white);
  padding: 3.5rem;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1.5rem;
  border: 1px solid var(--extra-light);
}

.order__form .input__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
}

.order__form .input__group {
  display: grid;
  gap: 8px;
}

.order__form label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.order__form input,
.order__form select,
.order__form textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.order__form input:focus,
.order__form select:focus,
.order__form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.1);
}

.order__form .btn {
  margin-top: 1rem;
  width: 100%;
}

/* ===================== RESPONSIVE ORDER SECTION ===================== */

/* Tablet & Small Desktop */
@media (max-width: 1024px) {
  .order__container {
    gap: 2rem;
    grid-template-columns: 1fr 1fr; /* Equal columns for tablet */
  }

  .order__form form {
    padding: 2.5rem; /* Slightly less padding */
  }
}

/* Mobile Core (Phones & Small Tablets) */
@media (max-width: 768px) {
  .order {
    padding: 4rem 0;
  }

  .order__container {
    grid-template-columns: 1fr; /* Stack content on top of form */
    gap: 3rem;
    text-align: center;
  }

  .order__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .order__features {
    margin-top: 1.5rem;
    align-items: flex-start; /* Keep icons aligned left even if text is centered */
    display: inline-flex;
  }

  .order__form form {
    padding: 2rem 1.5rem;
    border-radius: 20px;
    width: 100%;
  }

  /* Make the inputs stack vertically instead of side-by-side */
  .order__form .input__row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .order__form .btn {
    padding: 1rem;
    font-size: 1.1rem;
  }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
  .order__content .section__header {
    font-size: 2rem;
  }

  .order__form form {
    padding: 1.5rem 1rem;
  }

  .feature i {
    font-size: 1.2rem;
    padding: 0.6rem;
  }
}
