/* fonts.css */
@font-face {
  font-family: "Montserrat";
  src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Cookie";
  src: url('../fonts/Cookie-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root{
  --white: #fafafa;
  --black: #0b1109;
  --frame-color: #d9cdbf;
  --title-color: #a36e5b;
  --active-color: #27421f;
  --border-bottom: 0 2px 4px rgba(163, 110, 91, 0.5);
  --border-up: 0 -2px 4px rgba(163, 110, 91, 0.5);
  --border: 4px 4px 4px rgba(163, 110, 91, 0.5);

  --filter-white: invert(100%) sepia(30%) saturate(0%) hue-rotate(304deg) brightness(113%) contrast(96%);
  --filter-black: invert(6%) sepia(32%) saturate(479%) hue-rotate(60deg) brightness(98%) contrast(101%);
  --filter-frame-color: invert(99%) sepia(2%) saturate(4004%) hue-rotate(307deg) brightness(100%) contrast(71%);
  --filter-title-color: invert(54%) sepia(14%) saturate(1178%) hue-rotate(330deg) brightness(84%) contrast(88%);
  --filter-active-color: invert(18%) sepia(57%) saturate(412%) hue-rotate(61deg) brightness(103%) contrast(94%);

  --font-family-montserrat: "Montserrat", sans-serif;
  --font-family-cookie: "Cookie", sans-serif;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family-montserrat);
  text-decoration: none;
}

body {
  background-image: url(../img/thumbnails/bg1.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Montserrat', sans-serif;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

/* =================== NAVBAR VIEW =================== */

.navbar-container {
  width: 100vw;
}

.logo-image {
  max-height: 90%;
  width: auto;
  display: block;
}

.navbar-row {
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-grow: 1; /* Allow this section to take available space */
}

.navbar-nav .nav-item {
  margin: 0 15px; /* Spacing between links */
}

.navbar-nav .nav-link {
  cursor: pointer;
  font-family: var(--font-family-cookie);
  font-size: 2rem; /* Adjust size as needed */
  text-decoration: none;
  color: var(--title-color); /* Link color */
  transform-origin: center center;
  transition: all 0.3s linear;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  transform: scale(1.1);
  color: var(--active-color); /* Active or hover link color */
}

.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.fixed-cart {
  position: fixed !important;
  top: 10px !important;
  right: 0 !important;
  width: 100%;
  z-index: 100;
}

.logo-row {
  height: 200px;
  background-color: var(--white); /* Distinguishable color for the logo row */
  display: flex;
  justify-content: center;
  align-items: center;
}

.links-row {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 85px;
  background-color: var(--white); /* Distinguishable color for the links row */
  justify-content: space-between;
  align-items: center;
  /* box-shadow: var(--border-bottom); */
}

.fixed-logo {
  font-family: var(--font-family-cookie);
  font-size: 2.3rem;
  color: var(--active-color);
  position: fixed;
  top: 15px;
  left: 20px; /* Initially hidden off-screen */
  width: auto; /* Reset width if necessary */
  height: auto; /* Adjust height if needed */
  transition: all 0.3s ease; /* Smooth transition for slide and fade */
  opacity: 1; /* Initially invisible */
  z-index: 101;
  cursor: pointer;
}

.fixed-logo:hover {
  transform: scale(1.1);
  transition: all 0.3s ease; /* Smooth transition for slide and fade */
  color: var(--active-color);
}

.fixed-logo.show {
  opacity: 1; /* Fade in */
}

.fixed-logo.hide {
  opacity: 0; /* Fade out */
}

#cart-btn {
  position: fixed;
  top: 10px;
  right: 0;
  width: 100%;
  z-index: 100;
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  font-size: 2rem;
  color: var(--title-color);
  cursor: pointer;
  border-radius: .5rem;
  text-align: center;
  transition: color .3s linear;
}

#cart-btn:hover {
  color: var(--active-color);
}

.cart-count {
  position: absolute;
  top: 20px;
  right: 20px;
  transform: translate(50%, -50%);
  background-color: var(--frame-color);
  color: var(--black);
  border-radius: 50%;
  font-size: 12px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  opacity: 0;
}

.cart-count.active {
  opacity: 1;
}

.first-letter {
  font-family: var(--font-family-cookie);
  color: var(--active-color);
  font-size: 2.5rem;
}

#menutogglebtn{
  display: none;
  position: fixed;
  top: 10px;
  right: 0;
  z-index: 101;
  height: 4.5rem;
  width: 4.5rem;
}

#menutogglebtn i{
  font-size: 2rem;
  color: var(--title-color);
}

