/* Top Bar Styles - Yellow Dark Theme */
.top-bar {
    background-color: #1A1A1A;
    color: #FFD700;
    padding: 8px 0;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 0;
    border-bottom: none;
}

.top-bar .container {
    padding: 0 15px;
}

.top-bar-info {
    display: flex;
    align-items: center;
}

.top-bar-info i {
    margin-right: 8px;
    font-size: 14px;
}

.top-bar-info span {
    color: #FFD700;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.whatsapp-link {
    color: #FFD700;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 2px 8px;
    border-radius: 4px;
}

.whatsapp-link:hover {
    color: #FFD700;
    text-decoration: none;
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-1px);
}

.whatsapp-link i {
    margin-right: 8px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover i {
    transform: scale(1.1);
}

.whatsapp-link span {
    color: white;
    font-weight: 500;
}

/* Responsive Top Bar */
@media (max-width: 768px) {
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar .row {
        flex-direction: column;
        text-align: center;
    }
    
    .top-bar .col-md-8,
    .top-bar .col-md-4 {
        width: 100%;
        text-align: center;
        margin-bottom: 3px;
    }
    
    .top-bar .col-md-4 {
        margin-bottom: 0;
    }
    
    .top-bar-contact {
        justify-content: center;
    }
    
    .top-bar-info {
        justify-content: center;
    }
    
    .top-bar-info span {
        font-size: 11px;
        line-height: 1.2;
    }
    
    .whatsapp-link span {
        font-size: 12px;
    }
    
    .whatsapp-link i {
        font-size: 14px;
    }
}

/* Header Position Adjustment for Top Bar */
body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove any gaps between top bar and header */
.top-bar + #header {
    margin-top: 0 !important;
}

/* Ensure header stays on top and has proper background */
#header {
    position: fixed !important;
    z-index: 997 !important;
    left: 0 !important;
    right: 0 !important;
    transition: all 0.5s ease !important;
    background: transparent !important;
    margin-top: 0 !important;
}

/* Header default state (not scrolled) - menempel dengan top bar */
#header:not(.header-fixed) {
    padding: 20px 0 !important;
    height: 72px !important;
    background: transparent !important;
    border-top: none !important;
}

/* Header fixed state (scrolled) */
#header.header-fixed {
    background: rgba(52, 59, 64, 0.9) !important;
    padding: 20px 0 !important;
    height: 72px !important;
    border-top: none !important;
}

/* Navigation menu colors - ensure white text */
.nav-menu a {
    color: #fff !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

.nav-menu a:hover {
    color: #fff !important;
}

/* Logo colors - ensure white text */
#header #logo h1 a, 
#header #logo h1 a:hover {
    color: #fff !important;
    text-decoration: none !important;
}

#header #logo h2 {
    color: #fff !important;
}

#header #logo h2.d-inline.text-light {
    color: #fff !important;
}

/* Navigation menu active and hover states */
.nav-menu > li > a:before {
    background-color: #052249 !important;
    content: "" !important;
    position: absolute !important;
    width: 100% !important;
    height: 2px !important;
    bottom: 0 !important;
    left: 0 !important;
    visibility: hidden !important;
    transform: scaleX(0) !important;
    transition: all 0.3s ease-in-out 0s !important;
}

.nav-menu a:hover:before, 
.nav-menu li:hover > a:before, 
.nav-menu .menu-active > a:before {
    visibility: visible !important;
    transform: scaleX(1) !important;
}

/* Dropdown menu styling */
.nav-menu ul {
    margin: 4px 0 0 0 !important;
    border: 1px solid #e7e7e7 !important;
}

.nav-menu ul li {
    background: #fff !important;
}

.nav-menu ul li a {
    padding: 10px !important;
    color: #333 !important;
    transition: 0.3s !important;
    display: block !important;
    font-size: 13px !important;
    text-transform: none !important;
}

.nav-menu ul li a:hover {
    background: #052249 !important;
    color: #fff !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #header:not(.header-fixed) {
        padding: 15px 0 !important;
        height: 62px !important;
    }
    
    #header.header-fixed {
        padding: 15px 0 !important;
        height: 62px !important;
    }
    
    #header #logo h1 {
        font-size: 24px !important;
    }
    
    #header #logo h2 {
        font-size: 18px !important;
    }
    
    #header #logo img {
        max-height: 35px !important;
        width: 35px !important;
    }
}

/* Footer Styles */
#footer {
    background-color: #222;
    color: #fff;
    padding: 40px 0 20px;
    font-size: 14px;
}

#footer .footer-content {
    margin-bottom: 30px;
}

#footer .footer-section {
    margin-bottom: 30px;
}

#footer h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

#footer .business-info {
    margin-bottom: 15px;
}

#footer .business-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

#footer .business-info p {
    margin-bottom: 8px;
    line-height: 1.6;
}

#footer .social-links {
    margin-top: 15px;
}

#footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

#footer .social-links a:hover {
    background-color: #007bff;
    text-decoration: none;
    color: #fff;
}

#footer .payment-info {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

#footer .payment-info h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

#footer .bank-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 4px solid #c41e3a;
}

#footer .bank-info strong {
    color: #ffffff;
    font-size: 16px;
    display: block;
    margin-bottom: 2px;
}

#footer .bank-info:last-of-type {
    margin-bottom: 15px;
}

#footer .bank-logos {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

#footer .bank-logos img {
    height: 30px;
    width: auto;
    background-color: #fff;
    padding: 5px;
    border-radius: 4px;
}

#footer .footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
}

#footer .footer-bottom .copyright {
    color: #ccc;
    font-size: 12px;
}

#footer .footer-bottom .credits {
    color: #aaa;
    font-size: 11px;
    margin-top: 5px;
}

#footer .footer-bottom .credits a {
    color: #007bff;
    text-decoration: none;
}

#footer .footer-bottom .credits a:hover {
    text-decoration: underline;
}

/* Location Map */
#footer .location-map {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

#footer .location-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
}

/* Responsive */
@media (max-width: 768px) {
    #footer .footer-section {
        margin-bottom: 25px;
    }
    
    #footer .bank-logos {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #footer .social-links {
        text-align: center;
    }
}
