/* HEADER SECTION STYLE */


header.site-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-bottom: 3px solid #40e0d0;
    color: var(--white);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

header.site-header .brand {
    position: absolute;
    left: 20px;
}


.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}


.logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
}


.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text .title {
    font-weight: 700;
    font-size: 16px
}

.brand-text .tag {
    font-size: 12px;
    opacity: 0.95
}


nav.main-nav {
    display: flex;
    align-items: center;
    gap: 10px
}

.nav-link {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    background: transparent;
    border: 0;
    transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
    background: rgba(64, 224, 208, 0.15);
    box-shadow: 0 4px 10px rgba(64, 224, 208, 0.2)
}


.btn-primary {
    background: rgba(255, 255, 255, 0.12);
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.18)
}


/* DROPDOWN MENU */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 2px;
    overflow: hidden;
    z-index: 1001;
}

/* Add padding to dropdown to capture hover area */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(64, 224, 208, 0.2);
    color: #40e0d0;
}

.dropdown:hover .dropdown-content {
    display: block;
}


.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 18px;
    padding: 6px
}

@media (max-width:768px) {
    header.site-header {
        padding: 24px 20px;
        min-height: 80px;
    }

    header.site-header .brand {
        left: 15px;
    }

    .logo {
        width: 64px;
        height: 64px;
        font-size: 20px;
    }

    .brand-text .title {
        font-size: 22px;
    }

    .brand-text .tag {
        font-size: 16px;
    }

    nav.main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
        padding: 25px;
        gap: 15px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        border-top: 2px solid #40e0d0;
    }

    nav.main-nav.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
        font-size: 18px;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        margin-top: 10px;
        background: rgba(255, 255, 255, 0.1);
    }

    .dropdown-content a {
        padding: 14px 18px;
        font-size: 16px;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .menu-toggle {
        display: inline-block;
        position: absolute;
        right: 20px;
        font-size: 28px;
        padding: 12px;
        cursor: pointer;
    }

    .btn-primary {
        padding: 16px 20px;
        font-size: 18px;
    }
}