.cart-list {
  position: fixed;
  top: 85px;
  right: 0;
  background-color: var(--frame-color);
  opacity: .9;
  padding: 0.5rem 1.5rem;
  text-align: center;
  border-radius: .5rem;
  width: 20rem;
  display: flex;
  flex-direction: column;
  transform-origin: top right;
  transform: scale(0);
  transition: all .3s linear;
  z-index: 200;
}

.cart-list.active {
  transform: scale(1);
}

.cart-list h3 {
  margin-bottom: .5rem;
  font-size: 2rem;
  color: var(--title-color);
  font-family: var(--font-family-cookie);
  text-overflow: ellipsis;
  overflow-x: hidden;
}

.cart-list p,
.cart-list table {
  margin-bottom: 0;
}

.fixed-cart-list {
  position: fixed !important;
  top: 85px !important;
  right: 0 !important;
}

.modal-article-description{
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.modal-article-total{
  border-bottom: 1px solid var(--white);
}

.modal-article-icon img{
  height: 50px;
  width: 50px;
}

.modal-article-info{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 3rem;
}

.modal-article-wrapper{
  max-height: 70vh;
  overflow-y: auto;
}

.modal-btn-delete {
  cursor: pointer;
  color: red;
}

.book-appointment a {
  color: var(--white) !important;
}

.total-price{
  border-bottom: 1px solid var(--white);
}

/* Styles to visually indicate the button is disabled */
.disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* =================== HOME VIEW =================== */

#home {
  background-color: var(--white);
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
}

.section-home-img{
  display: flex;
  align-items: center;
  max-height: 100vh;
  height: 100vh;
  width: 100vw;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.carousel-caption{
  bottom: auto;
}

.carousel-caption h5{
  font-family: var(--font-family-cookie);
  font-size: 5rem;
}

.carousel-caption p{
  margin-top: 10vh;
  font-size: 2rem;
}

.dark{
  color: var(--black);
  opacity: .8;
}

/* =================== ABOUT VIEW =================== */

#about {
  padding-top: 95px;
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
}

.section-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0 20px;
}

.section-about-container{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  max-width: 1200px; /* Use max-width to prevent overflow */
  border: 1px solid rgba(163, 110, 91, 0.5);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  padding: 60px 20px;
  margin-bottom: 2rem;
  overflow: hidden; /* Hide any horizontal overflow */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
  align-items: center;
  position: relative;
  justify-content: center;
}

.section-about-wrapper{
  display: flex;
  border-radius: 4px;
  flex-wrap: wrap;
  overflow: hidden;
  align-items: center;
  position: relative;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 20px 0;
  padding: 20px;
}

.section-about-wrapper::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 4px;
  pointer-events: none; /* This ensures that the pseudo-element does not interfere with mouse events */
}

.section-hours-wrapper{
  display: flex;
  border-radius: 4px;
  flex-wrap: wrap;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  position: relative;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 20px 0;
  padding: 20px;
  font-size: 1rem;
  text-align: justify;
  color: var(--title-color);
  width: 400px;
}

.section-hours-wrapper::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 4px;
  pointer-events: none; /* This ensures that the pseudo-element does not interfere with mouse events */
}

.about-text-wrapper{
  flex: 1;
  width: 50%;
}

.about-text{
 padding-right: 20px;
 text-align: left;
}

.about-pic-wrapper{
  flex: 1;
  padding: 20px;
  width: 50%;
  position: relative;
}

.about-pic-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid var(--title-color);
  border-radius: 4px;
  pointer-events: none; /* This ensures that the pseudo-element does not interfere with mouse events */
}

.about-pic{
  width: 100%;
  z-index: 5;
}

.title-text {
  font-family: var(--font-family-cookie);
  width: fit-content;
  font-size: 3.5rem;
  font-weight: bold;
  margin: 2rem auto;
  color: var(--title-color);
}

.about-text-description{
  font-size: 1.2rem;
  text-align: left;
  color: var(--title-color);
}

.about-text-name{
  font-family: var(--font-family-cookie);
  font-size: 2.8rem;
  text-align: right;
  color: var(--title-color);
}

.hours-day{
  text-decoration: underline;
  font-weight: bold;
}

/* =================== SERVICE VIEW =================== */

#service-list{
  display: block;
  opacity: 1;
  transition: opacity 0.4s linear;
}

#service {
  padding-top: 95px;
  position: relative;
  display: flex;
  justify-content: center;
  background-color: var(--white);
  min-height: 100vh;
  width: 100%;
}

.section-service {
  text-align: center;
  padding: 20px;
}

.section-service-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.section-service-component {
  width: calc(25% - 20px);
  margin: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
}

