/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/

.custom-header {
    position: sticky;
    top: 0;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 999;
}

.container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo a {
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    color: #2563EB;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #2563EB;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: 40px;
    left: 0;
    background: #fff;
    padding: 10px 0;
    min-width: 180px;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.submenu li {
    padding: 8px 15px;
}

.submenu li a {
    display: block;
}

.dropdown:hover .submenu {
    display: block;
}

/* Right Section */
.right-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    background: #2563EB;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.login-btn:hover {
    opacity: 0.8;
}

#darkToggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* Mobile */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media(max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        background: white;
        width: 100%;
        padding: 20px;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }
}




.dark-mode {
    background: #111;
    color: #fff;
}

.dark-mode .custom-header {
    background: #1a1a1a;
}

.dark-mode a {
    color: #fff;
}
