/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #d4af37; /* Gold color for body text */
}

header {
    background: #fff; /* White color for header bar */
    color: #d4af37; /* Gold color for header text */
    padding: 1rem;
    position: relative;
    border-bottom: 2px solid #d4af37; /* Optional: Add a gold border at the bottom of the header */
    height: 180px; /* Increase header size to fit the logo properly */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    font-family: 'Poppins', sans-serif; /* Match header text font with logo font */
    font-weight: 700;
    margin: 0;
}

.logo {
    width: 150px; /* Increased logo size by 50% */
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%); /* Center the logo vertically */
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center; /* Center the navigation text */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #d4af37; /* Gold color for nav links */
    text-decoration: none;
    font-weight: 700;
    padding-bottom: 15px; /* Increase padding to move text up */
    display: inline-block; /* Ensure padding is applied properly */
    line-height: 20px; /* Adjust line height if needed */
}

main {
    padding: 20px;
}

section {
    margin-bottom: 20px;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.blank-row {
    height: 50px; /* Adjust the height as needed */
}

/* Booking Section Styles */
.booking-section {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.booking-section h2 {
    text-align: center;
    color: #a68a36;
    margin-bottom: 20px;
}

.booking-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 700;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    width: 100%;
    box-sizing: border-box; /* Ensure padding doesn't affect the width */
}

.property-details {
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-top: 20px;
}

.property-details h3 {
    color: #a68a36;
    margin-bottom: 15px;
    font-size: 20px;
}

.property-details p {
    margin: 0 0 10px;
    font-size: 16px;
}

.btn {
    background-color: #a68a36;
    color: #fff;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
}

.btn:hover {
    background-color: #5c3d00;
}

/* Property Item Styling on the Properties Page */
.property-item {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.property-images {
    display: flex;
    gap: 20px; /* Maintain gap between images */
    flex-wrap: wrap;
}

.property-image {
    width: 225px; /* Reduce width by 50% */
    height: 150px; /* Reduce height by 50% */
    object-fit: cover;
    border-radius: 5px;
}

/* Modal for Enlarged Images */
#imageModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    padding-top: 60px;
}

#modalImage {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

#closeImageModal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
}

#closeImageModal:hover,
#closeImageModal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Review Button Styling */
.leave-review-btn {
    margin-top: 10px; /* Adjust the top margin as needed */
    background-color: #a68a36;
    color: #fff;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

.leave-review-btn:hover {
    background-color: #5c3d00;
}

.blank-row {
    height: 50px; /* Adjust the height as needed */
}

/* Manage Users & Manage Properties Table Styling */
#userList table, #propertiesList table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#userList th, #userList td, #propertiesList th, #propertiesList td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

#userList th, #propertiesList th {
    background-color: #f7f7f7;
    color: #333;
    font-weight: bold;
}

#userList tbody tr:nth-child(even), #propertiesList tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

#userList tbody tr:hover, #propertiesList tbody tr:hover {
    background-color: #f1f1f1;
}

/* Button Styling within the Table */
#userList button, #propertiesList button {
    background-color: #a68a36; /* Gold color */
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
    font-size: 14px;
}

#userList button:hover, #propertiesList button:hover {
    background-color: #856627; /* Darker gold on hover */
}

/* Add space below the table */
#userList, #propertiesList {
    margin-bottom: 100px; /* Adjust this value if needed */
}

/* Manage Bookings Table Styling */
#bookingList table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#bookingList th, #bookingList td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

#bookingList th {
    background-color: #f7f7f7;
    color: #333;
    font-weight: bold;
}

#bookingList tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

#bookingList tbody tr:hover {
    background-color: #f1f1f1;
}

/* Button Styling within the Table */
#bookingList button {
    background-color: #a68a36; /* Gold color */
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
    font-size: 14px;
}

#bookingList button:hover {
    background-color: #856627; /* Darker gold on hover */
}

/* Add space below the table */
#bookingList {
    margin-bottom: 100px; /* Adjust this value if needed */
}

.payment-form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 100px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.payment-form h3 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.payment-form .form-group {
    margin-bottom: 15px;
}

.payment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.payment-form input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.payment-form input[type="text"]:focus {
    border-color: #bda253;
    outline: none;
    box-shadow: 0 0 5px rgba(189, 162, 83, 0.5);
}

.btn-submit {
    background-color: #bda253;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #a48639;
}

/* Note Section Styling */
.note-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 5px;
    color: #856404;
    text-align: center;
    font-size: 1em;
}

.note-section a {
    color: #856404;
    text-decoration: underline;
}

.note-section a:hover {
    text-decoration: none;
    color: #704b03;
}
