:root {
  /* LIGHT THEME */
  --bg-color: #f5f5f5;
  --text-color: #222;
  --section-border: #dddddd30;
  --footer-bg: linear-gradient(to bottom, #201a18, #0f0b09);
  --footer-text-color: #ffffff;
  --card-bg: #ffffff;
  --accent-color: #37b24d;
  --accent-dark: #2b8a3e;
  --border-card: #e7e1da;
  --special-color: #ffc107;
  --price-color: #045017;

  /* old color: #f7931a */

  /* Container SYSTEM */
  --container-max-width: 1200px;
  --container-padding: 2rem;
}

/* DARK THEME OVERRIDES */
body.dark-mode {
  --bg-color: linear-gradient(to bottom, #201a18, #0f0b09);
  --text-color: #f5f5f5;
  --section-border: #33333330;
  --footer-bg: #f5f5f5;
  --footer-text-color: #222;
  --card-bg: #1f1814;
  --border-card: #4a3b34;
  --price-color: #caffd3;
  /* --text-2nd-color: #b6a896; */
}

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

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

body,
p,
span,
h3 {
  font-family: "Inter", sans-serif;
}

/* Apply background and transition */
body {
  min-height: 100vh;
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.4s ease, color 0.4s ease;
}

/* ===========================
   NAVBAR
   =========================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
  transition: all 0.3s ease;
}

header.navbar-solid {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

body.dark-mode header.navbar-solid {
  background: rgba(26, 19, 16, 0.5); /* Darker background for dark mode */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.logo {
  height: 50px; /* Adjust this value to make it smaller/larger */
  width: auto; /* Maintains aspect ratio */
  z-index: 1001;
}

.nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #fff;
  font-size: 1.3rem;
  transition: color 0.3s ease;
  z-index: 1001;
}

.nav-hamburger.active {
  color: var(--text-color);
}

.navbar-solid .nav-hamburger {
  color: var(--text-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  margin: 0 auto;
  max-width: var(--container-max-width);
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.navbar h2 {
  color: var(--accent-color);
  font-size: 2rem;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.2s ease;
}

header:not(.navbar-solid) .nav-links a {
  color: #fff;
}

header:not(.navbar-solid) .nav-links a:hover {
  color: var(--accent-color);
  text-shadow: 0 2px 4px var(--shadow-hover-color);
}

.mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border: none;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  color: #fff;
}

header.navbar-solid .mode-toggle {
  color: var(--text-color);
}

header.navbar-solid .nav-links a:hover {
  color: var(--accent-color);
  text-shadow: 0 2px 4px var(--shadow-hover-color);
}

header:not(.navbar-solid) .mode-toggle:hover {
  transform: scale(1.2);
}

header.navbar-solid .mode-toggle:hover {
  /* transform: scale(1.2); */
  color: var(--accent-color);
  border: 1px solid var(--border-card);
  background: var(--bg-color);
  border-radius: 10px;
}

/* ===========================
   HERO / MAIN AREA
   =========================== */
main {
  padding: 0;
  margin: 0;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url("/assets/images/heroImg.png") center center / cover no-repeat
    fixed;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 2rem;
  color: #fff;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.9)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  text-align: left;
}

.hero-content h1 {
  font-size: 4rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.highlight {
  color: var(--accent-color);
  font-weight: 700;
  /* font-style: italic; */
}

/* ===========================
   BUTTON STYLES
   =========================== */

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-hero {
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: top;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-hero:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Glass Button */
.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  padding: 12px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  vertical-align: top;
  text-decoration: none;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  color: #222;
}

/* HERO LOCATION */
.location {
  margin-top: 25px;
  font-size: 0.9rem;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===========================
   CARD STYLING
   =========================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 40px auto;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--accent-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--accent-color);
}

/***************************** */
/***      Buffet Section     ***/
/***************************** */

#Buffet {
  margin-top: 50px;
}

.buffet-header {
  text-align: center;
  margin-bottom: 40px;
}

.buffet-header h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.buffet-header p {
  font-size: 1.2rem;
}

.buffet-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 45px;
  flex-wrap: wrap;
}

.buffet-card {
  background: var(--card-bg);
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border-card);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  max-width: 300px;
  height: 350px;
  padding-bottom: 20px;
  overflow: hidden;
}

