body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: purple;
    background: linear-gradient(to bottom, #f8f9fa, #e6ebee);
    color: #333;
    line-height: 1.7;
}

.hero {
    background-image: url('images/hotel_view.avif');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.hotel-info {
    max-width: 900px;
    margin: 20px auto;
    padding: 30px;
    background-color: #fff7f0;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.hotel-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hotel-info p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.room-selection {
    max-width: 900px;
    margin: 20px auto;
    background-color: #fdf1e0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}


.room {
    display: flex;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.room:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.room img {
width: 150px;
height: auto;
border-radius: 8px;
object-fit: cover;
}

.room div {
flex-grow: 1; 
}

.room h3 {
font-size: 1.5rem;
margin: 0 0 5px 0;
}

.room p {
margin: 0; /* Reset margin to 0 for consistent spacing */
font-size: 1rem; /* Ensure all descriptions are the same size */
}


.room-price-wrapper {
display: flex;
flex-direction: column; 
align-items: flex-end; 
}

.room-price {
font-size: 1.2rem;
font-weight: bold;
color: #ff6f61;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

form input:focus, form select:focus {
    border-color: #ff6f61;
    outline: none;
}

form button {
    background-color: #ff6f61;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    width: 100%;
    max-width: 150px;
}

form button:hover {
    background-color: #ff3e30;
}



/* Responsive Design */
@media (max-width: 600px) {
    .hero {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .room {
        flex-direction: column;
        align-items: flex-start;
    }

    form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    form button {
        grid-column: span 2;
        max-width: 200px;
    }

    .room {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .room img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .room-price-wrapper {
        align-items: center;
    }
}
