/* ═══════════════════════════════════════════════════════════════
   HVM LOGO STYLING — Professional Logo Integration
   assets/css/logo.css
   Navbar · Footer · Mobile Menu logo overrides
   ═══════════════════════════════════════════════════════════════ */

/* ═════════════════════════════════════════════════════════════
   1. NAVBAR — COMPACT PROFESSIONAL HEIGHT
   ═════════════════════════════════════════════════════════════ */

.navbar {
  padding: 0.65rem var(--gutter, 2rem) !important;
  min-height: 40px;
}

.navbar.scrolled {
  padding: 0.45rem var(--gutter, 2rem) !important;
  min-height: 40px;
}


/* ═════════════════════════════════════════════════════════════
   2. NAVBAR LOGO
   ═════════════════════════════════════════════════════════════ */

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.88;
}

.nav-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Shrink logo when navbar is scrolled */
.navbar.scrolled .nav-logo-img {
  height: 36px;
}

/* Hide old text logo if still in markup */
.nav-logo .logo-main,
.nav-logo .logo-sub {
  display: none !important;
}


/* ═════════════════════════════════════════════════════════════
   3. FOOTER LOGO
   ═════════════════════════════════════════════════════════════ */

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.footer-logo-img {
  display: block;
  height: 75px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo-link:hover .footer-logo-img,
.footer-brand a:hover .footer-logo-img {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
}

/* Hide old footer text logo */
.footer-brand .logo-main {
  display: none !important;
}

/* Restyle tagline */
.footer-brand .logo-sub,
.footer-tagline {
  font-family: var(--ff-body, 'DM Sans', sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-red-lt, #d93a4c);
  line-height: 1.6;
  margin: 0;
}


/* ═════════════════════════════════════════════════════════════
   4. MOBILE MENU LOGO
   ═════════════════════════════════════════════════════════════ */

.mobile-logo-wrap {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 5;
}

.mobile-logo-img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}


/* ═════════════════════════════════════════════════════════════
   5. RESPONSIVE SIZING
   ═════════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
  .navbar { min-height: 64px; padding: 0.55rem var(--gutter, 1.5rem) !important; }
  .navbar.scrolled { min-height: 56px; }
  .nav-logo-img { height: 40px; }
  .navbar.scrolled .nav-logo-img { height: 34px; }
  .footer-logo-img { height: 65px; padding: 9px 14px; }
}

@media (max-width: 768px) {
  .navbar { min-height: 60px; padding: 0.5rem 1rem !important; }
  .navbar.scrolled { min-height: 54px; }
  .nav-logo-img { height: 36px; }
  .navbar.scrolled .nav-logo-img { height: 32px; }
  .footer-logo-img { height: 58px; padding: 8px 12px; }
}

@media (max-width: 480px) {
  .navbar { min-height: 56px; }
  .nav-logo-img { height: 32px; }
  .navbar.scrolled .nav-logo-img { height: 30px; }
}