
/* Box sizing and reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body styling */
body {
    background: #EDE3D9;
    color: #BF5630;
    font-family: 'Roboto', sans-serif;
    font-size: large;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    margin: 10px auto;
    border: 5px solid #364027;
}

/* Headings */
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Young Serif', serif;
}

h1 {
    color: #BF5638;
    text-align: center;
    text-decoration: underline;
}

h2,
h3 {
    color: #364027;
    text-align: center;
}

h3 {
    text-decoration: underline;
}

h4,
h5 {
    color: black;
    font-size: small;
}

h4 {
    margin: -20px 0 10px 80px;
}

h5 {
    margin: -40px 0 10px 150px;
}

/* Paragraphs */
p {
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Container */
.container {
    background: #EDE3D9;
    padding: 20px;
    width: 80%;
    max-width: 1000px;
    margin: 10px auto;
}

/* Masthead and footer */
.masthead,
.mastfoot {
    background-color: black;
    color: #BF5630;
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

h1.title {
    font-family: 'Young Serif', serif;
    font-size: 2rem;
    text-decoration: underline;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.nav-link {
    margin: 0 10px;
    text-decoration: none;
    color: #364027;
    font-weight: bold;
}

.nav-link.active {
    text-decoration: underline;
}

/* Columns */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.column {
    flex: 1 1 30%;
    padding: 10px;
    min-width: 200px;
    text-align: center;
}

/* Images */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 4px solid #364027;
    background-color: #BF5630;
    padding: 10px;
}

/* Pricing details */
.pricing-details {
    margin: 30px auto;
    max-width: 800px;
    padding: 15px;
    background-color: black;
    border: 2px solid #BF5638;
    border-radius: 8px;
    cursor: pointer;
}

.pricing-details summary {
    font-size: 1.2em;
    font-weight: bold;
    color: #BF5638;
    outline: none;
}

.pricing-details ul {
    margin-top: 10px;
    padding-left: 20px;
}

/* Form Section */
.form-section {
    padding: 2rem 1rem;
    max-width: 600px;
    margin: 2rem auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #364027;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 0.75rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

/* Contact Info Section */
.contact-info {
    text-align: center;
    padding: 2rem 1rem;
}

/* Table Styling */
.custom-table {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
}

.custom-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.custom-table td:first-child {
    font-weight: bold;
    width: 40%;
    background-color: #eee;
}

.custom-table tr:nth-child(even) {
    background-color: #f1f1f1;
}

/* Responsive styles */
@media (max-width: 600px) {
    .row {
        flex-direction: column;
    }

    .custom-table tr {
        display: block;
        margin-bottom: 1rem;
    }

    .custom-table td {
        display: block;
        width: 100%;
    }

    .custom-table td:first-child {
        padding-top: 10px;
    }

    .form-section {
        padding: 1rem;
    }

    input,
    textarea {
        font-size: 0.95rem;
    }
}

/* Specific styling for images on the contact page */
.contact-page .row {
    display: flex;
    justify-content: center;
    /* Centers the columns (images) horizontally */
    flex-wrap: wrap;
    text-align: center;
}

.contact-page .col-md-4 {
    flex: 1 1 300px;
    max-width: 300px;
    margin: 1rem;
    text-align: center;
}

.contact-page .img-fluid {
    display: block;
    margin: 0 auto;
    /* Centers the image */
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    border: 4px solid #364027;
    background-color: #BF5630;
    padding: 10px;
}

.contact-page .image-name {
    text-align: center;
    margin-top: 10px;
}

.contact-page h5 {
    text-align: center;
    font-size: small;
}

/* Center the <cite> elements under the images on the contact page */
.contact-page cite {
    display: block;
    text-align: center;
    margin-top: 5px;
    font-size: small;
    color: #555;
    /* Adjust color if needed */
}