/* =================================== */
/* VARIABEL & GLOBAL STYLES     */
/* =================================== */
:root {
    --primary-color: #BB9A45;
    --button-color: #FFC803;
    --white-color: #FFFFFF;
    --black-color: #000000;
    --dark-bg: #111111;
    --font-family: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url('images/background.jpg');
    background-color: var(--dark-bg);
    background-size: cover;
    background-attachment: fixed;
    font-family: var(--font-family);
    font-weight: 400;
    color: var(--white-color);
    overflow-x: hidden;
}

/* =================================== */
/* NAVBAR (DESKTOP)             */
/* =================================== */
.navbar {
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    width: 100%;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    z-index: -1;
}

.navbar-logo {
    height: 35px;
    display: block;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 24px;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    color: var(--button-color);
}


/* =================================== */
/* HERO SECTION                 */
/* =================================== */
#hero {
    text-align: center;
    padding: 48px 0;
}

.hero-logo {
    width: 267px;
    height: auto;
}

/* =================================== */
/* SECTION STYLES               */
/* =================================== */
.content-section {
    padding: 80px 5%;
    text-align: center;
}

.content-section h2 {
    font-weight: 800;
    font-size: 42px;
    color: var(--button-color);
    margin-bottom: 40px;
}


/* =================================== */
/* EVENTS SLIDER                */
/* =================================== */
.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.events-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.event-card {
    min-width: calc(20% - 20px);
}

.event-card img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--button-color);
    color: var(--black-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    z-index: 10;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}


/* =================================== */
/* MENU SECTION                 */
/* =================================== */
.menu-filters {
    display: inline-flex;
    justify-content: center;
    background: #232323;
    border-radius: 18px;
    padding: 5px;
    margin-bottom: 2em;
    flex-wrap: wrap;
    gap: 5px;
}

.filter-btn {
    background: none;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    border: none;
    padding: 15px 25px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.menu-item {
    text-align: center;
}

.menu-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    margin-bottom: 10px;
}

.menu-item p {
    color: #ccc;
    font-weight: 400;
}


/* =================================== */
/* FACILITIES SECTION           */
/* =================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.facility-card {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 30px;
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: scale(1.05);
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(187, 154, 69, 0.9) 20%, transparent 100%);
    z-index: 1;
}

.facility-card h3 {
    position: relative;
    z-index: 2;
    color: var(--white-color);
    font-size: 28px;
    font-weight: 800;
}


/* =================================== */
/* FOOTER */
/* =================================== */
footer#contact .contact-info a {
    color: #fff;
    transition: color 0.2s;
}

footer#contact .contact-info a:visited {
    color: #fff;
}

footer#contact .contact-info a:hover,
footer#contact .contact-info a:active {
    color: #ffb300;
}

footer#contact .contact-info {
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

footer#contact .footer-logo {
    margin-top: 1.5em;
    text-align: center;
}

body {
    background: url('images/background.jpg') no-repeat center center fixed;
    background-size: cover;
}

footer#contact {
    position: relative;
    background: url('images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 1;
}

footer#contact>.contact-info,
footer#contact>.footer-logo {
    position: relative;
    z-index: 2;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #0a0a0a;
    padding: 60px 8%;
    border-top: 1px solid var(--primary-color);
}

.contact-info h3 {
    color: var(--primary-color);
    font-family: var(--font-family);
    font-weight: 800;
    margin-bottom: 25px;
    font-size: 28px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 400;
    color: #ccc;
}

.footer-logo img {
    max-height: 100px;
    width: auto;
}

/* =================================== */
/* MOBILE RESPONSIVE STYLES (768px) */
/* =================================== */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .content-section {
        padding: 40px 5%;
    }

    .content-section h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .navbar {
        padding: 15px 5%;
    }

    .navbar-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(17, 17, 17, 0.95);
        backdrop-filter: blur(5px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }

    .nav-links.open {
        max-height: 300px;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        padding: 20px;
        display: block;
        width: 100%;
    }

    .hero-logo {
        width: auto;
        height: auto;
        max-width: 200px;
    }

    .slider-container {
        padding: 0;
    }

    .events-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 5% 15px 5%;
    }

    .events-slider::-webkit-scrollbar {
        height: 5px;
    }

    .events-slider::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

    .event-card {
        min-width: 160px;
        scroll-snap-align: start;
    }

    .slider-btn {
        display: none;
    }

    .menu-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        background-color: rgba(35, 35, 35, 0.8);
        padding: 15px;
        border-radius: 18px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 12px 10px;
        font-size: 14px;
        text-align: left;
        border-radius: 10px;
        height: auto;
        background: none;
        font-weight: 600;
    }

    .filter-btn.active {
        background: var(--primary-color);
        color: var(--white-color);
    }

    .menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .menu-item img {
        height: 120px;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
        /* 1 kolom, menumpuk vertikal */
        gap: 15px;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
}