/* ======== GLOBAL ======== */
* {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background-color: #011627;
    color: #fdf6e3;
}


/* ======== NAVBAR ======== */
.navbar {
    background-color: #011627 !important;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand,
.navbar-nav .nav-link {
    color: #fdf6e3 !important;
    font-weight: 600;
    font-size: 1rem;
}

.navbar-nav .nav-link:hover {
    color: #00bcd4 !important;
}

#mainNav {
    transition: top 0.3s;
}


/* ======== DROPDOWN ======== */
.dropdown-menu {
    background-color: #011627;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item {
    color: #fdf6e3 !important;
    transition: color 0.2s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
    background-color: transparent !important;
    color: #00bcd4 !important;
    font-weight: 600;
}


/* ======== JUMBOTRON ======== */
.jumbotron {
    background-image: url('img/Lokasi.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    margin-bottom: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jumbotron .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.jumbotron .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fdf6e3;
}

.jumbotron .display-4 {
    font-weight: 800;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.jumbotron .lead {
    font-size: 1.5rem;
    color: #fdf6e3;
}


/* ======== BUTTONS ======== */
.btn-primary {
    background-color: #002855;
    border: none;
    color: #d4f1f4;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #073b4c;
    color: #ffffff;
}

.btn-transparent {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    position: relative;
    z-index: 1;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-transparent:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.btn-custom {
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-custom:hover {
    background-color: #ffca2c;
    color: black;
}


/* ======== SECTION: LOCATION ======== */
.location-section {
    background-image: url('img/beranda.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.location-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.location-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    max-width: 700px;
    width: 100%;
}

.location-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

.location-content p {
    font-size: 1rem;
}

.info-section {
    background-color: #111;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.location-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    margin: 0 auto;
    max-width: 400px;
}

.location-image:hover {
    transform: scale(1.02);
}

.location-image img {
    width: 100%;
    display: block;
}


/* ======== SECTION: WELCOME ======== */
.welcome-section {
    background-color: #011627;
    color: #fdf6e3;
}

.welcome-section h2 {
    font-weight: 700;
}

.welcome-section p {
    font-size: 1.1rem;
    line-height: 1.8;
}


/* ======== SECTION: PARLEMEN ======== */
.parlemen-section img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.parlemen-section img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

#parlemen img:hover {
    transform: none !important;
    transition: none !important;
    filter: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}


/* ======== HOVER CARD PRODUK HUKUM ======== */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 188, 212, 0.3);
}

.card-body {
    transition: background-color 0.3s ease;
}

.card:hover .card-body {
    background-color: #f1f1f1;
}

.card-body:hover {
    cursor: pointer;
}


/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
    .location-content h1 {
        font-size: 1.8rem;
    }

    .location-content p {
        font-size: 0.95rem;
    }

    .location-section {
        height: auto;
        padding: 60px 0;
    }
}


/* ======== UTILITIES ======== */
.custom-indent {
    padding-left: 1.5em;
    text-indent: -1.2em;
}


/* ======== FOOTER CUSTOM ======== */
.footer-custom {
    position: relative;
    background-color: #111827;
    color: #f3f4f6;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}

.footer-custom p {
    transition: color 0.3s ease;
}

.footer-custom p:hover {
    color: #facc15;
}

.footer-custom hr {
    border-top: 2px solid #374151;
    border-radius: 5px;
}


/* ======== HOVER ANIMASI GAMBAR (UMUM) ======== */
.img-hover-zoom {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-hover-zoom:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}