/**
 * Pro Tint Header - Exact UI Match
 */

/* ============================================
   SITE HEADER
============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    background-color: #000000;
    width: 100%;
    padding: 15px 40px;
    border-bottom: 1px solid #111;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

/* ============================================
   HEADER LOGO
============================================ */

.header-logo img {
     width: 150px;
}

/* ============================================
   HEADER NAVIGATION - Desktop
============================================ */

.header-nav {
    display: none; /* Hidden on mobile */
    align-items: center;
    gap: 20px;
}

.header-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-nav a:hover {
    color: #990000;
}

.header-nav a.active {
    color: #990000;
}

.header-nav a i {
    font-size: 11px;
    margin-left: 3px;
}

/* Quote Button in Header */
.quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ffffff;
    padding: 12px 24px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.quote-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.quote-btn i {
    margin: 0;
}

/* ============================================
   MOBILE MENU TOGGLE (Hamburger)
============================================ */

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: calc(var(--z-header) + 1);
}

.mobile-menu-toggle__line {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Active state - X icon */
.mobile-menu-toggle.active .mobile-menu-toggle__line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .mobile-menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .mobile-menu-toggle__line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   MOBILE MENU OVERLAY
============================================ */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    z-index: var(--z-header);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.mobile-menu__link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    text-align: center;
    padding: 8px 0;
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
    color: #990000;
}

.mobile-menu .quote-btn {
    margin-top: 20px;
}

/* ============================================
   RESPONSIVE - DESKTOP
============================================ */

/* Tablet */
@media (min-width: 768px) {
    .site-header {
        padding: 15px 30px;
    }
    
    .mobile-menu-toggle {
        display: flex; /* Still show on tablet */
    }
}

/* Desktop - Show full nav */
@media (min-width: 1200px) {
    .header-nav {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .site-header {
        padding: 15px 40px;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .header-nav {
        gap: 25px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE ADJUSTMENTS
============================================ */

@media (max-width: 767px) {
    .site-header {
        padding: 12px 20px;
    }
    
    .header-logo img {
        width: 100px;
    }
}

@media (max-width: 430px) {
    .site-header {
        padding: 10px 16px;
    }
    
    .header-logo img {
        width: 100px;
    }
}
