/* General body and container styling */
body {
    background-color: #f4f7f6; /* Light gray background */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #000;;
}

.form-container {
    max-width: 800px; /* Limits the width for a cleaner look */
    margin: 40px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Soft shadow for depth */
}

/* Headings and introductory text */
h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.list-property-page p {
    font-size: 1.1em;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
}
/* Form and section styling */
.property-form {
    display: flex;
    flex-direction: column;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h2 {
    font-size: 1.8em;
    color: #000;
    margin-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 5px;
}

/* Input fields */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box; /* Ensures padding doesn't affect total width */
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2); /* Light blue glow on focus */
    outline: none;
}

/* Placeholder styling */
::placeholder {
    color: #bdc3c7;
    opacity: 1; /* Ensures consistency across browsers */
}

/* Form row for side-by-side inputs */
.form-row {
    display: flex;
    gap: 15px;
}

.form-row input {
    flex-grow: 1;
}
/* Submit button */
.submit-btn {
    padding: 15px 30px;
    background-color: var(--logo-red); /* A friendly green */
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 20px;
    width:250px;
    margin-left: auto;
    margin-right: auto;
}

.submit-btn:hover {
    background-color: #27ae60;
    transform: translateY(-2px); /* Slight lift on hover */
}
/* Reduce font size for all form elements and headings */
.form-container h1
{
    font-size:1.2em;
}
.list-property-page p,
.form-section h2,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea,
.submit-btn {
    font-size: 0.9em; /* Smaller font size */
}

/* Apply a thin font weight */
body {
    font-weight: 300; /* Use a lighter font weight, e.g., 300 for thin or light */
}

/* Override specific elements if needed */
.submit-btn {
    font-weight: 400; /* You might want the button text to be slightly bolder for readability */
}

/* Ensure headings remain somewhat distinct */
.form-section h2 {
    font-weight: 400;
}

/* For desktops and larger screens */
@media (min-width: 769px) {
    main {
        margin-top: 150px;
    }
}

/* For mobile devices */
@media (max-width: 768px) {
    main {
        margin-top: 100px;
    }
}