body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/parkedimage.jpg') no-repeat center center;
    background-size: cover;
    animation: panAndZoom 7s ease-out forwards;
    z-index: -1;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #2e7d32; /* Green */
    margin-bottom: 0.625rem;
    font-family: 'Pacifico', cursive;
    text-align: center;
}

p {
    font-size: clamp(1rem, 3vw, 1.125rem);
    line-height: 1.5;
    margin: 0.625rem 0;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #f57c00; /* Orange */
    margin-top: 1.25rem;
}

.footer {
    margin-top: 1.875rem;
    font-size: clamp(0.875rem, 2.5vw, 0.875rem);
    color: #666;
    text-align: center;
}

.back-link {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: clamp(1rem, 3vw, 1.125rem);
    color: #2e7d32; /* Green */
    text-decoration: none;
    border: 2px solid #2e7d32;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.back-link:hover {
    background-color: #2e7d32;
    color: #fff;
}

@keyframes panAndZoom {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.5) translateY(-10%); }
}

/* Form-specific styles */
.form-window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px; /* 9 units */
    height: 800px; /* 16 units */
    max-width: 90vw;
    max-height: 90vh;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 1;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.form-row label {
    flex: 1;
    text-align: right; /* Right-justify titles */
    padding-right: 1rem;
    font-size: clamp(1rem, 3vw, 1.125rem);
    color: #2e7d32; /* Green */
}

.form-row input,
.form-row select,
.form-row textarea {
    flex: 2;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    text-align: left; /* Left-justify fields */
}

.form-row textarea {
    resize: vertical;
}

.form-row input[type="checkbox"] {
    width: auto;
}

.map-field {
    flex: 2;
    height: 200px;
    width: 100%;
    display: block;
    margin-bottom: 1rem;
}

.map-button {
    display: block;
    width: 100%;
    margin: 0 auto 1rem auto;
    padding: 0.5rem 1rem;
    background-color: #2e7d32; /* Green */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    text-align: center;
}

.map-button:hover {
    background-color: #1b5e20; /* Darker green */
}

.submit-button {
    flex: 2;
    padding: 0.5rem 1rem;
    background-color: #f57c00; /* Orange */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(1rem, 3vw, 1.125rem);
    text-align: center;
}

.submit-button:hover {
    background-color: #e65100; /* Darker orange */
}

@media (max-width: 768px) {
    .form-window {
        width: 90vw;
        height: auto;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row label {
        text-align: left;
        padding-right: 0;
        margin-bottom: 0.5rem;
    }

    .form-row input,
    .form-row select,
    .form-row textarea,
    .map-field,
    .map-button,
    .submit-button {
        width: 100%;
    }
}
