/* ==========================================================================
   YOUR NEIGHBOURHOOD PLANT GUY - UNIFIED NAVIGATION & HEADER STYLING
   ========================================================================== */

:root {
  --nav-primary: #2d6a4f;
  --nav-primary-dark: #1b4332;
  --nav-primary-light: #52b788;
  --nav-accent: #ffb703;
  --nav-accent-orange: #fb8500;
  --nav-accent-orange-hover: #e07400;
  --nav-bg-glass: rgba(255, 255, 255, 0.96);
  --nav-dark: #132a1e;
  --nav-text-muted: #5c6b64;
  --nav-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --nav-shadow-hover: 0 6px 24px rgba(27, 67, 50, 0.15);
  --nav-font-comic: 'Bangers', cursive, -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT & CONTACT BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #132a1e 0%, #1b4332 50%, #2d6a4f 100%);
  color: #ffffff;
  font-family: var(--nav-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-bottom: 2px solid var(--nav-accent);
  position: relative;
  z-index: 1001;
  letter-spacing: 0.3px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.top-bar-contact a {
  color: #f1f8f4;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  padding: 2px 6px;
  border-radius: 4px;
}

.top-bar-contact a i {
  color: var(--nav-accent);
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.top-bar-contact a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.top-bar-contact a:hover i {
  transform: scale(1.15);
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 183, 3, 0.2);
  color: var(--nav-accent);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 2px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 183, 3, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.top-bar-socials a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar-socials a:hover {
  transform: translateY(-2px) scale(1.1);
  color: #ffffff;
}

.top-bar-socials a[title*="YouTube"]:hover { background: #ff0000; border-color: #ff0000; box-shadow: 0 0 10px rgba(255, 0, 0, 0.6); }
.top-bar-socials a[title*="TikTok"]:hover { background: #000000; border-color: #00f2fe; box-shadow: 0 0 10px rgba(0, 242, 254, 0.6); }
.top-bar-socials a[title*="Instagram"]:hover,
.top-bar-socials a[title*="Threads"]:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-color: #d6249f; }
.top-bar-socials a[title*="Facebook"]:hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 0 10px rgba(24, 119, 242, 0.6); }

/* ==========================================================================
   2. MAIN SITE HEADER & PERSISTENT NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--nav-bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--nav-shadow);
  border-bottom: 1.5px solid rgba(45, 106, 79, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* --- Brand Logo & Identity --- */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  border: 2.5px solid var(--nav-primary);
  box-shadow: 0 3px 10px rgba(45, 106, 79, 0.25);
  transition: all 0.3s ease;
}

.brand-logo:hover .brand-avatar {
  border-color: var(--nav-accent);
  box-shadow: 0 0 14px rgba(255, 183, 3, 0.6);
  transform: rotate(6deg);
}

.brand-title {
  font-family: var(--nav-font-comic);
  font-size: 1.55rem;
  letter-spacing: 0.8px;
  color: var(--nav-primary-dark);
  line-height: 1.1;
  text-shadow: 1px 1px 0 rgba(255, 183, 3, 0.35);
  transition: color 0.2s ease;
}

.brand-logo:hover .brand-title {
  color: var(--nav-primary);
}

.brand-subtitle {
  font-family: var(--nav-font-body);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--nav-primary);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-subtitle::before {
  content: '🌱';
  font-size: 0.8rem;
}

/* --- Navigation Menu & Buttons --- */
#navMenu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-btn {
  font-family: var(--nav-font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: #26382f;
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nav-btn i {
  font-size: 0.95rem;
  color: var(--nav-primary);
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Standard Hover State */
.nav-btn:hover {
  color: var(--nav-primary-dark);
  background: rgba(45, 106, 79, 0.08);
  transform: translateY(-2px);
}

.nav-btn:hover i {
  color: var(--nav-accent-orange);
  transform: scale(1.15);
}

/* Active Page State */
.nav-btn.active {
  color: #ffffff;
  background: var(--nav-primary-dark);
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.28);
}

.nav-btn.active i {
  color: var(--nav-accent);
}

.nav-btn.active:hover {
  background: var(--nav-primary);
  transform: translateY(-2px);
  color: #ffffff;
}

/* --- Standout "Request Quote" CTA Button --- */
.nav-btn[href*="quote.html"],
.nav-btn-quote {
  background: linear-gradient(135deg, var(--nav-accent-orange) 0%, var(--nav-accent) 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  padding: 0.52rem 1.15rem;
  border-radius: 24px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 4px 16px rgba(251, 133, 0, 0.35);
  margin-left: 0.3rem;
  letter-spacing: 0.3px;
}

.nav-btn[href*="quote.html"] i,
.nav-btn-quote i {
  color: #ffffff !important;
}

.nav-btn[href*="quote.html"]:hover,
.nav-btn-quote:hover {
  background: linear-gradient(135deg, #e07400 0%, #ffa700 100%) !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 20px rgba(251, 133, 0, 0.45);
}

.nav-btn[href*="quote.html"].active,
.nav-btn-quote.active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px var(--nav-primary), 0 6px 20px rgba(251, 133, 0, 0.5);
}

/* --- Mobile Menu Toggle Button --- */
.mobile-menu-toggle {
  display: none;
  background: #ffffff;
  border: 2px solid var(--nav-primary);
  color: var(--nav-primary);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle:hover {
  background: var(--nav-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.mobile-menu-toggle:focus {
  outline: 2px solid var(--nav-accent);
}

/* ==========================================================================
   3. FLOATING THEME SONG MUSIC BAR (PERSISTENT AUDIO WIDGET)
   ========================================================================== */
.floating-music-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(19, 42, 30, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border-radius: 40px;
  padding: 8px 16px 8px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 183, 3, 0.3);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--nav-font-body);
}

.floating-music-bar:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 183, 3, 0.5);
  transform: translateY(-3px);
}

.vinyl-disc {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, #2d6a4f 20%, #111 25%, #222 45%, #111 60%, #333 80%, #111 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nav-accent);
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--nav-accent);
}

.vinyl-disc.playing {
  animation: spinVinyl 3.5s linear infinite;
}

@keyframes spinVinyl {
  100% { transform: rotate(360deg); }
}

.music-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.music-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.music-sub {
  font-size: 0.7rem;
  color: var(--nav-accent);
  font-weight: 500;
  white-space: nowrap;
}

.music-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-btn {
  background: var(--nav-accent-orange);
  color: #ffffff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(251, 133, 0, 0.4);
  transition: all 0.2s ease;
}

.player-btn:hover {
  background: var(--nav-accent);
  color: var(--nav-dark);
  transform: scale(1.1);
}

.vol-slider {
  width: 55px;
  accent-color: var(--nav-accent);
  cursor: pointer;
}

/* ==========================================================================
   4. RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-btn {
    font-size: 0.85rem;
    padding: 0.45rem 0.65rem;
    gap: 0.35rem;
  }
  .brand-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }

  #navMenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem;
    gap: 0.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 3px solid var(--nav-primary);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
  }

  #navMenu.open {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
  }

  .nav-btn {
    padding: 0.75rem 1.2rem;
    font-size: 1rem;
    border-radius: 10px;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-btn[href*="quote.html"],
  .nav-btn-quote {
    margin-left: 0;
    margin-top: 0.5rem;
    justify-content: center;
    border-radius: 14px;
    padding: 0.85rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    justify-content: center;
    padding: 0.5rem 1rem;
    text-align: center;
  }

  .top-bar-contact {
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.8rem;
  }

  .top-bar-socials {
    margin-top: 2px;
  }

  .nav-container {
    padding: 0.5rem 1rem;
  }

  .brand-avatar {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: 1.3rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
  }

  .floating-music-bar {
    bottom: 16px;
    right: 16px;
    padding: 6px 12px 6px 8px;
    gap: 8px;
  }

  .vinyl-disc {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }

  .vol-slider {
    display: none;
  }
}
