
* {box-sizing: border-box;}

p {
    font-family: 'Montserrat Bold', sans-serif;
}

h1 {
    color: #142846;
    text-align: center;
    margin-top: 40px;
    font-family: 'Montserrat Bold', sans-serif;
}

h2 {
    color: #af7a53;
    text-align: center;
    margin-top: 10px;
    font-family: 'Montserrat Bold', sans-serif;
}

h3 {font-family: 'Montserrat Bold', sans-serif;}

a {font-family: 'Montserrat Bold', sans-serif;}

label {
    margin-top: 15px;
    font-size: 20px;
    color: saddlebrown;

}

legend {
    font-size: 20px;
    margin-top: 15px;
}

input {
    font-size: 20px;
    color: black;
}

input[type='radio']{
    height: 20px;
    width: 20px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* For Internet Explorer and Edge */
.no-scrollbar {
    -ms-overflow-style: none;

    /* For Firefox */
    scrollbar-width: none;
}

body {
    margin: 0;
    height: 100vh;
    overflow: auto;
}

/* Master flex container */
.container {
    display: flex;
    height: 100%;
    width: 100%;
}

/* Narrow left panel */
.sidebar-left {
    width: 0;
    height: 100%;
    background-image: linear-gradient(to right, #f3e9d5, #ffffff);
    flex-shrink: 0;
}

/* Central scrolling content */
.main-content {
    margin-left: 7px;
    margin-right: 7px;
    flex: 1;
    height: 100%;
    overflow-y: auto;
    background-color: #ffffff;
}

/* Narrow right panel */
.sidebar-right {
    width: 0;
    height: 100%;
    background-image: linear-gradient(to left, #f3e9d5, #ffffff);
    flex-shrink: 0;
    overflow-y: auto; /* Allows independent scrolling if needed */
}

@media screen and (min-width: 700px){
    .sidebar-left {
        width: 10%;
    }
    .sidebar-right {
        width: 10%;
    }
}

@media screen and (min-width: 1000px){
    .sidebar-left {
        width: 15%;
    }
    .sidebar-right {
        width: 15%;
    }
}

@media screen and (min-width: 1300px){
    .sidebar-left {
        width: 20%;
    }
    .sidebar-right {
        width: 20%;
    }
}

@media screen and (min-width: 2000px){
    .sidebar-left {
        width: 25%;
    }
    .sidebar-right {
        width: 25%;
    }
}

.header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #f3e9d5;
    border-radius: 8px;
    border: 2px solid #c6a080;
    margin-bottom: 5px;
    margin-top: 5px;
}

.header a {
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    padding: 7px 4px;
    color: #8e4716;
}

@media screen and (min-width: 650px) {
    .header a {font-size: 16px;}
}

@media screen and (min-width: 1000px) {
    .header a {font-size: 18px;}
}

.header2 {
    display: flex;
    justify-content: space-evenly;
    background-color: #f3e9d5;
    border-radius: 8px;
    border: 2px solid #c6a080;
    margin-bottom: 5px;
}

.header2 a {
    text-decoration: none;
    font-size: 12px;
    padding: 7px 2px;
    color: #8e4716;
}

@media screen and (min-width: 650px) {
    .header2 a {font-size: 14px;}
}

@media screen and (min-width: 1000px) {
    .header2 a {font-size: 16px;}
}

.photo {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    display: block;
    height: 350px;
    width: 350px;
    border-radius: 8px;
}

@media screen and (max-width: 650px) {
    .photo {
        height: 300px; width: auto;
    }
}

@media screen and (max-width: 436px) {
    .photo {
        height: 250px;
        width: auto;
        margin-top: 35px;
    }
}

.photo2 {
    float: right;
    margin-left: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    height: 175px;
    width: 175px;
}

@media screen and (max-width: 650px) {
    .photo2 {
        height: 150px; width: auto;
    }
}

@media screen and (max-width: 436px) {
    .photo2 {
        height: 125px;
        width: auto;
        margin-top: 35px;
    }
}

.photo3 {
    float: right;
    margin-left: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    height: 350px;
    width: auto;
    border-radius: 8px;
    border: 1px solid saddlebrown;
}

@media screen and (max-width: 650px) {
    .photo3 {
        height: 275px;
        width: auto;
    }
}

@media screen and (max-width: 436px) {
    .photo3 {
        height: 200px;
        width: auto;
    }
}

.reviewsphotos {
    width: 30%;
    height: auto;
}

@media screen and (min-width: 650px) {
    .reviewsphotos {width: 25%; height: auto;}
}

@media screen and (min-width: 950px) {
    .reviewsphotos {width: 20%; height: auto;}
}

@media screen and (min-width: 1200px) {
    .reviewsphotos {width: 15%; height: auto;}
}

.contact {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

@media screen and (max-width: 575px) {
    .contact {
        display: inline;
    }
}

.navbar {
    display: flex;
    justify-content: space-around;
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
}

.navbar button {
    box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    color: saddlebrown;
    background-color: white;
    border-radius: 8px;
    border: 2px solid #af7a53;
    padding: 5px;
    text-decoration: none;
}

.navbar button:hover {
    background-color: #af7a53;
    color: white;
}

.estimate {
    font-family: 'Montserrat Bold', sans-serif;
    margin-right: auto;
    margin-left: auto;
    display: block;
    font-size: 16px;
    color: saddlebrown;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid #af7a53;
    padding: 5px;
    margin-bottom: 20px;
    text-decoration: none;
}

.estimate:hover {
    background-color: #af7a53;
    color: white;
    cursor: pointer;
}

.areamap {
    width: 60%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

@media screen and (max-width: 1300px) {
    .areamap {width: 80%;}
}

@media screen and (max-width: 825px) {
    .areamap {width: 100%;}
}

.background-section {
    /* Set the background image */
    background-image: url('../graphics/background.png');

    /* Make the image cover the entire area */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Give the section a height so the image is visible */
    min-height: 400px;

    /* Use flexbox to center the text perfectly */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* Optional: Add a dark overlay so white text is easier to read */
    background-blend-mode: overlay;

    /* Text styling */
    color: white;
    text-align: center;
}
