:root {
  --primary: #000;
  --secondary: #A71C21;
  --white: #fff;
  --contrast-link: #fff;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: var(--white);
  color: var(--primary);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */
nav {
  background-color: var(--contrast-link);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.8rem 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  gap: 2rem;
  /* ensures spacing between logo, nav, and order button */
}

/* Logo */
.logo img {
  height: 50px;
}

/* Nav links centered */
.nav-links {
  display: flex;
  gap: 2rem;
  /* space between links */
  flex: 1;
  justify-content: center;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--secondary);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Desktop Order Now button */
.cta-btn.desktop-order {
  background-color: var(--secondary);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cta-btn.desktop-order:hover {
  background-color: #8e151a;
}

/* Mobile Hamburger */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--secondary);
}

/* Mobile Order Now button */
.mobile-order {
  display: none;
  background-color: var(--secondary);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
  position: absolute;
  top: 10px;
  right: 50px;
  z-index: 9999;
}

.mobile-order:hover {
  background-color: #8e151a;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    background-color: var(--primary);
    width: 100%;
    padding: 1rem;
    gap: 1rem;
    border-radius: 10px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .desktop-order {
    display: none;
  }

  .mobile-order {
    display: inline;
  }

  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* vertically center all items */
    position: relative;
  }

  /* Mobile Order Now button */
  .mobile-order {
    display: inline-flex;
    /* flex ensures vertical alignment */
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.6rem 1rem;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
    /* no longer absolute */
    top: 0;
    right: 0;
    margin-left: 1rem;
    /* small gap from hamburger */
  }
}

/* Hero Section */
.hero {
  position: relative;
  background: url('../img/hero.png') center/cover no-repeat;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 700px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
  padding: 4rem 0;
  background-color: #f9f9f9;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.about p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333;
}

/* Menu Section */
.menu {
  padding: 4rem 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.menu-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.3s;
  background-color: #fff;
}

.menu-item:hover {
  transform: translateY(-5px);
}

.menu-item img.menu-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.menu-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.menu-item p {
  margin-bottom: 1rem;
  color: #555;
}

/* Location Section */
.location {
  padding: 4rem 0;
  text-align: center;
}

.location iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 10px;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}

footer .info {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

footer .info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

footer .info i {
  color: var(--secondary);
}

footer p a {
  color: var(--secondary);
  font-weight: bold;
}

footer p a:hover{
  color: var(--contrast-link);
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #8e151a;
}

/* -------------Timetable area end here------------- */

.timetable-area{
  background-color: #f9f9f9;
  padding: 2rem;
}

.timetable-table {
  display: block;
  box-shadow: 0 5px 10px rgba(191, 187, 187, 0.3);
  margin-top: 50px;
  border-radius: 2%;
}

table.amrt-timetable-table-tbody-tr-td {
  text-align: center;
}

table.amrt-timetable-table th.amrt-timetable-table-thead-tr-th {
  font-size: 20px;
  border-bottom: 5px double var(--secondary);
  border-bottom-style: double;
  background: var(--secondary);
}

table.amrt-timetable-table td.amrt-label-td {
  font-size: 16px !important;
}

table.amrt-timetable-table td.amrt-label-td {
  font-size: 13px;
  color: var(--tertiary-color);
}

table.amrt-timetable-table td.amrt-value-td span.amrt-time-slot {
  display: inline-block;
  white-space: nowrap;
  padding: 0.1em 0.5em;
  margin: 0.1em 0.2em;
}

table.amrt-timetable-table td {
  padding: 0.3rem 0rem;
}

table.amrt-timetable-table td.amrt-value-td span.amrt-time-slot {

  text-align: center;
  font-size: 15px;
}

thead th {
  color: var(--text-color)
}

/* -------------Timetable area end here------------- */