/*font imports*/
@font-face {
    font-family: "Mistrully";
    src: url("fonts/Mistrully/Mistrully.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/*general reset and base styles*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", "Helvetica", "Arial", sans-serif;
    color: #0f3d2d;
    background-color: ivory;
    line-height: 1.6;
}

h1 {
    font-family: "Mistrully", "Brush Script MT", cursive;
    font-weight: normal;
    font-size: 8vw;
    white-space: nowrap;
    color: ivory;
    text-shadow: rgb(70, 70, 70) 0px 0px 40px;
}

h2{
    font-family: "Poppins", "Helvetica", Arial, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}

h3{
    font-family: "Poppins", "Helvetica", Arial, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0f3d2d;
}

p {
    font-family: "Poppins", "Helvetica", Arial, sans-serif;
    color:#0f3d2d;
}

/*header and navigation*/
body > header {
  display: grid;
  grid-template-columns: 1fr 3fr; 
  align-items: end;              
  background: radial-gradient(circle, #15543d,#0f3d2d);
  padding: 10px 40px;             
  width: 100%;
  height: auto;                   
  box-sizing: border-box;
}

body > header > img.header-logo {
  width: 40%;
  height: auto;
  justify-self: start;            
  align-self: end;                
}

nav {
  justify-self: end;              
  align-self: end;                
}

nav ul {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  gap: 2rem;                     
  padding: 0;
  margin: 0;
  justify-content: end;         
  align-content: end;             
}

nav li {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

nav a {
  text-decoration: none;
  color: white;
  padding: 5px 10px;
}

nav a:hover {
  color: rgb(247, 218, 146);
}

/*dropdown menu*/
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #15543d;
  border: 1px solid ivory;
  list-style: none;
  padding: 0;
  min-width: 140px;
  z-index: 100;
}

.dropdown li a {
  display: block;
  padding: 10px;
  color: white;
}

.dropdown li a:hover {
  background-color: #0f3d2d;
}

.book:hover .dropdown {
  display: block;
}

/*hero*/
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 100px 20px;
    color: ivory;
    background-attachment:fixed;
}

/*brand message*/
.message {
    text-align: center;
    padding: 50px 20px;
    background-color: ivory;
}

.message h3 {
    margin-bottom: 10px;
}

.message p {
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
    font-weight:200px;
}

/*services*/
.services {
    text-align: center;
    padding: 60px 20px;
    background-color: #15543d;
}

.services h2 {
    margin-bottom: 30px;
}

.service-list {
    list-style: none;
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    padding: 0;
}

.service-list li {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.service-list img {
    width: 50%;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.service-list figcaption {
    font-size: 1rem;
    font-style: italic;
    color: ivory;
}

.services-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: ivory;
    color:#15543d;
    border-radius: 25px;
    text-decoration: none;
}

.services-button:hover {
    background-color:rgb(247, 218, 146);
}

/*specialists*/

.specialists {
    padding: 60px 20px;
    text-align: center;
}

.specialists h3 {
    margin-bottom: 30px;
}

.specialist-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 40px;
    padding: 0;
}

.specialist-list li {
    text-align: center;
}

.specialist-list figure {
    margin: 0;
}

.specialist-list img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.specialist-list figcaption {
    font-style: italic;
    color: #0f3d2d;
}

.specialist-list a {
    display: inline-block;
    margin-top: 5px;
    background-color:rgb(247, 218, 146);
    border-radius: 25px;
    padding: 5px;
    text-decoration: none;
    color:#0f3d2d;
}

.specialist-list a:hover {
    background-color:#15543d;
    color: rgb(247, 218, 146);
}

/*testimonials*/

.testimonials {
    display: block;
    background-image: linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0.3)), url(../images/leaf-blur.jpg);
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 60px 20px;
}

.testimonials h3 {
    margin-bottom: 30px;
}

.testimonials li {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 700px;
    display: block;
}

