/* General styling for header */
header {
    padding: 20px 0; /* Add padding to prevent content from touching edges */
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10; /* Ensure the header is on top */
}

/* General styling for footer */
footer {
    padding: 30px 10px; /* Add padding to prevent content from touching edges */
    background-color: #333;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 10;
}


/* Booking Section Styles */
.booking {
    position: relative;
    background: url('privaterentals.jpg') no-repeat center center/cover;
    min-height: calc(100vh - 100px);
    color: white;
    padding: 60px 20px 20px; /* Added top padding for gap from the header */
}

/* Overlay for Faded Background */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-button {
    display: flex;
    align-items: center;
}

.back-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.back-link svg {
    margin-right: 8px;
}

/* Container for Content */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px; /* Increased max width for two columns */
    margin: 0 auto;
}

/* Background for Form */
.form-background {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    border-radius: 10px; /* Rounded corners */
    padding: 30px; /* Increased padding for better spacing */
}

/* Booking Form Styles */
.booking-form {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for columns */
    gap: 20px; /* Increased spacing between form elements */
}

/* Form Column Styles */
.form-column {
    flex: 1 1 calc(50% - 10px); /* Two columns with spacing */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Gap between inputs */
}

/* Form Element Styles */
.booking-form input,
.booking-form select,
.booking-form textarea {
    padding: 12px; /* Increased padding for input fields */
    border: 1px solid #fff;
    border-radius: 5px; /* Slightly increased border-radius */
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Light background for better contrast */
    color: #333; /* Dark text color for better readability */
    font-size: 16px; /* Increased font size */
}

/* Improved Label Styles for Date Inputs */
label {
    margin-bottom: 5px; /* Space below the label */
    display: block; /* Block display for labels */
    color: #333; /* Dark color for better visibility */
}

/* Placeholder Styles */
.booking-form input::placeholder,
.booking-form select::placeholder,
.booking-form textarea::placeholder {
    color: #999; /* Light grey for placeholder text */
}

/* Button Styles */
.booking-form button {
    background-color: #333; /* Black background */
    color: white; /* White font color */
    padding: 14px; /* Increased padding for button */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth transition */
}

.booking-form button:hover {
    background-color: #555; /* Darker shade on hover */
}

/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
    .booking {
        min-height: 130vh;
    }
    .booking-form {
        flex-direction: column; /* Stack elements vertically on mobile */
    }

    .form-column {
        flex: 1 1 100%; /* Full width on mobile */
    }

    .container {
        padding: 0 15px; /* Reduce side padding for smaller screens */
    }

    .form-background {
        padding: 20px; /* Reduced padding on mobile */
    }
}

/* Heading Styles */
h2 {
    font-size: 28px;
    text-align: center;
    margin: 40px 0 20px; /* Add gap above the heading */
}

/* Instruction Text Styles */
.form-instruction {
    text-align: center; /* Center align the instruction text */
    margin-bottom: 20px; /* Space below the instruction text */
    font-size: 16px; /* Font size for the instruction */
    color: #fff; /* White text for contrast */
}

