/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 25, 47, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* .logo img {
    height: 40px;
    transition: all 0.3s ease;
} */

/* Logo HV Styles */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1000;
  margin-left: 20px;
}

.hv-logo {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hv-initials {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary-color);
  z-index: 2;
  transition: all 0.3s ease;
}

.hv-glass {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 1;
}

.hv-liquid {
  width: 40px;
  height: 25px;
  background: rgba(230, 57, 70, 0.3);
  border-radius: 0 0 20px 20px;
  border: 2px solid var(--primary-color);
  border-top: none;
  box-shadow: inset 0 0 10px rgba(230, 57, 70, 0.5);
  transition: all 0.3s ease;
}

.hv-stem {
  width: 6px;
  height: 25px;
  background: var(--primary-color);
  margin-top: -2px;
}

.hv-base {
  width: 25px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 3px;
  margin-top: -2px;
}

/* Hover Effects */
.hv-logo:hover .hv-initials {
  transform: translateY(-5px);
  text-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.hv-logo:hover .hv-liquid {
  height: 30px;
  background: rgba(230, 57, 70, 0.4);
  box-shadow: inset 0 0 15px rgba(230, 57, 70, 0.7);
}

/* Animation */
@keyframes liquid-move {
  0%, 100% {
    transform: translateY(0) scaleY(1);
  }
  50% {
    transform: translateY(-3px) scaleY(0.95);
  }
}

.hv-liquid {
  animation: liquid-move 4s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hv-logo {
    width: 50px;
    height: 50px;
  }
  
  .hv-initials {
    font-size: 1.8rem;
  }
  
  .hv-liquid {
    width: 35px;
    height: 20px;
  }
  
  .hv-stem {
    height: 20px;
  }
}

/* Navbar Scrolled State */
.navbar.scrolled .hv-logo {
  width: 50px;
  height: 50px;
}

.navbar.scrolled .hv-initials {
  font-size: 1.8rem;
}

.navbar.scrolled .hv-liquid {
  width: 35px;
  height: 20px;
}

.navbar.scrolled .hv-stem {
  height: 20px;
}

.navbar.scrolled .logo img {
    height: 35px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin-right: 40px;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
    margin-right: 20px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
}