.service-name {
  font-family: var(--font-family-cookie);
  font-size: 2.3rem;  
  color: var(--title-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.service-description {
  font-size: 14px;
  color: var(--black);
  opacity: .5;
  margin-bottom: 20px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.service-icon-container {
  display: flex;
  flex-direction: row;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.service-icon-wrapper{
  display: flex;
  flex-direction: column;
  width: 100px;
  align-items: center;
  font-size: .8rem;
  color: var(--active-color);
  cursor: pointer;
  transition: all 0.3s linear;
  margin: 10px;
}

.service-description img{
  width: 60px;
  margin: 0 5px;
}

.btn-slide{
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.slide-effect{
  cursor: pointer;
  display: block;
  padding: 15px 40px;
  border: 1px solid var(--title-color);
  position: relative;
}

.slide-effect a{
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  transition: all 0.3s linear;
}

.slide-effect a span{
  color: var(--title-color);
  position: relative;
  z-index: 2;
  transition: all 0.3s linear;
}

.slide-effect a::after{
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--title-color);
  transition: all 0.3s linear;
}

.slide-effect:hover a span{
  color: var(--white);
}

.slide-effect:hover a::after{
  width: 100%;
}

/* =================== APPOINTMENT VIEW =================== */

#appointment{
  padding-top: 95px;
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
}

.section-appointment{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; /* Ensure it takes full width of the container */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
}

.section-appointment-container{
  min-width: 1200px; /* Use max-width to prevent overflow */
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  margin-bottom: 2rem;
  overflow-x: hidden; /* Hide any horizontal overflow */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
}

.appointment-title{
  font-family: var(--font-family-cookie);
  font-size: 2rem;
  font-weight: bold;
  color: var(--title-color);
}

.appointment-title-btn{
  margin-top: 1rem;
  background-color: var(--title-color);
  color: var(--white);
  border-radius: 5px;
  width: 250px;
  height: 40px;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  transition: all 0.3s linear;
}

.appointment-title-btn:hover{
  background-color: var(--active-color);
  color: var(--white);
}

.appointment-title-btn.active{
  display: flex;
}

.appointment-article-wrapper{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%; /* Ensure it takes full width of the container */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
}

.appointment-article-container{
  display: flex;
  flex: 1 1 calc(33.333% - 1rem); /* 3 items per row with gap adjustment */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
  border: 1px solid rgba(163, 110, 91, 0.5);
  border-radius: 5px;
  padding: 5px 10px;
  min-width: calc(33.333% - 1rem); /* Use max-width to prevent overflow */
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.4);
}

.appointment-message-wrapper{
  align-items: center;
  display: flex;
  flex-direction: column;
}

.appointment-schedule-wrapper{
  display: none;
  flex-direction: column;
  margin-top: 2rem;
  width: 100%; /* Ensure it takes full width of the container */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
  margin-bottom: 2rem;
}

.appointment-book-form-wrapper{
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  width: 100%; /* Ensure it takes full width of the container */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
  margin-bottom: 2rem;
}

.appointment-schedule-wrapper.active{
  display: flex;
}

.appointment-article-scheduler{
  display: none;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  border: 1px solid rgba(163, 110, 91, 0.5);
  border-radius: 4px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.4);
  width: 100%; /* Ensure it takes full width of the container */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
  overflow-x: hidden; /* Hide any horizontal overflow */
}

.appointment-form{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border: 1px solid rgba(163, 110, 91, 0.5);
  border-radius: 4px;
  padding: 20px;
  width: 100%; /* Ensure it takes full width of the container */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
  overflow-x: hidden; /* Hide any horizontal overflow */
}

.input-global-container{
  flex: 1 1 calc(50% - 1rem);
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 auto 20px auto;
  max-width: calc(50% - 1rem);
  justify-content: end;
}

.btn-code.active,
.input-code.active{
  display: flex !important;
}

.scheduler-day-wrapper {
  flex: 1 1 calc(16.666% - 1rem); /* 6 items per row with gap adjustment */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
  /* border: 1px solid rgba(163, 110, 91, 0.5); */
  border-radius: 5px;
  /* background-color: rgba(255, 255, 255, 0.4); */
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Prevent content overflow */
  max-width: 100%; /* Ensure it does not overflow its container */
}

.scheduler-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  flex-direction: column;
  align-items: center;
  color: var(--title-color);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8), 
               -2px -2px 4px rgba(255, 255, 255, 0.8), 
               2px -2px 4px rgba(255, 255, 255, 0.8), 
               -2px 2px 4px rgba(255, 255, 255, 0.8);
}

.scheduler-day-header i{
  display: none;
}

.scheduler-content {
  /* display: none; */
  padding: 10px;
}

.scheduler-content-wrapper{
  display: flex;
  flex-direction: column;
  width: 100%; /* Ensure it takes full width of the container */
}

.appointment-article-btn i{
  color: red;
  cursor: pointer;
}

