
/* Pengaturan dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
}

/* Navbar */
header {
    background-color: white;
    padding: 20px 8%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #1d4ed8;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.navbar a {
    text-decoration: none;
    color: #334155;
}

.navbar a:hover {
    color: #2563eb;
}

/* Beranda */
.hero {
    min-height: 450px;
    padding: 100px 8%;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #dbeafe, #eff6ff);
}

.hero-content {
    max-width: 550px;
}

.subtitle {
    color: #2563eb;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 45px;
    margin-bottom: 20px;
}

.hero-content p {
    line-height: 1.7;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    background-color: #2563eb;
    color: white;
    padding: 13px 25px;
    border-radius: 7px;
    text-decoration: none;
}

.btn:hover {
    background-color: #1d4ed8;
}

/* Bagian umum */
.section {
    padding: 70px 8%;
    text-align: center;
}

.section h2 {
    margin-bottom: 20px;
    font-size: 30px;
}

.section > p {
    line-height: 1.7;
}

/* Kamar */
.rooms {
    background-color: #eff6ff;
}

.room-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.room-card {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 4px 15px #00000010;
}

.room-image {
    background-color: #dbeafe;
    padding: 35px;
    font-size: 45px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.room-card h3 {
    margin-bottom: 12px;
}

.room-card p {
    margin-bottom: 15px;
    color: #64748b;
}

.room-card h4 {
    color: #2563eb;
}

/* Fasilitas */
.facilities {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.facilities div {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px #00000010;
}

/* Kontak */
.contact {
    background-color: #dbeafe;
}

.contact .btn {
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #1e293b;
    color: white;
    text-align: center;
    padding: 25px;
}

/* Tampilan HP */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        padding: 70px 8%;
    }

    .hero h1 {
        font-size: 34px;
    }

    .section h2 {
        font-size: 25px;
    }
}
