* {
    box-sizing: border-box;
    margin: 0; 
    padding: 0;
}


#wrapper {
    display: grid;
    grid-template-columns: 1fr minmax(0, 1200px) 1fr;
    grid-auto-rows: auto auto 1fr auto;

}

header {
    grid-column: 1/4;
    grid-row: 1/3;
    background-color:rgba(240, 80, 176, 0.40);
    height: 400px;     
}

header h1 {
    grid-column: 1/4;
    grid-row: 1/3; 
    height: 100%;
    display: flex;
    justify-content: center;
    background-image: linear-gradient(rgba(213, 177, 197, 0.45), rgba(255, 255, 255, 0.5)), url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 9rem;
    text-align: center; 
    font-size: 4rem;
    letter-spacing: 0.05em;
    font-family: "joan";
}

header a {
    text-decoration: none;
    color: #302e2e;
    
}

nav {
    grid-column: 1/4;
    grid-row:1/2;
    font-family: "joan";
    font-size: 1.2rem;
    background-color: #b69690;
    padding: 0;
    margin:0;
    height:100px;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 10;
    text-align: center;
    
}

nav a {

    color:black;
    padding: 2.5rem;
    display: block;
    text-align: center;
    text-decoration: none !important;

}

nav a:hover {
    background-color: #684e4e;
    color: white
}

nav ul {
        margin: 0; 
        padding: 0; 
        display: flex;
        flex-flow: row nowrap;
        list-style-type: none;
}

main {
    grid-column: 2/3;
    grid-row: 4/6;
    padding: 1rem;
    margin-top: 6rem;
    background-color: #ddc7c72e;
}

figure {
    display: flex;
    flex-direction: column; 
    align-items: center;   
    max-width: 325px;
    margin: 0; 
    padding: 0;

 }


 figcaption {
    margin-top: 10px;
    font-size: 1rem;
    color: #555;
    font-style: italic;
    text-align: center;  
  }


.about-container {
    display: flex;
    align-items: center;
    justify-content:space-between;
    max-width: 100%;
    padding-left: 1rem;
    
}

#main-focus {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
  }
  
  .focus-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .focus-item {
    margin-bottom: 20px;
  }
  
  .focus-item h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .focus-item p {
    font-size: 1.5rem;
    color: #666;
  }
  
  h2 {
    font-size: 2.3rem;
    margin-bottom: 30px;
    color: #444;
  }

  #services {
    padding: 30px 20px;
    background-color: #eddddd;
    text-align: center;
  }
  
  .services-header h2 {
    font-size: 2.3rem;
    color: #343333;
    margin-bottom: 15px;
  }
  
  .services-header p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
  }
  
  .services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
  }


  .service-item {
    max-width: 250px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }
  
  .service-item h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .service-item p {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.5;
  }


  #testimonials {
    padding: 30px 20px;
    background-color: #eddddd;
    text-align: center;
  }

  .testimonials-header h2 {
    font-size: 2.3rem;
    color: #343333;
    margin-bottom: 15px;
  }
  
 
  .testimonials-header p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
  }
  
  .testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
  }


  .testimonial-quote {
    max-width: 250px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }
  
  
  .testimonial-quote p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.5;
  }

.about-images {
    position: relative;
    width: 55%;
    display: flex;
    flex-direction: column;
    padding-bottom: 3.5rem;
   
}

.about-images img:first-child {

    max-width: 290px;
    height: auto;
    position: relative;
    z-index:2;
}

.about-images img:last-child {
    width: 290px;
    position: absolute;
    top: 140px;
    left: 220px;
    z-index: 1;

}

.about-text { 
    width: 57%;
    padding-left: 2rem;
    text-align: left;
    position: relative;
    margin-top: 4rem;
    font-family: 'Ledger', serif;
}

.about-text h2{

    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.55rem;
    line-height:1.6;
    margin-bottom: 2rem;
}