.testimonials figure {
  position: relative;
  background-color: ivory;
  border-radius: 10px;
  border-left: 4px solid #15543d;
  padding: 20px 20px 30px;
  margin: 0 auto;
  max-width: 650px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.testimonials figcaption {
    margin-top: 20px;
    font-family: "Mistrully", "Brush Script MT", cursive;
}

/*======================================Services Page===========================================*/
.service-category-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem 0;
    background-image: linear-gradient(rgba(37, 44, 39, 0.05), rgba(37, 44, 39, 0.3)), url(../images/leaf-blur.jpg);
}

.service-category {
    background-color: #0f3d2d;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    width: 260px;
    display: flex;
    flex-direction: column;
}

.service-category h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.service-category li {
    color: white;
}

.service-icon {
    max-width: 90%;
    height: auto;
    align-self: center;
}

.service-buttons {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: auto;
    padding-top: 1rem;
}
 
.book-button {
    text-align: center;
    background-color: ivory;
    color:#0f3d2d;
    text-decoration: none;
    border-radius: 10px;
}

.book-button:hover {
    background-color: rgb(247, 218, 146);
}

/*====================================About Page==========================================*/
.about-intro .message {
    background: radial-gradient(circle, #15543d,#0f3d2d);
    padding: 24px;
}

.about-intro .message h1 {
    font-size: large;
}

.horizontal-logo {
    max-width: 30%;
    height: auto;
    margin: 10px;
}

.about-intro .message p {
    color: white;
}

.founders {
    display: flex;
    margin: 60px;
    gap: 2rem;
}

.founders img {
    max-width: 30%;
    height: auto;
    border-radius: 100px;
}

.founder-bio {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.founders-bio h1 {
    color:#0f3d2d;
    text-shadow: none;
    font-size: 6vw;
}

.founders-bio p {
    margin-bottom: 10px;
}

/*=====================================Specialist Booking Pages=================================*/

.specialist-booking {
    display: flex;
    padding: 40px;
    gap: 40px;
    background-image: url(../images/pink-flower-background.jpg);
    background-attachment: fixed;
    background-position: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex: 1 1 250px;
}

.specialist-booking img{
    width: 100%;
    max-width:600px;
    height: auto;
    box-shadow:  0 4px 12px rgba(0,0,0,0.08);
}

.specialist-bio {
    display: flex;
    flex-direction: column;
    align-content: center;
    text-align: center;
    gap: 1.5rem;
    box-shadow:  0 4px 12px rgba(0,0,0,0.08);
    background-color: ivory;
    border-radius: 30px;
    padding: 20px;
    max-width: 500px;
    min-width: 300px;
}

.specialist-bio img{
    min-width:200px;
    max-width:300px;
    border-radius: 50%;
    align-self: center;
}

.specialist-bio h1{
    color: rgb(58, 44, 33);
    text-shadow: none;
    font-size: 5vw;
}

.specialist-bio h3 {
    color: rgb(58, 44, 33);
}

.specialist-bio p {
    color: rgb(58, 44, 33);
}

.specialist-bio a {
    text-transform: uppercase;
    background-color: rgb(58, 44, 33);
    text-decoration: none;
    color: ivory;
    font-size: 1.5em;
    text-align: center;
    letter-spacing: 5px;
    font-weight: 200px;
    border-radius: 30px;
    padding: 10px;
}

.specialist-bio a:hover {
    font-size: 1.6em;
    color: rgb(58, 44, 33);
    background-color: ivory;
    border: solid 2px rgb(58, 44, 33);
}

/*footer*/

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle, #15543d,#0f3d2d);
  color: white;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}

/*footer logo*/
footer img.footer-logo {
  width: 200px;      
  height: auto;
  margin-bottom: 15px;
}

/*address and contact info */
footer address p {
  font-style: normal;
  color: ivory;
  margin-bottom: 20px;
}

footer address p a {
    text-decoration: none;
    color: ivory;
}

footer address p a:hover {
    text-decoration: none;
    color: rgb(247, 218, 146);
}

/*social links*/
footer .socials {
    display: block;  
    align-self: center;               
    gap: 25px; 
    margin-top: 20px;                
}

footer .socials a {
    color: ivory;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.2rem;                
    text-align: center;
    border: solid 2px ivory;
    border-radius: 10px;
}

footer .socials a:hover {
    color: rgb(247, 218, 146);
    border:solid 2px rgb(247, 218, 146);
}