/* ═══════════════════════════════════════════════════════════════
   HVM LOGO STYLING — Professional Logo Integration
   assets/css/logo.css
   Navbar · Footer · Mobile Menu logo overrides
   ═══════════════════════════════════════════════════════════════ */

/* ═════════════════════════════════════════════════════════════
   1. NAVBAR LOGO
   ═════════════════════════════════════════════════════════════ */

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.88;
}

.nav-logo-img {
  display: block;
  height: 52px;
  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: 42px;
}

/* Hide old text logo if still in markup */
.nav-logo .logo-main,
.nav-logo .logo-sub {
  display: none !important;
}


/* ═════════════════════════════════════════════════════════════
   2. FOOTER LOGO
   ═════════════════════════════════════════════════════════════ */

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-logo-img {
  display: block;
  height: 70px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  /* Invert colors so dark-navy logo shows on dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-bottom: 0.5rem;
}

/* Hide old footer text logo */
.footer-brand > .logo-main,
.footer-brand > .logo-sub {
  display: none !important;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
  margin: 0;
}


/* ═════════════════════════════════════════════════════════════
   3. MOBILE MENU LOGO (optional — if you add it)
   ═════════════════════════════════════════════════════════════ */

.mobile-logo-wrap {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 5;
}

.mobile-logo-img {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
}


/* ═════════════════════════════════════════════════════════════
   4. RESPONSIVE SIZING
   ═════════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
  .nav-logo-img { height: 46px; }
  .navbar.scrolled .nav-logo-img { height: 38px; }
  .footer-logo-img { height: 60px; }
}

@media (max-width: 768px) {
  .nav-logo-img { height: 40px; }
  .navbar.scrolled .nav-logo-img { height: 34px; }
  .footer-logo-img { height: 55px; }
}

@media (max-width: 480px) {
  .nav-logo-img { height: 36px; }
  .navbar.scrolled .nav-logo-img { height: 32px; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER LOGO — HVM Light Theme Integration
   assets/css/footer-logo.css
   Works with existing .footer-brand / .logo-main / .logo-sub classes
   No HTML class changes required
   ═══════════════════════════════════════════════════════════════ */

/* ═════════════════════════════════════════════════════════════
   1. FOOTER LOGO IMAGE
   ═════════════════════════════════════════════════════════════ */

.footer-brand .footer-logo-img {
  display: block;
  height: 75px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  margin-bottom: 1rem;
  /* Invert dark-navy logo to white for dark footer background */
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.footer-brand a:hover .footer-logo-img {
  opacity: 1;
}

/* Hide the existing HVM text since the logo replaces it */
.footer-brand .logo-main {
  display: none !important;
}

/* Keep the tagline visible but restyle slightly */
.footer-brand .logo-sub {
  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;
}


/* ═════════════════════════════════════════════════════════════
   2. RESPONSIVE
   ═════════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
  .footer-brand .footer-logo-img {
    height: 65px;
  }
}

@media (max-width: 600px) {
  .footer-brand .footer-logo-img {
    height: 58px;
  }
}