.appointment-date-hour-container{
  display: flex;
  flex: 1 1 calc(33.333% - 1rem); /* 3 items per row with gap adjustment */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
  border: 1px solid rgba(163, 110, 91, 0.5);
  border-radius: 5px;
  padding: 5px 10px;
  min-width: calc(33.333% - 1rem); /* Use max-width to prevent overflow */
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.4);
  height: 60px;
}

.appointment-date-hour-btn{
  color: green;
  cursor: pointer;
}

.appointment-date-hour-info{
  display: flex;
  flex-direction: column;
}

.appointment-article-details,
.appointment-date-hour-details{
  display: flex;
  flex-direction: row;
}

.appointment-article-details span,
.appointment-date-hour-details span{
  font-size: 5px;
  margin: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.time-btn{
  height: 40px;
  color: var(--black);
  background-color: rgba(255, 255, 255, 0.4);
  margin: 5px 0;
  border: .5px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  text-align: center;
  padding: 8px 0;
  cursor: pointer;
  max-width: 100%; /* Ensure it does not overflow its container */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
}

.first-col{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.first-col .schedule-next-btn{
  display: none;
}

.schedule-prev-btn i,
.schedule-next-btn i{
  padding-top: 10px;
  color: var(--title-color);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s linear;
}

.schedule-prev-btn i:hover,
.schedule-next-btn i:hover{
  color: var(--active-color);
}

.scheduler-content-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%; /* Adjust width as needed */
}

.scheduler-time-buttons {
  display: flex;
  flex-direction: column;
}

#new-message-content,
#edit-message-content,
#delete-message-content,
#error-display-code,
#error-display-pastDate,
#btn-message-back{
  display: none;
}

#new-message-content.active,
#edit-message-content.active,
#delete-message-content.active,
#error-display-code.active,
#error-display-pastDate.active,
#btn-message-back.active{
  display: block;
}

.message-info,
.error-info{
  font-size: 1.4rem;
  text-align: center;
  margin: 1rem 0 2rem 0;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8), 
              -2px -2px 4px rgba(255, 255, 255, 0.8), 
              2px -2px 4px rgba(255, 255, 255, 0.8), 
              -2px 2px 4px rgba(255, 255, 255, 0.8);
}

.text-alert{
  display: none;
  font-weight: bold;
  color: rgba(255, 0, 0, .8);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8), 
              -2px -2px 4px rgba(255, 255, 255, 0.8), 
              2px -2px 4px rgba(255, 255, 255, 0.8), 
              -2px 2px 4px rgba(255, 255, 255, 0.8);
}

/* =================== CONTACT VIEW =================== */

#contact{
  padding-top: 95px;
  position: relative;
  display: flex;
  justify-content: center;
  background-image: url(../img/thumbnails/bg3.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding-bottom: 10px;
  width: 100%;
}

.section-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0 20px;
}

.section-contact-container{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  max-width: 1200px; /* Use max-width to prevent overflow */
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 60px 20px;
  margin-bottom: 2rem;
  overflow: hidden; /* Hide any horizontal overflow */
  box-sizing: border-box; /* Add this to ensure padding and border are included in the width */
  align-items: center;
  position: relative;
}

.section-contact-wrapper{
  display: flex;
  border-radius: 4px;
  flex-wrap: wrap;
  flex-direction: row;
  overflow: hidden;
  align-items: center;
  position: relative;
  margin: 20px 0;
  padding: 20px;
}

.contact-form-wrapper{
  display: flex;
  justify-content: center;
  padding-right: 10px;
  flex: 1;
}

.contact-form-wrapper form .input-global-container{
  max-width: 100%;
}

.contact-form-wrapper .btn-container{
  display: flex;
  justify-content: center;
}

.contact-intro{
  text-align: left;
  margin-bottom: 2rem;
  color: var(--title-color);
  padding: 0 20px;

}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  flex: 1;
  align-items: center;
}

.contact-pic-wrapper {
  width: 80%;
  padding: 20px;
  height: auto;
  position: relative;
  overflow: hidden; /* Ensure that any content (including images) stays within the container */
}

.contact-pic-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid var(--title-color);
  border-radius: 4px;
  pointer-events: none;
}

.contact-pic {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the image covers the container without going out of bounds */
  cursor: pointer;
  z-index: 5;
}

.contact-data-wrapper{
  display: flex;
  flex-direction: row;
  align-self: flex-start;
  margin-top: 2rem;
  padding-left: 60px;
  color: var(--title-color);
}

.contact-data-wrapper i{
  font-size: 1.5rem;
  margin-right: 2rem;
}

/* =================== SERVICE DETAILS VIEW =================== */

#service-description{
  display: none;
  opacity: 0;
  transition: opacity 1.4s linear;
}

#service-details {
  padding-top: 115px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--white);
  width: 100%;
  min-height: 100vh;
  transition: opacity 0.4s linear;
}

