/* ==========================================
   LAYOUT STYLES - Header, Sidebar, Content
   ========================================== */

/* Header */
.header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 15px 0;
}

#header-besar {
    display: none;
}

#header-kecil {
    display: block;
}

@media (min-width: 768px) {
    #header-besar {
        display: block;
    }
    #header-kecil {
        display: none;
    }
}

/* Title & Running Text */
.title {
    background-color: #2a2a2a;
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
}

.title-text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

/* Slide Show Images Container */
.slideshow-images-container {
    width: 100%;
    margin: 15px 0;
    border-radius: 10px;
    overflow: hidden;
}

.slideshow-images {
    display: none;
    position: relative;
}

.slideshow-images.fade-slideshow-images {
    animation: fade 1s ease-in-out;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.slideshow-images img {
    width: 100%;
    height: auto;
    display: block;
}

.numbertext-slideshow-images {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
}

/* Slot Section Layout */
.slot {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

/* Sidebar */
.slot-sidebar {
    flex: 0 0 200px;
    display: none;
}

@media (min-width: 1024px) {
    .slot-sidebar {
        display: block;
    }
}

.slot-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slot-sidebar-nav li {
    margin-bottom: 10px;
}

.slot-sidebar-nav a {
    display: block;
    padding: 10px 15px;
    color: #0066cc;
    text-decoration: none;
    background-color: #2a2a2a;
    border-radius: 4px;
    transition: all 0.3s;
}

.slot-sidebar-nav a:hover {
    background-color: #333;
    padding-left: 20px;
}

/* Content Area */
.content {
    flex: 1;
    min-width: 0;
}

.wrapper {
    background-color: #2a2a2a;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

#slot_leaks {
    background-color: #1a1a1a;
    border: 1px solid #333;
}

/* Menu Bottom (Fixed Mobile Navigation) */
.menu-bottom {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    z-index: 100;
    padding-bottom: 10px;
}

@media (min-width: 768px) {
    .menu-bottom {
        display: none;
    }
}

.sub-menu-bottom {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

.sub-menu-bottom:hover {
    color: #fff;
}

.icon-menu {
    width: 30px;
    height: 30px;
}

/* Responsive Bar (Mobile Sidebar Toggle) */
.res-bar {
    display: block;
}

@media (min-width: 1024px) {
    .res-bar {
        display: block;
    }
}

/* Buttons & Links */
.btn {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: bold;
}

.btn-primary {
    background-color: #0066cc;
    color: white;
}

.btn-primary:hover {
    background-color: #0052a3;
}

.btn:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}
