
/* Remove default browser spacing */
html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
  
}


html, body {
    overflow-x: hidden;
}



/* ===== Top Header Bar ===== */
.top-header {
  width: 100%;
  background-color: #ffffff; /* clean professional white */
  color: #1f5a3a; /* dark green text */
  font-size: 0.9rem;

  position: static; /* changed from fixed to static so it scrolls normally */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1100; /* keep high if needed for stacking above content temporarily */
}

/* Container for buttons */
.top-header-container {
  display: flex;
  gap: 1rem;
}

/* Common button style */
.top-header-btn {
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 1.9rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

/* Staff button */
.staff-btn {
  background-color: #2e8b57; /* professional green */
  color: #ffffff;
}

.staff-btn:hover {
  background-color: #246a46; /* slightly darker on hover */
  color: #ffffff;
}

/* Client button */
.client-btn {
  background-color: #2e8b57; /* professional green */
  color: #ffffff;
}

.client-btn:hover {
  background-color: #246a46; /* slightly darker on hover */
  color: #ffffff;
}

/* ===== Main Header Styles ===== */
.main-header {
  position: sticky; /* sticks at top */
  top: 0;
  left: 0;
  width: 100%;
  /* Gradient background */
  background: linear-gradient(90deg, #1f633c ,#2E8B57);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2rem;
  flex-wrap: wrap;
  box-sizing: border-box;
  z-index: 1000;
  transition: top 0.3s ease;
}

.main-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* optional shadow */
}


/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover {
  /*transform: scale(1.05);*/
}

/* Navigation */
nav {
  flex-grow: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

/* Underline hover effect */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #ccead0;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #ccead0;
}

.nav-links a:hover::after {
  width: 100%;
}


/* ================================
   MOBILE MENU BUTTON + SIDE PANEL
=================================== */

/* Hidden by default on desktop */
.mobile-menu-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #2E8B57;
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  /*border-radius: 50%; */
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1999;
  /*box-shadow: 0 4px 10px rgba(0,0,0,0.3);*/
}

/* Side panel (hidden) */
.mobile-side-panel {
  position: fixed;
  top: 0;
  right: -270px;
  width: 270px;
  height: 100vh;
  background: linear-gradient(90deg, #1f633c ,#2E8B57);
  padding: 2rem 1.5rem;
  box-sizing: border-box;
  transition: 0.3s ease;
  z-index: 2000;
  overflow: hidden; /* <-- ADD THIS */
}

.sidepanel-watermark {
  position: absolute;
  bottom: 20%;
  right: 20px;
  width: 310px;
  opacity: 0.25; /* soft watermark effect */
  pointer-events: none; /* so clicking through works */
}

.sidepanel-signature {
  font-family: 'Pacifico', cursive;
  font-size: 2.8rem;
  color: #ffffff;
  text-align: center;
  margin: 0;
  margin-top: 10px;
  margin-bottom: 25px;
  pointer-events: none;
  user-select: none;
}

.mobile-side-panel.open {
  right: 0;
}

.mobile-side-panel ul {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.mobile-side-panel a {
  display: block;
  padding: 12px 0;
  color: #ffffff;
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-side-panel a:hover {
  color: #ccead0;
}


/* ===========================
     MEDIA QUERIES
=========================== */

/* Tablets and below (768px) */
@media (max-width: 768px) {

  /* Hide normal nav */
  nav {
    display: none;
  }

  /* Show only the logo in header */
  .main-header {
    justify-content: center;
  }

  /* Top header buttons hidden */
  .top-header {
    display: none;
  }

  /* Show mobile FAB menu button */
  .mobile-menu-btn {
    display: flex;
  }
}

/* Smaller mobile (480px) */
@media (max-width: 480px) {

  .main-header {
    padding: 0.6rem 1rem;
  }

  .logo {
    height: 34px;
  }

  .mobile-menu-btn {
    width: 50px;
    height: 50px;
    font-size: 35px;
  }
}