.section-service-details{
  margin-bottom: 1rem;
}

.article-container{
  position: absolute;
  color: var(--black);
  opacity: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  transition: all 0.8s linear;
}

.article-container.active{
  position: relative;
  opacity: 1;
  z-index: 5;
}

.article-list-container{
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.article-subtitle{
  font-family: var(--font-family-cookie);
  font-size: 3rem;
  color: var(--title-color);
  margin-bottom: 1.5rem;
}

.article-highlight{
  margin-bottom: 2rem;
  font-family: var(--font-family-cookie);
  font-size: 2rem;
  text-align: center;
}

.article-highlight img{
  width: 80px;
  margin: 0 5px;
}

.service-details-icon{
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.service-icon-wrapper:hover{
  filter: var(--filter-title-color);
}

.service-icon-wrapper.active{
  filter: var(--filter-title-color);
  cursor: default;
}

.article-item{
  margin-bottom: 2rem;
  min-width: 750px;
}

.article-header{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.article-name{
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.article-name .article-title{
  color: var(--title-color);
  font-weight: bold;
}

.article-wrapper{
  display: flex;
  flex-direction: row;
  align-items: start;
  overflow: hidden;
}

.article-description{
  opacity: 0.5;
}

.article-description p{
  text-align: justify;
}

.add-to-cart-btn{
  font-family: var(--font-family-cookie);
  border-radius: .5rem;
  padding: .5rem .5rem;
  cursor: pointer;
  color: var(--white);
  font-size: 1.2rem;
  transition: all .3s linear;
  display: flex;
  background-color: var(--title-color);
  height: 55px;
}

.circle-icon{
  background-color: var(--white);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 5px;
  transition: all .3s linear;
}

.add-to-cart-btn i{
  color: var(--title-color);
  transition: all .3s linear;
}

.add-to-cart-btn span{
  align-self: center;
}

.add-to-cart-btn span i{
  color: var(--white);
}

.add-to-cart-btn:hover{
  background-color: var(--frame-color);
  color: var(--active-color);
}

.add-to-cart-btn:hover i{
  color: var(--frame-color);
}

.add-to-cart-btn:hover .circle-icon{
  background-color: var(--active-color);
}

.add-to-cart-btn:hover span i{
  color: var(--active-color);
}

/* Goodies Section Styles */
#goodies-section {
  padding: 20px;
}

.goodies-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: left;
}

.goodie-card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(163, 110, 91, 0.5);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  width: calc(100% / 3 - 20px);
}

.goodie-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

.goodie-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.goodie-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--title-color);
  font-family: var(--font-family-cookie);
  font-weight: bold;
}

.goodie-description {
  font-size: 1rem;
  margin-bottom: 15px;
  color: rgba(0, 0, 0, .5);
}

.goodie-price {
  font-size: 16px;
  font-weight: bold;
  color: var(--white);
  text-align: center;
  /* border: 2px solid var(--active-color); */
  border-radius: 6px;
  padding: 5px 10px;
  background-color: rgba(163, 110, 91, 0.8);
  min-width: 100px;  
  align-self: end;
}

.category-block{
  margin-bottom: 4rem;
  width: 70vw;
  max-width: 1400px;
}
/* =================== FOOTER VIEW =================== */

.bottom-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
}

.logo-name {
  color: var(--active-color);
  font-family: var(--font-family-cookie);
  font-size: 2.7rem;
}

.devweb,
.copyright{
  font-weight: bold;
}

.devweb-link,
.copyright-link{
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  color: var(--title-color);
  transform-origin: center center;
  transition: all 0.4s linear;
}

.copyright-link{
  font-family: var(--font-family-cookie);
  font-size: 1.7rem;
}

.devweb-link:hover{
  color: var(--active-color);
  font-size: 1.2rem;
}

.copyright-link:hover{
  color: var(--active-color);
  font-size: 1.9rem;
}

#footer{
  position: relative;
  background-color: var(--white);
  width: 100%;
  padding: 20px 0;
  box-shadow: var(--border-up);
  z-index: 150;
}

.footer-container{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 10px;
}

.footer-data-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  color: var(--title-color);
}

.left-container,
.right-container {
    flex: 1;
    padding: 10px;
    text-align: center;
    width: calc(100% / 2 - 20px);
    margin: 0 2rem;
}

