/* Base header styles */
.header-container {
    background-color: #ff6c00;
    padding: 0 24px;
    height: 76px;
    position: relative;
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    width: 171px;
}

.home-logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    height: 50px;
}

.home-logo img {
    width: 100%;
    height: 50px;
}

.logo img {
    width: 100%;
    height: 100%;
}

.tagline {
    font-size: 16px;
    color: #ffffff;
    line-height: 16px;
    font-weight: 400;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 13px;
}

.nav-link {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    line-height: 16px;
    border-radius: 8px;
    transition: background 0.3s;
}

.nav-link:hover {
    background-color: #ef580d;
}

.nav-link.active {
    background-color: white;
    font-weight: bold;
    color: #ff6c00;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.menu-icon {
    width: 40px;
    height: 40px;
}

/* Mobile Drawer - Full Screen */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -180%;
    width: 100%;
    /* use % instead of vw */
    max-width: 100%;
    height: 100vh;
    background-color: #ff6c00;
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 21px 16px;
    border-bottom: 1px solid #f25500;
    box-shadow: 0 1px 0 #ff7a21;
}

.drawer-header .logo {
    width: 189px;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 40px;
    height: 40px;
    padding: 0;
}

.close-icon {
    width: 40px;
    height: 40px;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
}

.drawer-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: white;
    text-decoration: none;
    font-size: 30px;
    line-height: 1.2;
    padding: 14px 20px 14px 26px;
    min-width: 200px;
    border-bottom: 1px solid #f25500;
    box-shadow: 0 1px 0 #ff7a21;
    transition: background-color 0.3s;
}

.drawer-link::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 19px;
    background-image: url("/images/arrow-right.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.drawer-link:hover {
    background-color: #ef580d;
}

.drawer-link.active {
    font-weight: bold;
}

.drawer-link-arrow {
    width: 12px;
    height: 19px;
}

.slogan {
    text-align: center;
    color: #AE4200;
    font-size: 19.6px;
    line-height: 1.2;
    margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .logo-section {
        gap: 20px;
    }

    .desktop-nav {
        gap: 10px;
    }
}

@media (max-width: 930px) {
    .tagline {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0px 20px;
    }

    .header-content {
        position: relative;
    }

    .logo-section {
        flex-direction: column;
        gap: 8px;
        padding: 12px 0;
        align-items: flex-start;
    }

    .logo {
        width: 140px;
    }

    .tagline {
        font-size: 14px;
    }

    /* Hide desktop navigation */
    .desktop-nav {
        display: none;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0px 16px;
    }

    .logo-section {
        gap: 6px;
        padding: 8px 0;
    }

    .logo {
        width: 120px;
    }

    .home-logo {
        width: 189px;
    }
}

/* Ensure body doesn't scroll when drawer is open */
body.drawer-open {
    overflow: hidden;
}

/* Animation improvements */
@media (prefers-reduced-motion: reduce) {

    .mobile-drawer,
    .drawer-overlay,
    .mobile-menu-btn,
    .close-btn,
    .drawer-link {
        transition: none;
    }
}