.tag {
  /* background-color: var(--footer-bg); */
  border: 1px solid var(--border-card);
  border-radius: 25px;
  padding: 0.25em 0.75em;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.tag-special {
  display: inline-flex;
  margin-bottom: 8px;
}

.tag-special i {
  font-weight: 600;
  color: var(--special-color);
  font-size: 0.7rem;
  margin-right: 5px;
  display: flex;
  align-items: center;
}

.tag-spicy {
  border: 1px solid #dc3545;
}

.tag-spicy i {
  display: flex;
  align-items: center;
  font-size: 0.6rem;
  color: #dc3545;
  margin-right: 5px;
}

.tag-vegetarian {
  /* background-color: #198754; */
  color: var(--text-color);
  border: 1px solid var(--accent-color);
}

.tag-vegetarian i {
  display: flex;
  align-items: center;
  font-size: 0.6rem;
  color: var(--accent-color);
  margin-right: 5px;
}

.buffet-card-image {
  margin-bottom: 16px;
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.buffet-card:hover .card-img {
  transform: scale(1.05);
}

/* darken only bottom half the image */
.buffet-card-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.buffet-card:hover .buffet-card-image::after {
  opacity: 1;
}

.special-card {
  border: 1px solid var(--accent-color);
  box-shadow: 0 0 15px rgba(55, 178, 77, 0.6);
}

.buffet-card-title {
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.buffet-card-description {
  font-size: 1rem;
  color: var(--text-color);
  padding: 0 12px;
  margin-top: 12px;
}

.price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
  font-size: 1.2rem;
  background: #37b24d1a;
  padding: 10px 20px;
  border-radius: 8px;
  width: fit-content;
  margin: auto;
  margin-top: 50px;
  border: 1px solid var(--accent-color);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

.price-container p {
  font-size: 0.9rem;
  margin-top: 4px;
  color: var(--price-color);
}

/***************************** */
/***      About Section      ***/
/***************************** */

#about {
  margin-top: 70px;
  border-top: 2px solid var(--section-border);
  margin-bottom: 50px;
}

.about-container {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 1200px;
  padding: 0 20px;
  margin-bottom: 75px;
}

.about-container h2 {
  font-size: 3rem;
}

.about-text {
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 25px;
}

.about-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  font-weight: normal;
}

.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 12px;
  max-width: 300px;
  height: auto;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  flex: 1;
}

.about-card i {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  color: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
  transition: filter 0.3s ease;
  padding: 28px;
  border-radius: 50%;
  margin-top: 10px;
}

.about-card h3 {
  margin-bottom: 8px;
  color: var(--text-color);
  font-size: 1.3rem;
}

.about-card p {
  font-size: 1rem;
  color: var(--text-color);
  margin-top: 4px;
}

.about-card:hover i {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

.about-card:hover {
  cursor: pointer;
  box-shadow: 0 6px 25px #00ff2f55;
}

/***************************** */
/***      Contact Section      ***/
/***************************** */
#Contact {
  margin-top: 70px;
  border-top: 2px solid var(--section-border);
  margin-bottom: 50px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-container h2 {
  margin-top: 50px;
  font-size: 3rem;
  margin-bottom: 10px;
}

.contact-container p {
  font-size: 1.2rem;
  color: var(--text-color);
}

.info-details {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.contact-cards-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: start;
  background: var(--card-bg);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 15px 25px;
  margin: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  width: min(500px, 90vw);
  max-width: 100%;
}

.contact-card i {
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-right: 24px;
}

.contact-card div h3 {
  margin-bottom: 5px;
}

.contact-text p {
  font-size: 1rem;
  color: var(--text-color);
}

.phone-card a,
.address-card a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.2s ease;
  font-size: 1rem;
}

.phone-card a:hover,
.address-card a:hover {
  color: var(--accent-color);
}

.weather-card img {
  width: 48px;
  height: 48px;
  margin-right: 20px;
}

.contact-card:not(.weather-card) {
  padding-left: 36px;
}

.hide {
  display: none;
}

.map-container {
  width: min(500px, 90vw);
  height: min(500px, 90vw);
  max-width: 100%;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  margin-top: 50px;
  background: var(--footer-bg);
  color: var(--footer-text-color);
  padding: 30px;
  text-align: center;
  font-size: 0.8rem;
  border-top: 2px solid var(--border-card);
  transition: background 0.3s ease, color 0.3s ease;
}

.footer-link {
  color: var(--footer-text-color);
  font-weight: 600;
}

.footer-link:visited {
  color: var(--footer-text-color);
}

/***************/
/* MEDIA QUERIES */
/***************/

@media (min-width: 1200px) {
  .hero {
    padding: 0
      calc((100vw - var(--container-max-width)) / 2 + var(--container-padding));
  }

  .hero-content {
    margin: 0;
  }
}

@media (max-width: 1024px) {
  .info-details {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 4rem;
    margin-bottom: 12px;
  }

  .hero h3 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.6rem;
  }
  .nav-hamburger {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background: var(--bg-color);
    box-shadow: 0 4px 8px rgb(0, 0, 0, 0.2);

    /*  Layout for links */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;

    /* Hiding the menu initially */
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar {
    position: relative;
  }

  .nav-links li a,
  .nav-links .mode-toggle {
    color: var(--text-color) !important;
    font-size: 1.2rem;
  }

  .buffet-card-description h3 {
    margin-top: 32px;
  }

  .buffet-card {
    max-width: 350px;
  }

  .special-day-card .tag-special {
    margin-bottom: 0;
  }
  .special-day-card .buffet-card-title {
    margin-top: 10px;
  }
  .price-container {
    padding: 16px 36px;
  }

  .about-cards {
    flex-direction: column;
    gap: 30px;
  }

  .about-card p {
    margin-bottom: 12px;
  }

  .about-card {
    max-width: 80vw;
    height: auto;
  }

  /* Contact section responsive */
  .info-details {
    flex-direction: column;
    gap: 20px;
  }

  .contact-header {
    margin-bottom: 20px;
  }

  .contact-cards-container {
    width: 100%;
  }

  .map-container {
    width: min(500px, 90vw);
    height: min(400px, 80vw);
  }

  .contact-text h3 {
    font-size: 1.4rem;
  }

  .phone-card a,
  .address-card a {
    font-size: 1.2rem;
    text-decoration: underline;
  }
  .contact-text p {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }
  .hero h3 {
    font-size: 1.5rem;
  }
  .hero-description {
    font-size: 1.15rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
}
