body {
    background-color: #0a0a0a;
    color: #f5f5f5;
    margin: 0;
    font-family: Arial, sans-serif;
    text-align: center;
}
header .logo {
    width: 200px;
    max-width: 60%;
    margin: 2rem auto 1rem;
    display: block;
}
h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: #ffffff;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}
.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}
.appliances {
    margin: 1.5rem auto;
    font-size: 1rem;
    max-width: 800px;
    color: #cccccc;
    line-height: 1.6;
}
.tagline {
    font-weight: bold;
    color: #ff5c5c;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

/*
 * Service fee and booking link styling on the home page.
 */
.service-fee {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ff5c5c;
}
.booking-link {
    margin-bottom: 2rem;
}
.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #ff5c5c;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: #e05252;
}

/*
 * Booking page styles.
 */
.booking-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}
.booking-intro,
.payment-note {
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #cccccc;
}
.payment-note strong {
    color: #ffa07a;
}
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.form-group label {
    font-weight: bold;
    color: #f5f5f5;
}
.form-group input,
.form-group textarea {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #333333;
    background-color: #1a1a1a;
    color: #ffffff;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}
.form-group textarea {
    resize: vertical;
}
.submit-group {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.submit-group input[type="submit"] {
    background-color: #ff5c5c;
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.submit-group input[type="submit"]:hover {
    background-color: #e05252;
}
footer {
    background-color: #0f0f0f;
    padding: 2rem 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    font-size: 0.9rem;
}
footer p {
    margin: 0.3rem 0;
}
footer a {
    color: #ffa07a;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
@media (max-width: 600px) {
    h1 {
        font-size: 1.5rem;
    }
    .tagline {
        font-size: 1rem;
    }
}

/*
 * Responsive tweaks
 *
 * To ensure the site looks great on small screens, we adjust the layout of
 * the gallery and footer using media queries. On tablets (≤768px), the
 * gallery shifts to two columns and the footer stacks vertically. On
 * very small devices (≤480px), the gallery switches to a single column
 * and reduces text size slightly for better readability.
 */

@media (max-width: 768px) {
    /* Display gallery items in two columns on medium screens */
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    /* Stack footer sections vertically and center align them */
    footer {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Display gallery items in a single column on narrow screens */
    .gallery {
        grid-template-columns: 1fr;
    }
    /* Slightly reduce font sizes for very small devices */
    .appliances,
    .tagline,
    footer {
        font-size: 0.8rem;
    }
}
