/* ============================================================
   INSTABOOTH — NAVBAR & TOP BAR STYLES
   Import this in your main.js or styles.css:
   import './navbar.css';
   ============================================================ */

/* ── CSS VARIABLES (add to your root if not already present) ── */
:root {
  --cream: #faf8f5;
  --soft-white: #ffffff;
  --warm-gray: #f5f2ee;
  --text-dark: #1a1a1a;
  --text-mid: #555;
  --text-light: #888;
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --accent: #b8926a;
  --border: #e8e2d9;
}


/* ── LOGO ── */
.logo img{
  height: 36px;
}

/* ── NAVBAR ── */
nav#mainNav {
  background: var(--soft-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

/* ── NAV LINKS ── */
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links li.active a {
  color: var(--gold);
}
.nav-links a:hover::after, .nav-links li.active a::after {
  width: 100%;
}

/* ── BOOK NOW BUTTON ── */
.nav-book {
  background: var(--gold);
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 0;
  letter-spacing: 2px;
  font-size: 11px !important;
}
.nav-book:hover {
  background: var(--accent) !important;
  color: white !important;
}
.nav-book::after {
  display: none !important;
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 200;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── TABLET: 1024px ── */
@media (max-width: 1024px) {
  nav#mainNav {
    padding: 0 30px;
  }
  .nav-links {
    gap: 22px;
  }
}

/* ── MOBILE: 768px ── */
@media (max-width: 768px) {
  /* LOGO */
  .logo img{
    height: 30px;
  }
  

  /* Nav */
  nav#mainNav {
    padding: 0 20px;
    height: 60px;
  }
  .hamburger {
    display: flex;
  }

  /* Dropdown */
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--soft-white);
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-top: 0px solid var(--border);
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, border-top 0.4s ease, box-shadow 0.4s ease;
    z-index: 190;
  }
  .nav-links.open {
    max-height: 400px;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }
  .nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .nav-links a {
    display: block;
    padding: 16px 24px !important;
    font-size: 12px !important;
    letter-spacing: 2px;
  }
  .nav-links a::after {
    display: none;
  }

  /* Book Now on mobile */
  .nav-book {
    margin: 12px 24px !important;
    text-align: center;
    display: block;
    border-bottom: none !important;
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
}


