/* MODERN GHOST HEADER - 2025 DESIGN */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset,
              0 1px 3px rgba(0, 0, 0, 0.12),
              0 1px 2px rgba(0, 0, 0, 0.24);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.scrolled .header-container {
  padding: 0.5rem 2rem;
}

.brand-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Grey shadow only for "Lucrative" text */
.brand-text {
  text-shadow: 0 1px 2px rgba(128, 128, 128, 0.8);
}

/* Keep original shadow for "Landscaping" */
.brand-accent {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.brand-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #EBBA34;
  transition: width 0.3s ease;
}

.brand-link:hover::after {
  width: 100%;
}

.site-header.scrolled .brand-link {
  color: #1a1a1a;
  text-shadow: none;
}

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
  }

  .nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 0.5rem 0;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
  }

  .nav-link:hover {
    transform: translateY(-1px);
  }

  .nav-link:hover::before {
    width: 100%;
  }

  .site-header.scrolled .nav-link {
    color: #374151;
    text-shadow: none;
  }

  .nav-cta {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
  }

  .nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
  }

  .nav-cta:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }

  .nav-cta:hover::before {
    left: 100%;
  }

  .site-header.scrolled .nav-cta {
    background: #007140;
    border-color: #007140;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 113, 64, 0.2);
  }

  .site-header.scrolled .nav-cta:hover {
    background: #005930;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 113, 64, 0.3);
  }

  /* Modern Dropdown Styles */
  .nav-dropdown {
    position: relative;
  }

  .dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
  }

  .dropdown-toggle:hover {
    transform: translateY(-1px);
  }

  .dropdown-toggle:hover::before {
    width: 100%;
  }

  .site-header.scrolled .dropdown-toggle {
    color: #374151;
    text-shadow: none;
  }

  .dropdown-toggle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
  }

  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
  }

  .dropdown-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 113, 64, 0.05), transparent);
    transition: left 0.3s ease;
  }

  .dropdown-menu a:hover {
    color: #007140;
    background: rgba(0, 113, 64, 0.05);
    transform: translateX(4px);
  }

  .dropdown-menu a:hover::before {
    left: 100%;
  }

  /* Dark mode dropdown for scrolled state */
  .site-header.scrolled .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.08);
  }
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.site-header.scrolled .mobile-menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
  height: 16px;
  position: relative;
}

.bar {
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.bar:nth-child(1) {
  width: 20px;
}

.bar:nth-child(2) {
  width: 16px;
  margin-left: auto;
}

.bar:nth-child(3) {
  width: 12px;
  margin-left: auto;
}

.mobile-menu-toggle:hover .bar:nth-child(1) {
  width: 20px;
}

.mobile-menu-toggle:hover .bar:nth-child(2) {
  width: 20px;
}

.mobile-menu-toggle:hover .bar:nth-child(3) {
  width: 20px;
}

.site-header.scrolled .bar {
  background: #374151;
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: white;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  z-index: 10000;
}

.mobile-nav.is-visible .mobile-nav-inner {
  transform: translateX(0);
}

/* Mobile nav header */
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #007140, #00a659);
  color: white;
  flex-shrink: 0;
}

.mobile-nav-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Mobile nav main content */
.mobile-nav-main {
  flex: 1 1 auto;
  min-height: 320px;
  overflow-y: auto;
  padding: 1.5rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: #111827;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  margin-bottom: 0.375rem;
}

.mobile-nav-link:hover {
  background: #f9fafb;
  transform: translateX(4px);
}

.mobile-nav-icon {
  font-size: 1.125rem;
  width: 28px;
  text-align: center;
}

/* Mobile nav sections */
.mobile-nav-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.mobile-nav-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.5rem;
  padding: 0 0.875rem;
}

.mobile-nav-sublink {
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: #4b5563;
}

.mobile-nav-sublink:hover {
  color: #111827;
  background: #f9fafb;
}

/* Mobile nav footer */
.mobile-nav-footer {
  padding: 0.875rem;
  padding-bottom: 0.875rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
  flex-shrink: 0;
  background: white;
  margin-bottom: env(safe-area-inset-bottom, 20px);
}

.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  text-align: center;
}

.mobile-nav-cta-primary {
  background: linear-gradient(135deg, #007140, #00a659);
  color: white;
}

.mobile-nav-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 113, 64, 0.3);
}

.mobile-nav-cta-secondary {
  background: linear-gradient(135deg, #e8f5f0, #d4ede3);
  border: 1px solid #b8d9cc;
  color: #1f2937;
}

.mobile-nav-cta-secondary:hover {
  background: linear-gradient(135deg, #007140, #00915a);
  border-color: #007140;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 113, 64, 0.2);
}

/* Body scroll lock */
body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Animations */
@keyframes slideInRight {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.mobile-nav.is-visible .mobile-nav-link {
  animation: slideInRight 0.3s ease forwards;
  opacity: 0;
}

.mobile-nav.is-visible .mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav.is-visible .mobile-nav-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav.is-visible .mobile-nav-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav.is-visible .mobile-nav-section {
  animation: slideInRight 0.3s ease forwards;
  animation-delay: 0.25s;
  opacity: 0;
}