/* Navbar Custom */

@font-face {
    font-family: "Gotham";
    src: url("/fonts/GOTHAM-MEDIUM.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Gotham";
    src: url("/fonts/GOTHAM-BOLD.TTF") format("truetype");
    font-weight: bold;
    font-style: normal;
}

html, body {
    overflow-x: visible;
}

body {
    font-family: "Gotham", sans-serif;
}

.navbar-custom {
    background-color: #ffcc00;
    font-weight: bold;
    position: sticky !important;
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
    color: #dc2525;
}

.navbar-custom .nav-link {
    margin-right: 1rem;
}

.navbar-custom .nav-link.active {
    color: white;
}

.navbar-custom .nav-link:hover {
    text-decoration: underline;
    color: white;
}

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler-icon-custom {
    width: 25px;
    height: 2px;
    background-color: #dc2525;
    display: block;
    margin: 6px 0;
}

/* Sidebar Modal untuk Mobile */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background-color: #ffcc00;
    padding: 20px;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    font-weight: bold;
}

.mobile-sidebar.show {
    transform: translateX(0);
}

.mobile-sidebar a {
    display: block;
    color: #dc2525;
    padding: 10px 0;
    text-decoration: none;
}

.mobile-sidebar a:hover,
.mobile-sidebar a.active {
    text-decoration: underline;
    color: white;
}

/* Overlay gelap */
.overlay {
    display: none;
    position: fixed;
    z-index: 1049;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
}

.overlay.show {
    display: block;
}

.footer-custom {
    background-color: #ffcc00;
    color: white;
    font-size: 0.95rem;
    overflow-x: hidden;
}

.footer-icon {
    width: 45px;
    height: auto;
    transition: transform 0.2s ease;
    max-width: 100%;
}

.footer-icon:hover {
    transform: scale(1.1);
}

.sub-title {
    font-weight: bold;
    color: #dc2525;
}

.description {
    color: #dc2525;
}

.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25d366;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.wa-float:hover {
    transform: scale(1.1);
}

.wa-icon {
    width: 40px;
    height: 40px;
    display: block;
}

@media (max-width: 768px) {
    .footer-icon {
        width: 35px;
    }

    .footer-custom {
        height: 50%;
    }

    .sub-title {
        font-size: 1rem;
    }

    .description {
        font-size: 0.8rem;
    }
}