.social-media {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.social-media a {
  margin: 0 1rem;
}

.social-media a i {
  font-size: 3rem;
  color: var(--active-color);
  transition: transform 0.3s linear;
}

.social-media a i:hover {
  transform-origin: center center;
  transform: scale(1.2, 1.2);
}

.footer-logo {
  width: 100%; /* Make the container take full width of its parent */
  max-width: 350px; /* Set a max-width for the logo container */
}

.footer-logo .logo-image {
  width: 100%; /* Make the image fill the container width */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Remove any inline spacing */
  object-fit: contain; /* Ensures the entire image fits within the container */
}

.terms-link{
  margin: 1rem 0;
  cursor: pointer;
  transition: all 0.3s linear;
}

.terms-link:hover{
  transform: scale(1.1);
  color: var(--active-color);
}


/* =================== BACK TO TOP BTN =================== */

.btn:not(:disabled):not(.disabled){
  cursor: pointer;
}

.back-to-top{
  position: fixed;
  opacity: 0;
  text-align: center;
  right: 30px;
  bottom: 30px;
  z-index: 200;
  animation: action 1s infinite alternate;
  transition: all 0.8s linear;
}

.back-to-top i{
  font-size: 3rem;
  color: var(--title-color);
  transition: all 0.3s linear;
}

.back-to-top i:hover{
  color: var(--active-color);
  transform: scale(1.1, 1.1);
}

@keyframes action{
  0%{
    transform: translateY(0);
  }
  100%{
    transform: translateY(-15px);
  }
}

/* =================== COMMON STYLE =================== */

.section-title{
  font-family: var(--font-family-cookie);
  font-size: 4rem;
  color: var(--title-color);
}

.text-highlight{
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 
  -2px -2px 4px rgba(0, 0, 0, 0.8), 
  2px -2px 4px rgba(0, 0, 0, 0.8), 
  -2px 2px 4px rgba(0, 0, 0, 0.8);
}

.text-highlight-light{
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8), 
  -2px -2px 4px rgba(255, 255, 255, 0.8), 
  2px -2px 4px rgba(255, 255, 255, 0.8), 
  -2px 2px 4px rgba(255, 255, 255, 0.8);
}

.btn-action a{
  text-decoration: none;
  font-family: var(--font-family-cookie);
  margin-top: 1rem;
  border-radius: .5rem;
  padding: .5rem 1.5rem;
  cursor: pointer;
  color: var(--white);
  font-size: 2rem;
  transition: all .3s linear;
  display: block;
  background-color: var(--title-color);
}

.btn-action a.disabled{
  background-color: var(--title-color);
}

.btn-action:hover a{
  background-color: var(--active-color);
  color: var(--white);
}

.btn-action:hover a.disabled{
  background-color: var(--title-color);
}

.btn-valid a{
  text-decoration: none !important;
  font-family: var(--font-family-cookie);
  border-radius: .5rem;
  padding: .1rem 1.5rem;
  cursor: pointer;
  color: var(--white) !important;
  font-size: 2rem;
  transition: all .3s linear;
  display: block;
  background-color: var(--title-color);
}

.btn-valid:hover a{
  background-color: var(--active-color);
  color: var(--white);
}

.btn-cancel a,
.btn-return a{
  text-decoration: none !important;
  font-family: var(--font-family-cookie);
  border-radius: .5rem;
  padding: .1rem 1.5rem;
  cursor: pointer;
  color: var(--white) !important;
  font-size: 2rem;
  transition: all .3s linear;
  display: block;
  background-color: var(--active-color);
}

.btn-cancel:hover a,
.btn-return:hover a{
  background-color: var(--frame-color);
  border: 1px solid var(--active-color);
  color: var(--title-color) !important;
}

.btn-del a{
  text-decoration: none !important;
  font-family: var(--font-family-cookie);
  border: 1px solid var(--active-color);
  border-radius: .5rem;
  padding: .1rem 1.5rem;
  cursor: pointer;
  color: var(--active-color) !important;
  font-size: 2rem;
  transition: all .3s linear;
  display: block;
  background-color: var(--frame-color);
}

.btn-del:hover a{
  border-color: var(--title-color);
  color: var(--title-color) !important;
}

.service-bg{
  min-height: 100vh;
  background-color: var(--white);
}

/* FORMS */

.input-container {
  display: flex;
  flex: 1 1 calc(50% - 1rem); /* 2 items per row with gap adjustment */
  position: relative;
  max-height: 50px;
}

.textarea-container {
  display: flex;
  flex: 1 1 calc(50% - 1rem); /* 2 items per row with gap adjustment */
  position: relative;
}

.input-container label {
  margin-left: 10px; /* Adjust the spacing between label and checkbox */
}

.input-label {
  position: absolute;
  font-size: 1.2rem;
  font-weight: bold;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  transition: all 0.3s linear;
  pointer-events: none;
  color: rgba(0, 0, 0, .5);
}

.form-input {
  font-size: 1.2rem;
  font-weight: bold;
  width: 100%;
  padding: 10px 10px;
  border: 1px solid var(--title-color);
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: transparent;
  outline: none;  
}

