/* ==================== HEADER =================== */
.header {
    width: 1100px;
    height: 100px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.header img {
    height: 38px;
    width: auto;
    margin-left: 0;
}

.header .search-box {
    position: relative;
    height: 40px;
    width: 350px;
}

.header .search-box input[type="text"] {
    width: 100%;
    height: 100%;
    padding: 0 45px 0 12px;
    border-radius: 25px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
    text-align: center;
}

.header .search-box button {
    position: absolute;
    right: 2px;
    top: 2px;
    bottom: 2px;
    width: 36px;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.header .search-box button:hover {
    background: #fafafa;
}

.header .search-box button::before {
    content: "🔍";
    font-size: 16px;
}

/* ==================== NAVBAR =================== */
.navbar {
    font-size: 16px;
    max-width: 1100px;
    margin: 0 auto;
    height: 40px;
    overflow: visible;
    background: linear-gradient(0deg, rgba(255,140,0,1) 0%, rgba(207,119,4,1) 50%, rgba(255,140,0,1) 100%);
    box-sizing: border-box;
}

.navbar, .navbar * {
    box-sizing: border-box;
}

.navbar a, .dropdown .dropbtn {
    float: left;
    font-size: 16px;
    line-height: 18px;
    color: white;
    padding: 11px 18px;
    text-decoration: none;
    font-weight: 700;
    background-color: transparent;
    cursor: pointer;
    border:none;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
    background-color: rgba(255,140,0,0.5);
    color: #fff;
}

/* DROPDOWN */
.dropdown {
    float: left;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0; /* bisa diganti left:0 untuk buka ke kanan */
    background: linear-gradient(0deg, rgba(255,140,0,1) 0%, rgba(207,119,4,1) 50%, rgba(255,140,0,1) 100%);
    min-width: 160px;
    z-index: 999;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    font-size:14px;
}

.dropdown-content a { font-size:14px;
    display: block;
    width: 100%;
    padding: 12px 17px;
    color: white;
    text-decoration: none;
    text-align: left;
    border-bottom: 1px solid white;
    background-color: transparent;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(255, 140, 0, 0.3);
}

/* SHOW DROPDOWN */
.dropdown:hover .dropdown-content {
    display: block;
}

/* ==================== RESPONSIVE =================== */
@media (max-width: 761px) {
    .navbar {
        flex-direction: column;
        height: auto;
    }
    .navbar a, .dropdown .dropbtn {
        float: none;
        width: 100%;
        text-align: left;
    }
    .dropdown-content {
        position: relative;
        right: auto;
        top: auto;
        box-shadow: none;
    }
}
 