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

body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #222;
}

.navbar {
    background: #111827;
    color: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("images/room1.jpg");
    background-size: cover;
    background-position: center;
    height: 420px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.room-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

.room-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.room-content {
    padding: 20px;
}

.room-content h3 {
    margin-bottom: 10px;
}

.price {
    color: #2563eb;
    font-weight: bold;
    margin: 10px 0;
}

.form-box {
    background: white;
    padding: 30px;
    max-width: 450px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

.form-box h2 {
    margin-bottom: 20px;
}

.form-box input,
.form-box select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.message {
    padding: 12px;
    margin-bottom: 15px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 6px;
}

.error {
    background: #fee2e2;
    color: #991b1b;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

table th,
table td {
    padding: 14px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background: #111827;
    color: white;
}

@media(max-width: 768px) {
    .room-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 34px;
    }

    .navbar {
        flex-direction: column;
        gap: 10px;
    }
}