.form-input[type="checkbox"] {
  width: auto; /* Let the checkbox determine its width */
  margin-right: 5px; /* Adjust spacing between checkbox and label */
}

.form-select {
  font-size: 1.2rem;
  font-weight: bold;
  width: 100%;
  padding: 15px 10px;
  border: 1px solid var(--title-color);
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: transparent;
}

.form-select option {
  background-color: transparent;
}

.input-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.form-input:focus + .input-label,
.form-input:not(:placeholder-shown) + .input-label {
  top: 0;
  font-size: 1rem;
  transform: translateY(-55%);
  background: transparent;
  padding: 0 1rem;
}

.form-input:focus {
  box-shadow: 0 0 10px rgba(163, 110, 91, 0.5);
}

.form-input:focus + .input-border {
  background-color: transparent;
}

.form-input::placeholder {
  color: transparent; /* Make placeholder text transparent */
}

.btn-container{
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 90%;
}

.appointment-form form{
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  min-width: 100%;
}

/* =================== TERMS PAGES =================== */

.terms-body{
  background-image: none;
  background-color: var(--white);
  margin: 80px auto;
  padding: 0 20px;
  max-width: 1200px;  
}

.main-title{
  font-family: var(--font-family-cookie);
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--title-color);
  text-align: center;
  margin-bottom: 2rem;
}

.last-update{
  font-size: 1.4rem;
  color: var(--title-color);
  text-align: center;
  margin-bottom: 3rem;
}

.last-update span{
  font-weight: bold;
  text-decoration: underline;
}

.terms-block{
  color: rgba(0, 0, 0, .7);
}

.subtitle{
  font-size: 1.4rem;
  color: var(--title-color);
  font-weight: bold;
  margin-bottom: 1rem;
}

.terms-description{
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-align: justify;
}

.terms-description p{
  margin-bottom: 0.5rem;
}

/* =================== MEDIA SETTING =================== */

@media (max-width: 1280px) {

  .fixed-logo,
  .navbar-nav .nav-link {
    font-size: 1.7rem;
  }  
  
  .section-service-component {
    width: calc(50% - 20px);
  }  

  .section-about-container{
    max-width: 1200px; /* Use max-width to prevent overflow */
  }
  
  .section-appointment-container {
    min-width: auto;
    width: 95%; /* Ensure it takes full width of the container */
    padding: 10px; /* Adjust padding as needed */
  }
  
}

@media (max-width: 991px) {

  #menutogglebtn{
    display: block;
  }
  
  .logo-row {
    display: none;
  }
  
  .navbar-collapse{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
  }

  .navbar-nav {
    position: fixed;
    top: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 100%;
    background-color: var(--white);
    z-index: 150;
  }  
  
  #cart-btn {
    position: fixed;
    top: 10px;
    right: 70px;
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    font-size: 2rem;
    color: var(--title-color);
    cursor: pointer;
    border-radius: .5rem;
    text-align: center;
    transition: color .3s linear;
    z-index: 150;
  }  
  
  .fixed-logo {
    font-size: 1.9rem;
    top: 15px;
    left: 10px; /* Initially hidden off-screen */
    z-index: 150;  
  }  
  
  .cart-list {
    position: fixed;
    top: 85px; right: 0;
  }  
   
  .back-to-top{
    right: 0;
    bottom: 0;
  }  
  
  #home{
    padding-top: 86px;
  }

  .carousel-caption h5{
    font-size: 3rem;
  }  
  
  .carousel-caption p{
    font-size: 1rem;
  }
 
  .section-about {
    padding: 0 5px;
  }

  .section-about-container {
    min-width: auto;
    width: 100%; /* Ensure it takes full width of the container */
    padding: 10px; /* Adjust padding as needed */
  }

  .service-details-icon{
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }
  
  .service-icon-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns of equal width */
    gap: 10px; /* Spacing between items */
  }

  .service-icon-wrapper {
    margin-bottom: 1rem;
    width: auto;
    text-align: center;
  }
  
  .article-wrapper{
    flex-direction: column;
  }

  .article-description{
    width: 100%;
    margin-right: 0;
  }

  .article-container{
    width: 90%;
  }

  .appointment-article-container {
    flex: 1 1 100%; /* 1 item per row */
    max-width: 100%; /* Ensure it takes full width of the container */
  }

  .appointment-article-scheduler {
    flex-direction: column;
  }

  .first-col .schedule-next-btn{
    display: block;
  }
  
  .last-col .schedule-next-btn{
    display: none;
  }  

  .scheduler-day-wrapper {
    flex: 1 1 100%; /* Full width for each item */
    width: 100%; /* Ensure it takes full width of the container */
    border: 1px solid rgba(163, 110, 91, 0.5);
    background-color: rgba(255, 255, 255, 0.4);
  }

  .scheduler-day-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: var(--white);
    border-bottom: 1px solid var(--white);
  }

  .scheduler-day-header i {
    display: block;
    font-size: 1.5rem;
    transition: transform 0.3s;    
  }

  .scheduler-day-header.active i {
    transform: rotate(180deg); /* Rotate chevron when opened */
  }

  .scheduler-content {
    display: none; /* Hidden by default */
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(163, 110, 91, 0.5);
  }

  .scheduler-content.active {
    display: flex;
    flex-direction: column; /* Time buttons in column layout for accordion */
    gap: 0.5rem;
  }

  .scheduler-content-wrapper {
    display: flex;
    flex-direction: column; /* Time buttons in column layout */
    gap: 0.5rem;
  }

  .scheduler-time-buttons{
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 5px;
  }

  .time-btn{
    width: auto;
    flex: 1 1 calc(33.333% - 1rem);
  }

  .goodie-card {
    width: calc(100% / 2 - 20px);
  }

  .section-about-wrapper {
    flex-direction: column;
  }
  
  .about-text-wrapper{
    order: 2;
    width: 100%;
  }
  
  .about-pic-wrapper{
    order: 1;
    width: 100%;
  }

  .section-contact {
    padding: 0;
  }

  .section-contact-container {
    width: 95vw;
    padding: 0;
  }

  .section-contact-wrapper {
    flex-direction: column;
  }
    
  .contact-form-wrapper{
    padding-right: 0;
  }

  .contact-info-wrapper{
    padding-left: 0;
  }

  .footer-data-container {
    flex-direction: column;
    align-items: center;
  }

  .left-container,
  .right-container {
      padding: 20px;
      width: 100%;
      margin: 0;
  }
  
}

