/* Styles the full page wrapper */
#wrapper {
    width: 80%;
    margin: 0 auto;
    background-color: #F7F4EE;
}

/* Tag style for body */
body {
    font-family: Arial, sans-serif;
    background-color: #E8E0D1;
    color: #4a3b2c;
    margin: 0;
}

/* Tag style for header */
header {
    background-color: #6B7F4E;
    color: #F7F4EE;
    text-align: center;
    padding: 20px;
}

/* Tag style for h1 */
h1 {
    margin: 10px 0;
}

/* Tag style for h2 */
h2 {
    color: #8B5E3C;
}

/* Descendant style */
main h2 {
    border-bottom: 2px solid #8B5E3C;
    padding-bottom: 5px;
}

/* Navigation bar styling */
nav {
    background-color: #8B5E3C;
    text-align: center;
    padding: 10px;
}

/* Navigation links */
nav a {
    color: #F7F4EE;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    padding: 8px 12px;
    display: inline-block;
}

/* Pseudo-class style for hover effect */
nav a:hover {
    background-color: #6B7F4E;
    color: #ffffff;
}

/* Main content area */
main {
    padding: 20px;
}

/* Class style for logo */
.logo {
    width: 120px;
    height: auto;
    background-color: #F7F4EE;
    padding: 6px;
    border-radius: 4px;
}

/* Class style for hero image */
.hero-image {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 20px auto;
    border: 4px solid #8B5E3C;
}

/* Class style for service list */
.service-list {
    padding-left: 25px;
    margin-top: 15px;
}

/* Container that places sections side by side */
.info-container{
    display:flex;
    gap:30px;
    margin-top:25px;
}

/* Class style for info boxes */
.info-box
{
    background-color:#d8d0c2;
    padding:20px;
    flex:1;
    box-shadow:2px 2px 8px rgba(0,0,0,0.2);
    margin-bottom: 25px;
}

/* Stacks the info boxes on smaller screens */
@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
    }
}

.info-box h2
{
    border-bottom:3px solid #6B7F4E;
    padding-bottom:8px;
    color:#8B5E3C;
}

/* Class style for centering the book now button */
.button-center {
    text-align: center;
}

/* Class style for book now button */
.book-button {
    background-color: #6B7F4E;
    color: #F7F4EE;
    text-decoration: none;
    padding: 16px 26px;
    font-size: 1.2em;
    display: inline-block;
    border-radius: 6px;
    margin: 20px auto;
}

/* Hover effect for book now button */
.book-button:hover {
    background-color: #8B5E3C
}

/* technique not covered in class || box-shadow adds depth and transition makes the hover effect smooth */
.book-button,
.hero-image{
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Footer styling */
footer {
    background-color: #6B7F4E;
    color: #F7F4EE;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    margin: 0;
}

/* Footer links */
footer a {
    color: #F7F4EE;
    text-decoration: none;
}

/* hover effect */
footer a:hover {
    text-decoration: underline;
}


/* ========================================= */
/* ===== SERVICES PAGE STYLES ===== */
/* ========================================= */

/* Layout for services page */

/* Images inside services page */
.service-content img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 10px 0;
    border: 4px solid #8B5E3C;

}

/* Layout for service image and text */
.service-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Service description text */
.service-row p {
    flex: 1;
}

@media (max-width: 768px) {
    .service-row {
        flex-direction: column;
    }
}

/* Stack layout on small screens */
@media (max-width: 768px) {

    #wrapper {
        width: 95%;
    }
    .services-layout {
        flex-direction: column;
    }

    .about-layout img {
    display: none;
    }
}


/* ========================================= */
/* ===== ABOUT PAGE STYLES ===== */
/* ========================================= */

.about-layout {
    display: flex;
    gap: 30px;
    align-items: center;
}

.about-layout img {
    width: 50%;
}

.about-layout .info-box {
    width: 50%;
}

/*

/* ========================================= */
/* ===== CONTACT PAGE STYLES ===== */
/* ========================================= */

.contact-layout {
    display: flex;
    gap: 30px;
}

/* Main contact section */
.contact-main {
    width: 70%;
}

/* Sidebar section */
.contact-sidebar {
    width: 30%;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
}

    th,
    td {
        border: 2px solid #8B5E3C;
        padding: 10px;
        text-align: left;
    }

    th {
        background-color: #6B7F4E;
        color: #F7F4EE;
    }

/* Stack contact page on smaller screens */
@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
    }

    .contact-main,
    .contact-sidebar {
        width: 100%;
    }
}
