* { 
    margin: 0;
    padding: 0;
    
}

body {
    background-color: #27AE60;
    font-family: "Open Sans";
    line-height: 1.6;
}

#wrapper {
    width: 80%;
    max-width: 1100px;
    margin: 40px auto;
}


header {
    background-color: #2F80ED;
    padding: 20px;
    color: white;
    height: 150px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

h1 {
    font-family: "Montserrat";
    font-size: 2.5rem;
    text-align: center;
}

nav {
    background-color: #56CCF2;
    margin-top: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    list-style-type: none;
    margin: 2px;
    padding: 0;  
    row-gap: 1px;
}

nav li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

nav a{
   text-decoration: none; 
   color: white;
   font-size: 1.1em;
   font-weight: 600;
   transition: 0.3s;
}


h2 {
    font-family: "Montserrat";
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.hero-img {
    background-color: #27AE60;
    padding: 20px 50px;
    margin: 30px auto 40px auto;
    width: 70%;
    display: flex;
    justify-content: center;
    border-radius: 10px;
}

.img_map {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    border: #56CCF2 solid 2px;
}

section {
    padding: 40px;
    background-color: #F2F2F2;
    margin-bottom: 2px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.summary {
    background-color: white;
    padding: 30px 50px;
    margin: 20px auto;
    width: 80%;
    padding: 25px;
    border-radius: 10px;
    line-height: 1.7;
}


ul {
    margin: 15px 0 15px 20px;   
}

footer {
    background-color: #2F80ED;
    color: white;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 10px 10px;
}

/* ----- bathroom types Specific ----- */

.overarching{
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 5fr 5fr 5fr 5fr 5fr;
    background-color:#F2F2F2;
}
.western_toilets{
    background-image:url(../images/western.png);
    background-size:contain;
    background-position:center;
    background-repeat:no-repeat;
    border-radius:10px;
    box-shadow:#999;
    margin: 2vw;
    height:25vw;
    background-size:cover;
}
.heading{
    grid-column:1/3;
    text-align:center;
}
.smart{
    background-image:url(../images/smart.png);
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
    border-radius:10px;
    box-shadow:#999;
    margin: 2vw;
    height:25vw;
}
.squating_toilet{
    background-image:url(../images/squat.png);
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
    border-radius:10px;
    box-shadow:#999;
    margin: 2vw;
    height:25vw;
}
.bidet{
    background-image:url(../images/bidet.png);
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
    border-radius:10px;
    box-shadow:#999;
    margin: 2vw;
    height:25vw;
}
.french{
    background-image:url(../images/french.png);
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
    border-radius:10px;
    box-shadow:#999;
    margin: 2vw;
    height:25vw;
}

/* ----- Ratings & Reviews Specific ----- */

.review-intro {
    background-color: white;
    padding: 30px 50px;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    line-height: 160%;
}

.review-form-section {
    width: 80%;
    margin: 20px auto;
    background-color: #F2F2F2;
    border-radius: 10px;
    padding: 30px 40px;
    border: black solid 1px;
}

.review-form-section h2 {
    margin-bottom: 20px;
}

.review-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: "Montserrat";
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #2F80ED;
    font-weight: bold;
}

.form-group p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    font-family: "Open Sans";
    font-size: 1em;
    border: 1px solid #999;
    border-radius: 6px;
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #56CCF2;
    border-color: #56CCF2;
}

.submit-btn {
    background-color: #27AE60;
    color: #F2F2F2;
    border: none;
    padding: 14px 20px;
    font-family: "Montserrat";
    font-size: 1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    width: fit-content;
}

.submit-btn:hover {
    background-color: #219150;
}

.reviews-display {
    width: 80%;
    margin: 20px auto 40px auto;
    background-color: #F2F2F2;
    border-radius: 10px;
    padding: 30px 40px;
    border: black solid 1px;
}

.review-card {
    background-color: white;
    border-left: 6px solid #56CCF2;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    line-height: 1.6;
}

.review-card h3 {
    font-family: "Montserrat";
    margin-bottom: 10px;
    color: #2F80ED;
}

.rating-row {
    margin: 8px 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    max-width: 250px;
    height: auto;
    border-radius: 10px;
}


.reviews-wrapper {
    width: 80%;
    margin: 60px auto;
}
