.header {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.main-header {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translateY(0);
  opacity: 1;
}

.main-header.scrolled {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  animation: slideDown 0.3s ease-out;
}

/* Coming Effect */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  color: #fff;
  padding: 9px 30px;
  padding-top: 1rem;
  font-size: 14px;
  transition: transform 0.4s ease-in-out;
  /* border-bottom: 1px solid ;
    border-color: rgba(255, 255, 255, 0.35); */
}

.top-left {
  display: flex;
  gap: 10px;
}

.top-left span {
  margin-right: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-left span a {
  text-decoration: none;
  color: #fff;
}

.top-right a {
  color: #fff;
  margin-left: 10px;
  font-size: 20px;
  text-decoration: none;
}

.hide {
  transform: translateY(-100%);
  display: none;
}

/* Main Header */
.main-header {
  width: 100%;
  background: transparent;
  transition: background 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.main-header.scrolled {
  background-color: #970849b8;
  backdrop-filter: blur(10px);
  margin-top: 0;
}

.main-header.scrolled .nav-logo img {
  height: 70px;
  display: block;
  transition: 1s;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.nav-left {
  width: 43%;
  display: flex;
  justify-content: left;
}

.nav-logo {
  width: 13%;
  display: flex;
  justify-content: center;
}

.nav-right {
  width: 43%;
  display: flex;
  justify-content: right;
}

.nav-left a,
.nav-right a {
  color: #222;
  margin: 0 10px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
}
.main-header.scrolled .nav-left a {
  color: #fff !important;
}
.main-header.scrolled .nav-right a {
  color: #fff !important;
}
.nav-logo img {
  height: 100px;
  transition: 1s;
}

/* Reservation Button */
.reserve-btn {
  padding: 5px 20px;
  border: 1px solid;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background-color: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  text-decoration: none;
}

.reserve-btn:hover {
  transform: scale(1.05);
}

/* Mobile Menu */

/* Header Wrapper */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  padding: 1% 4%;
  z-index: 1000;
  display: none;
}
.mobile-header.scrolled {
  background-color: #970849b8;
  backdrop-filter: blur(10px);
  margin-top: 0;
}
/* Nav + Logo container */
.mobile-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.mobile-logo {
  max-height: 50px;
  transition: opacity 0.5s ease;
}

/* Hamburger Menu Button */
.menu-btn {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  margin: auto;
  margin-right: 0;
  margin-top: 10px;
}
.closeMenu {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  margin: auto;
  margin-right: 0;
  margin-top: 10px;
}
/* Mobile Menu Container */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #970849;
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  animation: slideIn 0.3s ease forwards;
}

/* When menu is open */
.mobile-menu.aos-animate {
  transform: translateX(0);
  opacity: 1;
}

/* Logo inside the menu */
.mobile-menu .mobile-logo {
  width: 100px;
  height: auto;
  margin: 10px 0;
  display: block;
}

/* Menu Links */
.mobile-menu a {
  text-decoration: none;
  font-size: 1rem;
  padding: 9px 0;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: #007bff;
}
@media (max-width: 1220px) {
  .nav-left a:nth-child(2) {
    display: none;
  }
  .nav-logo img {
    height: 70px;
  }
  .nav-right a:nth-child(1) {
    display: none;
  }
}
@media (max-width: 950px) {
  .main-header {
    display: none;
  }
  .mobile-header {
    display: block;
  }
}
