/* Header & Nav */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;    /* ensure it sits on a solid background */
}

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

/* Make .main-nav a single flex row, vertically centered */
.main-nav {
  display: flex;
  align-items: center;            /* ⬅️ vertical centering */
  justify-content: space-between; /* logo in the middle, toggles at edges */
  padding: 0.5rem 1rem;
  position: relative;
}

/* Nav toggle (burger) */
.nav-toggle {
  display: none;       /* still hidden above 768px */
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* Logo no longer absolute—just a flex item */
.logo {
  position: static;    /* remove absolute */
  transform: none;     /* remove translateX */
  /* it will naturally be centered by justify-content */
}
.logo img {
  max-height: 50px;
  width: auto;
  display: block;
}

/* Mobile: show the burger and hide links */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
  }
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--dark);
  font-weight: 500;
  transition: color .3s;
  font-size: 1rem;
}
.nav-links a:hover {
  color: var(--accent);
}

.book-btn {
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  transition: background .3s;
  text-decoration: none;
  font-size: 1rem;
}
.book-btn:hover {
  background: var(--hover);
}

/* Hide links & show burger on small screens */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1100;
    width: 30px;
    height: 24px;
  }
  .hamburger,
  .hamburger::before,
  .hamburger::after {
    content: "";
    display: block;
    background: var(--dark);
    height: 3px;
    border-radius: 2px;
    position: absolute;
    width: 100%;
    transition: transform .3s ease;
  }
  .hamburger {
    top: 50%;
    transform: translateY(-50%);
  }
  .hamburger::before {
    top: -8px;
  }
  .hamburger::after {
    bottom: -8px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: white;
    width: 100%;
    padding: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  .nav-links.open {
    display: flex;
  }

  /* Push the “Book Now” button into the menu too (optional) */
  .book-btn {
    display: none;
  }
  .nav-links.open + .book-btn {
    display: block;
    margin: 1rem;
  }
}

@media (max-width: 600px) {
  .main-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
  }
  .nav-toggle { display: block; }  /* if you have a hamburger */
  .logo { position: relative; left: 0; transform: none; margin: 0 auto; }
}

/* Tablet fixes (769px–1024px) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {


  /* 4) Make the “Book Now” button in header more prominent */
  .book-btn {
    font-size: 1rem;
    padding: 0.6rem 1.4rem;
  }
  .main-nav {
    padding: 0.75rem 1.5rem;
  }
}