/* Reset & basic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Hero slider section full viewport */
.hero-slider {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 100vh;
    overflow: hidden;
}

/* Container for all slides */
.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Each slide absolute on top of each other */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

/* Active slide visible */
.slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

/* Text box container */
.text-box {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
    padding: 0 20px;
}

.text-box h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.text-box p {
    font-size: 1.5rem;
}

/* Reservation button absolute di hero */
.reservation-btn {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-decoration: none;
}

.reservation-btn .btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    width: 250px;
    padding: 15px 0;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    text-decoration: none; /* hilangkan underline default <a> */
    outline: none; /* hilangkan outline default */
}

.reservation-btn .btn:focus {
    outline: none; /* pastikan tidak ada garis biru saat focus */
    box-shadow: none;
}

.reservation-btn .btn:hover {
    background-color: #e9c347;
    color: #fff;
    border-color: #e9c347;
}

/* ===================== */
/* Responsive settings   */
/* ===================== */

/* Tablet */
@media (max-width: 991px) {
    .text-box h1 {
        font-size: 2.2rem;
    }

    .text-box p {
        font-size: 1.2rem;
    }

    .reservation-btn .btn {
        width: 200px;
        font-size: 1rem;
        padding: 12px 0;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .text-box h1 {
        font-size: 1.8rem;
    }

    .text-box p {
        font-size: 1rem;
    }

    .reservation-btn .btn {
        width: 180px;
        font-size: 0.9rem;
        padding: 10px 0;
    }
}
