/* Basic Reset */
body, h1, p, table, th, td, form, label, input, textarea, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5e6d4; /* matches homepage */
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

h1 {
    color: #6f4e37;
    padding: 20px;
    font-size: 24px;
}

#description {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
}

#map {
    width: 90%;
    max-width: 1000px;
    height: 500px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

table {
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #6f4e37; /* match homepage header/footer color */
    color: white;
}

tr:hover {
    background-color: #f1e3cb;
    cursor: pointer;
}

@media (max-width: 768px) {
    #map {
        height: 400px;
    }
    h1 {
        font-size: 20px;
    }
}

#contact-form {
    padding: 30px 0;
    background-color: #f8f8f8;
    text-align: center;
    margin-bottom: 40px;  /* Add margin to the bottom of the contact form */
}

#contact-form div {
    margin-bottom: 10px;
}

#contact-form input, #contact-form textarea {
    padding: 8px;
    width: 80%;
    max-width: 500px;
}

.send-message-button {
    padding: 10px 20px;
    background-color: #5a4e4e;
    color: white;
    border: none;
}

.send-message-button:hover {
    cursor: pointer;
}

#responseMessage {
    margin-top: 15px;
}

#footer-links {
    text-align: center;
    background-color: #6f4e37; /* full-width footer color matches homepage */
    color: white;
    padding: 20px 0;
    font-weight: bold;
    font-size: 1.1em;
    width: 100%; /* full width */
    margin-top: 40px;
}

#footer-links a {
    color: white;
    text-decoration: none;
    padding: 0 15px;
}

#navigation-links {
    text-align: center;
    padding: 10px 0;
    background-color: #f8f8f8;
    margin-bottom: 20px;
}

.blog-post {
    width: 80%;
    max-width: 800px;
    margin: 20px auto;
    text-align: left;
}

.blog-post h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.blog-subheader {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.blog-body {
    line-height: 1.6;
}

.blog-body p {
    margin-bottom: 15px;
}

.blog-body h2 {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #6f4e37; /* match headers */
}

.blog-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.blog-body li {
    margin-bottom: 5px;
}

.responsive-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.close:hover {
    color: #ccc;
}