@media (max-width: 768px) {
  
  .copyright,
  .devweb{
    font-size: .9rem;
  }

  .devweb-link,
  .copyright-link{
    font-size: .8rem;
  }

  .copyright-link{
    font-size: 1.3rem;
  }

  .devweb-link:hover{
    font-size: 1.2rem;
  }

  .copyright-link:hover{
    font-size: 1.6rem;
  }

  #footer{
    padding: 0;
  }

  .footer-container{
    margin: 0 10px;
  }

  .footer-main-title{
    width: 250px;
  }

  .section-title{
    font-size: 2rem;
  }

  .social-media a {
    margin: 0 1rem;
  }

  .social-media a i {
    font-size: 2.5rem;
  }

  .back-to-top i{
    font-size: 2.3rem;
  }  

  .section-service-component {
    width: 100%;
  }  

  .service-name{
    font-size: 1.7rem;
  }

  .article-subtitle{
    font-size: 2rem;
  }

  .article-highlight{
    font-size: 1.3rem;
  }
  
  .article-item{
    max-width: 95%;
    min-width: auto;
  }

  .article-highlight img{
    width: 50px;
    margin: 0 5px;
  }
  
  .add-to-cart-btn{
    padding: .3rem .5rem;
    height: 40px;
  }
  
  .circle-icon{
    height: 30px;
    width: 30px;
  }
  
  .appointment-article-container {
    flex: 1 1 100%; /* 1 item per row */
  }
  
  .appointment-form form {
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .input-global-container {
    margin: 0 0 20px 0;
    max-width: none;
    max-height: none;
    min-height: auto;
  }

  .input-container{
    max-height: none;
  }

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

  .btn-valid,
  .btn-del,
  .btn-cancel{
    margin: .5rem 0;
    width: 100%;
    text-align: center;
  }

  .goodie-card {
    width: calc(100% - 20px);
  }

  .title-text {
    font-size: 3rem;
  }
  
  .about-text-description{
    font-size: 1rem;
  }
  
  .about-text-name{
    font-size: 2.2rem;
  }
  
  .main-title{
    font-size: 2.1rem;
  }
  
  .last-update,
  .subtitle{
    font-size: 1.1rem;
  }
  
  .terms-description{
    font-size: .9rem;
  }

  .section-hours-wrapper {
    width: 90vw;
  }
  
}

@media (max-width: 450px) {

  .service-details-icon{
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }  

  .title-text {
    font-size: 2.4rem;
  }
  
  .about-text-description{
    font-size: 0.9rem;    
  }
  
  .about-text-name{
    font-size: 2rem;
  }
  
  .contact-data-wrapper{
    padding-left: 20px;
    margin-right: 20px;
    font-size: 0.8rem;
  }

  .contact-data-wrapper i {
    margin-right: 20px;
  }

  .contact-pic-wrapper{
    width: 100%;
  }

  .last-update,
  .subtitle{
    font-size: 1rem;
  }
  
  .section-hours-wrapper{
    font-size: .8rem;
  }
  
  .logo-name {
    font-size: 1.9rem;
  }
  
}
