/*
====================================================
Header Styles - Awesome Soft Solutions
====================================================
*/

/* CSS Variables for Header */
:root {
  --primary-orange: #ff6b35;
  --primary-teal: #008080;
  --teal-dark: #225c55;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

/* ========================================
   ENHANCED HEADER LAYOUT
   ======================================== */

.header-main {
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
  z-index: 999;
}

.header-site {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  background: var(--teal-dark) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15) !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  transition: all 0.3s ease !important;

}

/* Enhanced container for better mobile layout */
.header-site .container-fluid {
  padding: 0 20px;
}

.header-site .row {
  margin: 0;
  align-items: center;
  min-height: 60px;
}

/* Navigation styling */
.header-site .header-navigation {
  background-color: transparent !important;
}

.header-site .header-navigation .navbar {
  background-color: transparent !important;
}



.header-site .header-navigation .header-navbar > ul > li > a {
  color: var(--white) !important;
  font-weight: 500 !important;
  padding: 6px 15px !important;
  transition: var(--transition) !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  outline: none !important;
}

.header-site .header-navigation .header-navbar > ul > li > a:hover,
.header-site .header-navigation .header-navbar > ul > li > a.active {
  color: var(--primary-orange) !important;
  background-color: rgba(255, 107, 53, 0.1) !important;
  border-radius: 5px !important;
}

.header-site .header-navigation.sticky-on {
  background-color: var(--teal-dark) !important;
}

/* Navigation Active State */
.header-site .header-navbar > ul > li.current > a {
  color: var(--primary-orange) !important;
}

.header-site .header-navbar > ul > li.current > a:after {
  width: 60% !important;
  background: var(--primary-orange) !important;
}

/* Active Navigation State */
.header-navbar-nav .header-nav-item .active {
  color: var(--primary-orange) !important;
  font-weight: 600;
  position: relative;
}

.header-navbar-nav .header-nav-item .active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--primary-orange);
  border-radius: 2px;
}

/* ========================================
   ENHANCED RESPONSIVE HEADER
   ======================================== */

/* Fixed header with consistent height */
.header-site {
  height: 70px !important;
  padding: 0 !important;
}

.header-site .row {
  height: 70px !important;
  min-height: 70px !important;
}

/* Body padding matches exact header height */
body {
  padding-top: 70px !important;
}

/* Logo container & image responsive styles */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  height: auto;
}

.navbar-brand img {
  height: clamp(70px, 8vw, 150px);
  width: auto;
  max-width: clamp(280px, 35vw, 420px);
  object-fit: contain;
  display: block;
  transition: height 180ms ease, transform 180ms ease;
}

/* Desktop navigation */
@media (min-width: 992px) {
  .header-site .container-fluid {
    padding: 0 40px;
  }
  
  .header-site .header-navigation .header-navbar > ul > li > a {
    padding: 6px 15px !important;
    border-radius: 8px !important;
    font-size: 16px;
    font-weight: 500;
  }
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .header-site .container-fluid {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .header-site .container-fluid {
    padding: 0 15px;
  }
  
  .col-lg-3.col-md-5.col-5 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .header-site .container-fluid {
    padding: 0 12px;
  }
}

/* ========================================
   MOBILE NAVIGATION COLUMN FIXES
   ======================================== */

@media (max-width: 991px) {
  /* Ensure proper column distribution on mobile */
  .header-site .col-lg-2.col-md-6.col-6,
  .header-site .col-lg-3.col-md-6.col-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .header-site .col-lg-8.col-md-1.col-1,
  .header-site .col-lg-6.col-md-1.col-1 {
    display: none;
  }
  
  .header-site .col-lg-2.col-md-5.col-5,
  .header-site .col-lg-3.col-md-5.col-5 {
    flex: 0 0 auto;
    width: 50%;
    display: flex;
    justify-content: flex-end;
  }
}

/* ========================================
   HEADER SCROLL BEHAVIOR
   ======================================== */

