/* Base styles yang digunakan di semua halaman */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-weight: bold;
}

/* Header Styles - Desktop Only */
@media (min-width: 769px) {
    .header {
        position: fixed;
        top: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        z-index: 1000;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 1rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .nav-logo {
        display: flex;
        align-items: center;
    }

    .nav-logo img {
        height: 50px;
    }

    .nav-menu {
        display: flex;
        align-items: center;
        gap: 2rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }
}
@media (min-width: 1024px) {
    .header {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        position: relative;
        left: 0;
        overflow-x: hidden;
    }
    .navbar {
        padding: 1rem 0;
        margin: 0;
        width: 100%;
        left: 0;
        position: relative;
        overflow-x: hidden;
    }
    .nav-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        margin: 0;
        position: relative;
        left: 0;
        overflow-x: hidden;
    }
    .nav-logo {
        display: flex;
        justify-content: flex-start;
        margin: 0;
        padding: 0;
        position: relative;
        left: 0;
    }
    .nav-menu {
        margin-left: auto;
        margin-right: 0;
        padding-right: 0;
        justify-content: flex-end;
        position: relative;
        right: 0;
    }
}.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding-bottom: 5px;
 
}

.nav-menu a:hover {
    color: white;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #c0c0c0;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover:after {
    width: 100%;
}

/* Dropdown Menu Styles */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu .dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-menu .dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .dropdown-menu li {
    margin: 0;
}

.nav-menu .dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-menu .dropdown-menu a:hover {
    background: rgba(192, 192, 192, 0.1);
    border-left-color: #c0c0c0;
    color: white;
    padding-left: 2rem;
}

.nav-menu .dropdown-menu a:after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Footer Styles */
/* Footer lama
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 80px;
} */

.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    text-align: center;
}

.footer-menu-desktop {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    margin-bottom: 20px;
}

.footer-menu-desktop a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.footer-menu-desktop a:hover {
    color: white;
}

.footer-menu-desktop a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #c0c0c0;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-menu-desktop a:hover:after {
    width: 100%;
}

.footer-copyright {
    border-top: 1px solid #555;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #ccc;
}

/* Mobile Footer Menu */
.footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.footer-item {
    flex: 1;
    text-align: center;
}

.footer-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 0.7rem;
    padding: 5px;
    transition: color 0.3s ease;
}

.footer-item a:hover {
    color: #4CAF50;
}

.footer-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.footer-item a:hover img {
    filter: grayscale(0);
}

/* Responsive */
@media (max-width: 768px) {
    /* 
     * Semua style untuk header mobile sekarang berada di file:
     * /assets/css/components/mobile-header.css
     * 
     * Ini memberikan solusi terpusat untuk header mobile
     * yang konsisten di semua halaman
     */
    
    .navbar {
        padding: 0;
        height: 60px;
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    
    /* 
     * Semua style lainnya untuk header mobile telah dipindahkan ke
     * /assets/css/components/mobile-header.css
     */
    
    .nav-menu.active {
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        height: auto;
        max-height: calc(100vh - 60px); /* Sesuaikan dengan tinggi header */
        overflow-y: auto;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Kode untuk mobile header telah dipindahkan ke mobile-header.css */
    
    /* Footer desktop disembunyikan di mobile */
    .footer {
        display: none;
    }
    
    /* Footer mobile ditampilkan */
    .footer-menu {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #000;
        border-top: 1px solid #333;
        z-index: 1000;
        padding: 12px 0;
        justify-content: space-around;
        align-items: center;
    }
    
    .footer-item {
        flex: 1;
        text-align: center;
        max-width: calc(100% / 6);
    }
    
    .footer-item a {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #dadada;
        text-decoration: none;
        padding: 5px 2px;
        transition: color 0.3s ease;
    }
    
    .footer-item img {
        width: 20px;
        height: 20px;
        margin-bottom: 3px;
        filter: brightness(0.8);
        object-fit: contain;
    }
    
    .footer-item span {
        font-size: 0.6rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .footer-item a:hover {
        color: #fff;
    }
    
    .footer-item a:hover img {
        filter: brightness(1);
    }
    
    /* Padding bottom untuk body agar konten tidak tertutup footer mobile */
    body {
        padding-bottom: 75px;
    }
}

@media (min-width: 769px) {
    .footer-menu {
        display: none !important;
    }
    /* Styles untuk desktop header telah dipindahkan ke mobile-header.css */
}

/* Diskon Notice Styles */
.diskon-notice {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.diskon-notice h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.diskon-notice p {
    margin: 8px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.diskon-notice strong {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 5px;
}