.gallery-section {
    background-color: #ffffff;
    padding: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.gallery-header { 
    text-align: center;
    font-size: 3rem;
    font-family: "Ledger";
    color: #302e2e;
    margin-bottom: 1rem; 
    margin-top: 1rem;

}
.gallery-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.gallery-container img { 
    width: 31%;
    height: auto;
    opacity: 0.8;

}

.realgallery-container {

    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.realgallery-container img {

    width: auto;
    height: 450px;
    border: #684e4e;
    border-style: dashed;
    border-radius: 5px;

}

.realgallery-section {

    margin-bottom: 40px;
    margin-top: 1rem;
}

.realgallery-section main {
    padding: 20px;
}

.realgallery-section h3 {

    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color:#555;
}

.contact-section h3 {

    text-align: left;
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color:#555;
}

.booking-policy h3 {

    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color:#555;
}

.cancelation-policy h3 {

    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color:#555;
}

.contact-section p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color:#333;
    padding-left: 1rem;
}


.hours-booking h3 {

        text-align: left;
        font-size: 2rem;
        margin-bottom: 1rem;
        margin-top: 2rem;
        color:#555;
}

.hours-booking p {
    text-align: left;
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color:#333;
    padding-left: 1rem;
}

.gallery-page h1 {

    background-image: url("Untitled\ design.png");
    background-color: #ffffff;
    text-align: center;
    margin-top: 6.2rem;
    letter-spacing: .1em;
    color: #555;
}

.contact-page header h1 {

    background-image: url(lastone.png);
    background-color: #ffffff;
    text-align: center;
    margin-top: 6.2rem;
    letter-spacing: .1em;
    color: #555;
}

.booking-page header h1 {

    background-image: url('salts.png');
    background-color: #ffffff;
    text-align: center;
    margin-top: 6.2rem;
    letter-spacing: .1em;
    color: #555;
}

.services-page header h1 {

    background-image: url(newfacialsetup.png);
    background-color: #ffffff;
    text-align: center;
    margin-top: 6.2rem;
    letter-spacing: .1em;
    color: #555;
}

.gallery-page h2 {
    text-align: center;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 2rem;
    letter-spacing: .1em;
    color: #3d3d3d;
    font-size: 3rem;
}

.contact-page main h2 {
    text-align: center;
    font-weight: 600;
    letter-spacing: .1em;
    color: #3d3d3d;
    font-size: 3rem;
    margin-top: 1.75rem;
}

.services-page {
    color: #555;

}

.services-page main h2 {
    text-align: center;
    font-weight: 600;
    letter-spacing: .1em;
    color: #3d3d3d;
    font-size: 3rem;
    margin-bottom: 2rem;
    margin-top: 1.75rem;
}

.service-category {

display: flex;
align-items: flex-start;
margin-bottom: 3rem;
}

.service-image {

    flex: 1;
    max-width: 275px;
    margin-right: 2rem;
    border-radius: 12px;
    border: 5px #555;
    border-style: double;
    border-width: 3px;
    border-spacing: 8px;
}

.service-image img {
    width: 100%;
    border-radius: 12px;
    filter:opacity(85%);

}

.service-details {
    flex: 2;
}

.service-details h3 {

    font-size: 2.3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid;
    padding-bottom: 0.5rem;
    color:#555;
}

.service-details ul {
    list-style: none;
    padding-left: 0;
}

.service-details ul li {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.special-offers {
    text-align: center;
    padding: 30px 20px;
    background-color: #eee0dc;
}

.special-offers h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.offers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 20px; 
}

.offer {
    background-color: #fff;
    border-radius: 7px;
    padding: 20px;
    width: 300px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    text-align: center; 
}

.offer h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #444;
}

.offer p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.cutecta h3 {

    padding: 20px;
    font-size: 1.8rem;
    margin-top: 10px;
    font-style: italic;

}

.contact-section {
    margin-bottom: 1rem;
    padding-left:1rem;
}

.map-container {
    margin-bottom: 1rem;
    width: 100%;
    padding-left: 1.2rem;
}

.booking-page main h2 {
    text-align: center;
    font-weight: 600;
    letter-spacing: .1em;
    color: #3d3d3d;
    font-size: 3rem;
    margin-bottom: .5rem;
    margin-top: 1.75rem;
}

.booking-page p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: .5rem;
    color:#333;
}

form {

    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.75rem;
    max-width: 600px;
    padding: 1rem;
    max-width: 600px;
    width: 100%;
    padding: 1.5rem;
    border: 2px dashed #555;

}

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem;
    margin: 2rem auto;
}

input, textarea {

    font-size: 1rem;
    padding: 10px;
    color: #555;
    background-color: #fafafa;
    border:#555;
    border-style: dotted;

}

input:focus, textarea:focus {
    outline: none;
    background-color: #f0f0f0;
}

label {
    padding: 10px;
    text-align: right;
    font-size: 1.2rem;
    align-self: center;

}

#mySubmit {
    width: 10rem;
    grid-column: 2/3;
}

.cta-section { 
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding: 1rem 0;
}

.cta-button {

    background-color: #555;
    width: 400px;
    color:#ffffff;
    font-size: 1.8rem;
    padding: 1rem 2rem;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: "Ledger";
}

