/*
Theme Name: VitaFlow Mobile IV
Theme URI: https://example.com/my-theme
Author: Christopher Cuna
Author URI: https://example.com
Description: A bare-bones WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-theme
*/

body {
  margin: 0;
}

.site-header {
  background: white;
  border-bottom: 1px solid #ddd;
  margin: 0;
  width: 100%;
}

.site-header .container {
  display: flex;
    margin: auto;
    max-width: 1400px;
      padding: 15px 32px;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.brand-text {
  font-family: sans-serif;
  color: #1e3f35;
}

.brand-text span {
  font-weight: bold;
}

.main-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.main-nav .nav-list {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.main-nav .nav-list li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.main-nav .nav-list li.current-menu-item a {
  color: #4f7266; /* greenish tone for "Home" */
  font-weight: bold;
}

.book-now-button {
  background-color: #b94444;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}


/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 2001;
}

.menu-toggle span {
  background: #1e3f35;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  transition: 0.3s;
}

/* Animate into X */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Fullscreen Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;   /* start fully off-screen on the RIGHT */
  width: 100%;
  height: 100vh;
  background: white;
  display: flex;
  flex-direction: column;
  padding-top: 120px;
  text-align: center;
  z-index: 2000;
  transition: right 0.35s ease; /* animate FROM the right */
}

.mobile-drawer.active {
  right: 0; /* slide into view */
}
/* Drawer Menu Items */
.drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.drawer-nav-list li a {
  color: #1e3f35;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
}

/* Drawer Book Button */
.drawer-book {
  margin-top: 35px;
  padding: 12px 24px;
  font-size: 1.2rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 1999;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Mobile Layout */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}
