﻿/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar container */
.custom-navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #011015;
  padding: 1rem 2rem;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  z-index: 10;
  margin-top: 1vh;
  border-bottom: 1px solid yellow; /* Yellow underline */
}


/* Brand (always visible) */
.brand {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  pointer-events: auto;
}

.brand:hover{
     color: white;
  text-decoration: none;
}

.brand .highlight:hover {
  color: yellow;
  text-decoration: none;
}

.brand .highlight {
  color: yellow;
}

/* Center nav */
.nav-center {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-center li a {
  text-decoration: none;
  color: #ddd;
  font-size: 1.8rem;
  padding: 6px 10px;
  transition: color 0.3s;
}

.nav-center li a:hover {
  color: yellow;
}

/* Contact button */
.nav-right .contact-btn {
  background-color: yellow;
  color: black;
  font-weight: 600;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.nav-right .contact-btn:hover {
  background-color: #f7d900;
}

/* Mobile Toggle Button */
.navbar-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile Sidebar */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #021d26;
  color: white;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav .close-btn {
  font-size: 2rem;
  font-weight: bold;
  color: yellow;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

.mobile-nav ul {
  list-style: none;
  padding: 60px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-nav ul li a {
  text-decoration: none;
  color: #ddd;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.mobile-nav ul li a:hover {
  color: yellow;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Hide desktop nav items, but keep the brand */
  .nav-center,
  .nav-right {
    display: none;
  }

  /* Show the toggle */
  .navbar-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 10000;
  }
}
