/* Custom CSS untuk perbaikan layout */

/* ============================================
   HEADER FIXED DI ATAS
   ============================================ */
.main-header.style-two {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #ffffff;
}

/* ============================================
   HEADER TOP - Social Media Bar
   ============================================ */
.main-header.style-two .header-top {
    background: #3d3d3d;
    padding: 8px 0;
}

.main-header.style-two .header-top .top-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-header.style-two .header-top .social-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 15px;
}

.main-header.style-two .header-top .social-links li a {
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.main-header.style-two .header-top .social-links li a:hover {
    color: #ffc107;
}

/* ============================================
   HEADER LOWER - Logo & Menu
   ============================================ */
.main-header.style-two .header-lower {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-header.style-two .header-lower .outer-box {
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-header.style-two .header-lower .logo-box {
    flex-shrink: 0;
    padding: 0;
}

.main-header.style-two .header-lower .menu-area {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
}

/* ============================================
   NAVIGATION MENU
   ============================================ */
.main-menu .navigation {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu .navigation > li {
    position: relative;
    padding: 10px 0;
    margin: 0 5px;
}

.main-menu .navigation > li > a {
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    color: #333333;
    padding: 10px 12px;
    display: block;
    transition: all 0.3s ease;
}

.main-menu .navigation > li > a:hover,
.main-menu .navigation > li.current > a {
    color: #1a73e8;
}

/* Dropdown menu */
.main-menu .navigation > li > ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0 !important;
    padding: 10px 0;
    border-radius: 4px;
}

.main-menu .navigation > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu .navigation > li > ul li a {
    display: block;
    padding: 10px 20px;
    color: #333333;
    font-size: 13px;
    transition: all 0.3s ease;
}

.main-menu .navigation > li > ul li a:hover {
    background: #f5f5f5;
    color: #1a73e8;
}

/* ============================================
   STICKY HEADER - Disembunyikan karena header utama sudah fixed
   ============================================ */
.main-header.style-two .sticky-header {
    display: none !important;
}

/* ============================================
   CONTENT PADDING - Supaya tidak tertutup header
   ============================================ */
.boxed_wrapper > section:first-of-type,
.banner-section {
    padding-top: 140px !important;
    margin-top: 0 !important;
}

.banner-section.style-two {
    padding-top: 140px !important;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section.sec-pad.bg-color-1 {
    padding-top: 50px;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media only screen and (max-width: 1200px) {
    .main-menu .navigation > li > a {
        padding: 10px 8px;
        font-size: 12px;
    }
}

@media only screen and (max-width: 991px) {
    .boxed_wrapper > section:first-of-type,
    .banner-section,
    .banner-section.style-two {
        padding-top: 100px !important;
    }

    .main-header.style-two .header-lower .menu-area {
        display: none;
    }

    .mobile-nav-toggler {
        display: block !important;
    }
}

@media only screen and (max-width: 767px) {
    .boxed_wrapper > section:first-of-type,
    .banner-section,
    .banner-section.style-two {
        padding-top: 80px !important;
    }

    .main-header.style-two .header-top {
        display: none;
    }

    .main-header.style-two .header-lower .outer-box {
        padding: 10px 0;
    }
}

/* ============================================
   HIDE EMPTY ELEMENTS
   ============================================ */
.menu-right-content:empty {
    display: none;
}

.header-down {
    display: none;
}