.cta-button:hover {
    background-color: #d98686;
}

.cta-text {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

footer {
    grid-column: 1/4;
    grid-row: 6/7;
    background-color: #b69690;
    padding: 1rem 0;
    color: #ffffff;
    font-size: 1.2rem;
    font-family: "joan";
    text-decoration: none;
}

.footer-content {

    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    width: 100%;
}

.footer-right p {
    text-align: right;
    color: white;

}


.footer-left a {
    color: white;
    text-decoration: none;
}

@media only screen and (max-width: 992px) {
     #wrapper {
        grid-template-columns: 1fr minmax(0, 768px) 1fr;
     }

     main {
        margin-top: 3rem;
     }

     .about-container {
        flex-direction: column;
        text-align: center;
        grid-column: 2/3;
        margin-top: 2rem;

     }

     .about-images {
        flex-wrap:nowrap;
        margin-right: 60px;


     }

     .about-text {
        width: 90%;
        padding-left: 0;
        grid-column: 2/3;
        margin-top: 1rem;
     }
     .about-text h2 {
        font-size: 2.5rem;
     }

     .gallery-container {
        flex-direction: column;
     }

     nav ul {

        text-align: center !important;

     }

     nav {

        grid-column: 1/4;
     }

     nav a {

        padding: 0.8rem 1.5rem;
        padding-top: 2.8rem;
        font-size: 1rem;
     }

     header h1 {
        padding: 8rem;
        font-size: 2.5rem;
        height: 350px;
     }

     .gallery-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
     }


     gallery-container img { 
        width: 50%;
        height: auto;
        opacity: 0.8;
        margin-bottom: 1rem;
    
    }

     .services-page main h2 {
        text-align: center;
        font-weight: 600;
        letter-spacing: .1em;
        color: #3d3d3d;
        font-size: 2.8rem;
        margin-bottom: 2rem;
    }

    

    .contact-section h3 {

        text-align: left;
        font-size: 1.7rem;
        margin-bottom: 1rem;
        margin-top: 2rem;
        color:#555;
        }
    .contact-section p {
        font-size: 1.2rem;
        line-height: 1.8;
        margin-bottom: 1rem;
        color:#333;
        }

    .hours-operation {
        text-align: left;
        font-size: 1.7rem;
        margin-bottom: 1rem;
        margin-top: 2rem;
        color:#555;
        }
    
    
    .service-category {
    
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.8rem;
    }
    
    .service-image {
    
        flex: 1;
        max-width: 250px;
        margin-right: 2rem;
        border-radius: 12px;
        border: 5px #555;
        border-style: double;
        border-width: 3px;
        border-spacing: 8px;
    
    
    }
    
    .service-image img {
        width: 100%;
        border-radius: 12px;
        filter:opacity(85%);
    
    }
    
    .service-details {
        flex: 2;
    }
    
    .service-details h3 {
    
        font-size: 2.3rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid;
        padding-bottom: 0.5rem;
        color:#555;
    }
    
    .service-details ul {
        list-style: none;
    }
    
    .service-details ul li {
        display: flex;
        justify-content: space-between;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .services-page {

        background-image: none !important;
        background-color: #ffffff;
        text-align: center;
        letter-spacing: .1em;
        color: #555;
        margin-left: 0%;
    }

    }

@media only screen and (max-width: 768px) {

    #wrapper {
        grid-template-columns: 1fr;
        
     }

     main {
        margin-top: 3rem;
     }

     nav ul {
        flex-direction: row;
        align-items: center;
     }

     nav a {

        padding: 0.3rem .7rem;
        padding-top: 2.4rem;
        font-size: 0.82rem;
        padding-bottom: 2.7rem;
        text-align: center;
     }
   
    header h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        margin-top: 1rem;
    

     }

     .about-images img {
        
        display: none;
        
        
     }

     .about-text {
        width: 90%;
        padding-left: 0;
        margin-top: -3rem;
        text-align: center;
     }
     .about-text h2 {
        font-size: 2rem;
    
     }


     .gallery-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
     }

     .gallery-container img {
        width: 55%;
     }

     .services-page main h2 {
        text-align: center;
        font-weight: 600;
        letter-spacing: .1em;
        color: #3d3d3d;
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }


    .service-details h3 {
    
        font-size: 1.8rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid;
        padding-bottom: 0.5rem;
        color:#555;
    }
    
    .service-details ul {
        list-style: none;
    }
    
    .service-details ul li {
        display: flex;
        justify-content: space-between;
        font-size: .8rem;
        margin-bottom: 0.5rem;
    }

    

}