* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ff: "Pf Agora Sans Pro", "Century Gothic", sans-serif;
  --ffTitles: "Noto Serif Display", "DejaVu Serif", sans-serif;
  --font-size: 1rem;
  --line-height: 1.5rem;

  --font-size-h1: 2.25rem;
  --line-heightH1: 2.75rem;
  --font-sizeH1-desktop: 2.625rem;
  --line-heightH1-desktop: 3.25rem;

  --font-size-h2: 1.75rem;
  --line-heightH2: 2rem;
  --font-size-h2-desktop: 2rem;
  --line-height-h2-desktop: 2.5rem;

  --font-sizeP-H3: 1.25rem;
  --line-height-P-H3: 1.75rem;

  --logo-size: 4rem;
  --logo-size-tablet: 5rem;
  --logo-size-desktop: 6rem;
  --icon-size: 1.5rem;

  --PRIMARY-COLOR: #503b31;
  --ACCENT-COLOR: #4A7856;
  --ACCENT-COLOR2: #247e00;
  --SECONDARY-COLOR: #E0D0C1;
  --glass-color: rgba(255, 255, 255, 0.05);
  --glass-color-4TEXT: rgba(255, 255, 255, 0.44);

  --spacing-Lil: 0.9rem;
  --spacing-Normal: 3rem;
  --spacing-Big: 6.25rem;

  --menu-speed: 0.75s;
  --map-height: 484px;
}

html {
  width: 100vw;
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-family: var(--ff);
  background-color: var(--SECONDARY-COLOR);
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 2rem;
  overflow-x: hidden;
}

.main-page {
  width: 100%;
  height: 100vh;
  /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.main-page nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.back-video {
  position: fixed;
  /* Makes the video stay in place */
  top: 50%;
  /* Center vertically */
  left: 50%;
  /* Center horizontally */
  transform: translate(-50%, -50%);
  /* Center with respect to its own dimensions */
  width: 100vw;
  /* Full viewport width */
  height: 100vh;
  /* Full viewport height */
  object-fit: cover;
  /* Ensures the video covers the entire area */
  z-index: -1;
  /* Places the video behind everything else */
  background: linear-gradient(var(--SECONDARY-COLOR), var(--PRIMARY-COLOR));
}

nav {
  margin-top: 32px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-nav-insta-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-width: 100vw;
  gap: 20px;
}

.logo-nav-insta-wrapper>.icons {
  padding-left: 32px;
  padding-right: 32px;
  font-size: var(--icon-size);
}

.logo-nav-insta-wrapper img {
  width: var(--logo-size);
}

.icons,
.icons i {
  width: var(--icon-size);
  color: var(--PRIMARY-COLOR);
  text-shadow: 1px 1px 1px var(--SECONDARY-COLOR);
}

a {
  text-decoration: none;
  color: var(--SECONDARY-COLOR);
  pointer-events: auto !important;
  /* Ensure that pointer events are not disabled */
}

a:has(i) {
  color: var(--PRIMARY-COLOR);
}

a.inline-fancy {
  color: var(--SECONDARY-COLOR);
  padding: 4px 1px;
  text-decoration: none;
  border-bottom: 1px solid var(--SECONDARY-COLOR);
  box-shadow: inset 0 -1px 0 var(--SECONDARY-COLOR);
  transition: background 0.25s cubic-bezier(0.25, 0.8, 0.74, 1.02);
  position: relative;
}

h1 {
  font-family: var(--ffTitles);
  font-weight: bold;
  font-size: var(--font-size-h1);
  line-height: var(--line-heightH1);
  color: var(--PRIMARY-COLOR);
  text-align: center;
  text-wrap: wrap;
}

h2 {
  font-family: var(--ffTitles);
  font-size: var(--font-size-h2);
  line-height: var(--line-heightH2);
  color: var(--PRIMARY-COLOR);
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 2px solid;
}

h3 {
  width: min(70%, 436px);
  font-weight: bold;
  font-size: var(--font-sizeP-H3);
  line-height: var(--line-height-P-H3);
  color: var(--PRIMARY-COLOR);
  text-align: left;
  text-wrap: wrap;
}

h3.philosophy-subtitle {
  width: 70vw;
  max-width: 800px;
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-weight: bold;
  color: var(--PRIMARY-COLOR);
}

p {
  font-size: var(--font-sizeP-H3);
  line-height: var(--line-height-P-H3);
  color: var(--PRIMARY-COLOR);
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: var(--spacing-Lil);
}

.bottom-content {
  display: flex;
  margin-top: var(--spacing-Normal);
}

.text-box {
  margin-top: 10%;
  text-align: center;
}

.text-box h1 {
  font-family: var(--ffTitles);
  font-size: var(--spacing-Normal);
  color: var(--SECONDARY-COLOR);
  font-weight: bold;
  text-shadow: 2px 2px 3px var(--PRIMARY-COLOR);
  transition: 1s;
}

.button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.button-container .hero-btn {
  width: fit-content;
  padding: 12px 12px;
}

.button-container a {
  font-family: var(--ffTitles);
  font-size: calc(var(--font-size) - 10%);
  line-height: calc(var(--line-height) - 10%);
}

/* TABLET VIEW */
@media (min-width: 768px) {
  .button-container a {
    font-size: var(--font-size);
    line-height: var(--line-height);
  }
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: var(--SECONDARY-COLOR);
  border: 1px solid var(--SECONDARY-COLOR);
  border-radius: 52px;
  padding: 12px 20px;
  background-color: var(--PRIMARY-COLOR);
  cursor: pointer;
  transition: 1s;
}

.main-container {
  width: 90%;
  height: auto;
  display: flex;
  gap: var(--spacing-Lil);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-Lil);
}

.main {
  width: inherit;
  height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-Lil);
  flex-wrap: wrap;
}

/****** Carousel photo & text gallery ******/

.philosophy-carousel-container {
  display: flex;
  width: 90%;
  max-width: 600px;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.philosophy-carousel {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  min-height: 450px; /* Set a fixed height for the track to accommodate the absolute positioned cards */
}

.carousel-track:focus{
  outline: none;
}

.carousel-card {
  top: 0;
  left: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 12px var(--SECONDARY-COLOR);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.carousel-card-image {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: start;
  align-items: start;
  overflow: hidden;
  border-radius: 12px 0 0;
}

.carousel-card-image picture {
  width: 100%;
  height: 100%;
}

.carousel-card-image picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-card-content {
  padding: 20px;
  background-color: #fff;
  width: 80%;
  box-sizing: border-box;
  border-radius: 0 12px;
}

.carousel-card-content h4 {
  color: var(--PRIMARY-COLOR);
  text-shadow: 1px 1px 2px var(--SECONDARY-COLOR);
  margin-bottom: 12px;
  font-size: var(--font-sizeP-H3);
  line-height: var(--line-height-P-H3);
  text-wrap: wrap;
}

.carousel-card-content p {
  font-size: var(--font-sizeP-H3);
  line-height: var(--line-height-P-H3);
  color: var(--PRIMARY-COLOR);
  text-wrap: wrap;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  margin-bottom: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.dot.active {
  background-color: var(--PRIMARY-COLOR);
  transform: scale(1.2);
}

.carousel-arrow {
  position: absolute;
  top: 350px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--glass-color-4TEXT);
  border: 1px solid var(--PRIMARY-COLOR);
  color: var(--SECONDARY-COLOR);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

@media (min-width: 500px){
  .carousel-arrow{
    top: 500px;
  }
}

.carousel-arrow:hover {
  opacity: 1;
  color: var(--PRIMARY-COLOR);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

/* TABLET VIEW */
@media (min-width: 768px) {
  .philosophy-carousel-container {
    max-width: 900px;
  }

  .carousel-track {
    min-height: 250px; /* Adjust height for tablet view */
  }

  .carousel-arrow{
    top: 50%;
  }

  .carousel-card {
    flex-direction: row;
    min-height: auto;
    max-height: none;
    height: auto;
  }
  
  .carousel-card-image {
    width: 60%;
    border-radius: 12px 0 0 12px;
    height: auto;
    max-height: none;
  }
  
  .carousel-card-content {
    width: 40%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 1024px){
  .philosophy-carousel-container {
    max-width: 900px;
  }
}



/* PINTEREST LIKE PHOTO GALLERY 

.photo-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.photo,
.photo-not-tablet {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.photo img,
.photo-not-tablet img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.photo-only-tablet {
  display: none;
}

.container {
  position: relative;
  display: flex;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
}

.container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.container .text-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: var(--glass-color);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(100%);
}

.container .text-content p {
  color: var(--PRIMARY-COLOR);
  text-shadow: 1px 1px 1px var(--SECONDARY-COLOR);
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-weight: bold;
  background-color: var(--glass-color-4TEXT);
  border-radius: 12px;
  border: 1px solid var(--PRIMARY-COLOR);
  padding: 12px 12px;
}

@media (min-width: 471px) {
  .container .text-content p {
    font-size: var(--font-sizeP-H3);
    line-height: var(--line-height);
  }
}

@media (min-width: 768px) {
  .photo-gallery {
    flex-direction: row;
  }

  h3.philosophy-subtitle {
    width: 40vw;
  }
}

@media (768px <=width < 1024px) {
  .photo-only-tablet {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .photo-only-tablet img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
  }

  .photo-not-tablet {
    display: none;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: var(--font-sizeH1-desktop);
    line-height: var(--line-heightH1-desktop);
  }

  .photo-gallery {
    gap: 20px;
  }

  .column {
    gap: 20px;
  }
} 
  
*/

/******** SUMVOULEFTIKI OLISTIKIS OMORFIAS **********/
.consulting {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-Normal);
  padding: var(--spacing-Lil) 12px;
}

.consulting p {
  width: 70vw;
}

.consulting-container h2 {
  text-decoration: none;
  border-bottom: none;
}

.scrollable-card-grid {
  scrollbar-color: var(--SECONDARY-COLOR);
  scrollbar-width: 8px;
  scrollbar-gutter: always;
  padding: var(--spacing-Normal);
  display: flex;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
}

.scrollable-card-2 {
  min-width: 300px;
  min-height: 350px;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--PRIMARY-COLOR);
  box-shadow: -4px 0 2px var(--SECONDARY-COLOR);
  display: flex;
  flex-direction: column;
  transition: 0.2s;
  margin: 0;
}

.scrollable-card-2:not(:first-child) {
  margin-left: -130px;
}

.card-header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-Normal);
  padding-top: var(--spacing-Lil);
}

.card-header h3,
.card-header p {
  color: var(--SECONDARY-COLOR);
  font-size: var(--font-sizeP-H3);
  line-height: var(--line-height-P-H3);
}

/****** BOOKING / SERVICE GALLERY **********/

/* Hero Section with Video Background */

.hero {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Control which video shows based on screen size */
.hero-video-wide, .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* Change z-index to be above 0 but below content */
}

.hero-video{
  display: block;
}

.hero-video-wide{
  display: none;
}

/* Overlay to darken video and make text more readable */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  /* Semi-transparent black overlay */
  z-index: 2;
  /* Above video but below content */
}

/* Content positioning */
.hero-content {
  width: 90%;
  padding: 1rem;
  position: relative;
  z-index: 3;
  /* Above overlay and video */
}

.hero-content h1 {
  margin-bottom: 1rem;
  color: var(--SECONDARY-COLOR);
}

.hero-content p {
  color: var(--SECONDARY-COLOR);
}

/* Media query for larger screens */
@media (min-width: 768px) {
  .hero {
    height: 90vh;
    /* Taller on desktop */
  }

  .hero-video-wide {
    display: block;
    /* Show widescreen video on larger screens */
  }

  .hero-video {
    display: none;
    /* Hide mobile video on larger screens */
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .hero-content p {
    font-size: 1.5rem;
  }
}

.service-nav {
  position: sticky;
  top: 0;
  background: var(--SECONDARY-COLOR);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  padding: 2rem 0;
}

.service-nav ul {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-nav a {
  text-decoration: none;
  color: var(--PRIMARY-COLOR);
  font-weight: bold;
  position: relative;
}

.service-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.service-nav a:hover::after {
  width: 100%;
}

.booking-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-Lil);
  background-color: var(--SECONDARY-COLOR);
}

.booking-page h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-heightH1);
  color: var(--PRIMARY-COLOR);
  text-align: center;
}

.booking-page h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-heightH2);
  color: var(--PRIMARY-COLOR);
  text-align: center;
  padding: 0;
  border-bottom: 0;
}

.face-services-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
}

.services-gallery {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(80%, 880px);
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px, solid, rgba(80, 59, 49, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: all 0.3s ease;
}

.service-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  background-color: var(--SECONDARY-COLOR);
  color: var(--PRIMARY-COLOR);
  padding: 12px;
  text-align: center;
  width: 100%;
}

.service-text p {
  text-align: left;
  margin-bottom: var(--spacing-Lil);
  font-size: var(--font-sizeP-H3);
  line-height: var(--line-height-P-H3);
  width: 100%;
}

.face-services-gallery .service-text div p,
.face-services-gallery .service-text div h3 {
  width: 80%;
  padding-left: 12px;
}

.service-text .hero-btn {
  align-self: center;
  width: fit-content;
  border-radius: 0;
}

/* TABLET VIEW */
@media(min-width: 768px) {

  .face-services-gallery {
    width: 50%;
    height: 100%;
    background-color: transparent;
    position: relative;
  }

  .button-mobile {
    display: none;
  }

  .button-tablet {
    display: block;
  }

  .button-tablet .hero-btn {
    align-self: center;
    width: fit-content;
    border-radius: 0;
    margin-bottom: var(--spacing-Lil);
    margin-top: var(--spacing-Lil);
  }

  .face-services-gallery>.service {
    box-shadow: none;
    border: none;
  }

  .face-services-gallery>.service>.service-text {
    height: 100%;
    position: relative;
  }

  .face-services-gallery>.service>.service-text>p {
    position: absolute;
    width: 100%;
    /* Start at container width */
    max-width: 200%;
    /* Allow expanding over video */
    z-index: 2;
  }

  .services-gallery {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .services-gallery>.service {
    width: calc(50% - 20px);
  }

  .hero {
    height: 70vh;
  }

  .hero-content {
    padding: 2rem;
    max-width: 800px;
  }

  .hero-content h1 {
    font-size: var(--font-sizeH1-desktop);
    line-height: var(--line-heightH1-desktop);
  }
  
  .service-nav ul{
      gap: 2rem;
  }
}

/* DESKTOP VIEW */
@media (min-width: 1024px) {
  .services-gallery>.service {
    width: calc(33.333% - 4px);
  }
}

.list-in-main {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: var(--spacing-Lil);
  font-family: var(--ffTitles);
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-weight: bold;
  text-decoration: underline 2px var(--PRIMARY-COLOR);
}

.list-in-main a.inline-fancy {
  color: var(--PRIMARY-COLOR);
}

/****** EXPERIENCE SECTION ******/
section {
  margin-top: var(--spacing-Lil);
  position: relative;
  width: 100%;
}

.experience {
  background: var(--PRIMARY-COLOR);
  padding: 52px 0;
  overflow-x: hidden;
}

.experience .content p {
  text-align: left;
}

.experience .content ul {
  padding: 52px 0;
  list-style-type: none;
}

.experience .content ul li {
  background: var(--SECONDARY-COLOR);
  position: relative;
  margin-left: 20px;
  width: 4px;
  padding-bottom: 40px;
}

.experience .content ul li:last-child {
  padding-bottom: 12px;
}

.experience .content ul li:before {
  content: "";
  background: var(--PRIMARY-COLOR);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border: 4px solid var(--SECONDARY-COLOR);
  border-radius: 50%;
}

.experience .content ul li .hidden {
  opacity: 0;
  margin-left: 10vw;
}

.experience .content ul li .experience-content {
  background: var(--SECONDARY-COLOR);
  position: relative;
  top: 8px;
  left: 48px;
  width: calc(100vw - 100px);
  padding: 20px;
  text-align: center;
  border-radius: 0 5px 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.experience .content ul li .experience-content:before {
  content: "";
  background: var(--SECONDARY-COLOR);
  position: absolute;
  top: 0;
  left: -35px;
  width: 35px;
  height: 5px;
}

.lg-view {
  display: none;
}

.sm-view {
  display: block;
}

/* TABLET VIEW */
@media (min-width: 768px) {
  .experience .content ul {
    margin-left: var(--spacing-Lil);
  }

  .experience .content ul li .experience-content {
    width: calc(100vw - 200px);
  }

  .lg-view {
    display: block;
  }

  .sm-view {
    display: none;
  }
}

/* DESKTOP VIEW */
@media (min-width: 1024px) {
  .experience .content ul {
    margin-left: var(--spacing-Big);
  }

  .experience .content ul li .experience-content {
    width: calc(100vw - 400px);
  }
}


/****** SCROLLABLE CARDS ******/

.image-container {
  display: flex;
  justify-content: center;
  width: min(90%, 408px);
}

.image-container img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.scrollable-card {
  display: flex;
  gap: 20px;
  width: min(90%, 408px);
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card {
  scroll-snap-align: center;
  padding: 10px 16px;
  flex-shrink: 0;
  width: 100%;
  background: var(--PRIMARY-COLOR);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-content {
  padding-top: 0.2rem;
  flex-grow: 1;
  /* Ensures content takes up available space */
}

.card-content p {
  font-size: var(--font-sizeP-H3);
  line-height: var(--line-height-P-H3);
  width: 100%;
  color: var(--SECONDARY-COLOR);
}

.card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding-top: 1.5rem;
}

.card-dots {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
}

.card .swipe-prompt {
  text-align: center;
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-style: italic;
  color: var(--glass-color-4TEXT);
}

.card-dots .fa-solid,
.fa-regular {
  font-size: 0.7rem;
  color: var(--SECONDARY-COLOR);
}

/* TABLET VIEW */
@media (min-width: 768px) {
  .main {
    gap: 20px;
  }

  .image-container,
  .scrollable-card {
    width: min(90%, 458px);
  }

  .logo-nav-insta-wrapper img {
    width: var(--logo-size-tablet);
  }

}

/* DESKTOP VIEW */
@media (min-width: 1024px) {
  .main {
    flex-direction: row;
    justify-content: center;
    align-items: start;
    gap: var(--spacing-Normal);
  }

  .image-container,
  .scrollable-card {
    width: 408px;
    height: inherit;
  }

  .logo-nav-insta-wrapper img {
    width: var(--logo-size-desktop);
  }
}

/************ CONTACT PAGE ************/

.contact-us {
  width: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-Normal);
  margin-bottom: var(--spacing-Normal);
}

.contact-info {
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  background-color: var(--PRIMARY-COLOR);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info div {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-Lil);
}

.contact-info div a,
.contact-info div p {
  color: var(--SECONDARY-COLOR);
  font-size: var(--font-sizeP-H3);
  line-height: var(--line-height-P-H3);
}

.contact-info div .fa,
.contact-info div .fa-solid {
  font-size: var(--icon-size);
  color: var(--SECONDARY-COLOR);
  margin: var(--spacing-Lil);
  margin-right: var(--spacing-Lil);
}

.contact-map {
  border-radius: 12px;
  height: var(--map-height);
  width: min(348px, 80vw);
  /* MAX WIDTH SAME AS THE INFO CARD */
}

.contact-map p {
  text-align: right;
  color: var(--PRIMARY-COLOR);
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-style: italic;
}

/* Contact Form */
.contact-form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(364px, 100vw);
  /* MAX WIDTH SAME AS THE INFO CARD */
  background-color: var(--PRIMARY-COLOR);
  padding: var(--spacing-Lil);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2,
.contact-info h2 {
  font-size: var(--font-sizeP-H3);
  line-height: var(--line-height-P-H3);
  color: var(--SECONDARY-COLOR);
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 2px solid;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.form-group label {
  color: var(--SECONDARY-COLOR);
  font-size: var(--font-sizeP-H3);
}

.form-group input {
  padding: 0.5rem;
  font-size: var(--font-sizeP-H3);
  border: none;
  border-radius: 4px;
  background-color: var(--SECONDARY-COLOR);
  color: var(--PRIMARY-COLOR);
}

.submit-btn {
  font-size: var(--font-sizeP-H3);
  line-height: var(--line-height-P-H3);
  width: 100%;
  display: block;
  text-decoration: none;
  color: var(--SECONDARY-COLOR);
  border: 1px solid var(--SECONDARY-COLOR);
  border-radius: 52px;
  padding: 0.5rem;
  background-color: var(--PRIMARY-COLOR);
  cursor: pointer;
  transition: 1s ease;
}

/* TABLET VIEW */
@media (min-width: 768px) {
  .contact-us {
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
  }

  .contact-form-container {
    height: 516px;
    /* SAME AS THE INFO CARD */
    width: 344px;
  }

  .contact-map {
    width: 600px;
    height: auto;
  }
}

@media (min-width: 920px) {
  .contact-form-container {
    height: 464px;
    /* SAME AS THE INFO CARD */
  }
}

/* DESKTOP VIEW */
@media (min-width: 1024px) {
  .contact-us {
    gap: 4rem;
  }
}


/****** FOOTER ******/

footer {
  padding: 16px 16px;
  border-top: 1px solid #7a614013;
  background: var(--PRIMARY-COLOR);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: var(--spacing-Normal);
  padding: 0.5rem;
}

footer p {
  font-size: 0.8rem;
  line-height: 1.2rem;
  color: var(--SECONDARY-COLOR);
}

footer .footer-icons {
  margin-top: 4px;
  margin-bottom: 4px;
  font-size: var(--icon-size);
}

footer .footer-icons a {
  color: var(--SECONDARY-COLOR);
}

a.inline-fancy-footer {
  color: var(--SECONDARY-COLOR);
  padding: 4px 1px;
  text-decoration: none;
  border-bottom: 1px solid var(--SECONDARY-COLOR);
  box-shadow: inset 0 -1px 0 var(--SECONDARY-COLOR);
  transition: background 0.25s cubic-bezier(0.25, 0.8, 0.74, 1.02);
  position: relative;
}

/****** HAMBURGER MENU & NAV ******/


.menu-wrap {
  z-index: 1;
  float: inline-end;
  position: relative;
  width: 64px;
  height: 64px;
}


.menu-wrap .toggler {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1002;
  cursor: pointer;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.menu-wrap .hamburger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger Line */
.menu-wrap .hamburger>div {
  position: relative;
  flex: none;
  width: 100%;
  height: 2px;
  background: var(--PRIMARY-COLOR);
  box-shadow: 1px 1px 1px var(--SECONDARY-COLOR);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

/* Hamburger Lines - Top & Bottom */
.menu-wrap .hamburger>div::before,
.menu-wrap .hamburger>div::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: -10px;
  width: 100%;
  height: 2px;
  background: inherit;
  box-shadow: inherit;
}

/* Moves Line Down */
.menu-wrap .hamburger>div::after {
  top: 10px;
}

/* Toggler Animation */
.menu-wrap .toggler:checked+.hamburger>div {
  transform: rotate(135deg);
}

/* Turns Lines Into X */
.menu-wrap .toggler:checked+.hamburger>div:before,
.menu-wrap .toggler:checked+.hamburger>div:after {
  top: 0;
  transform: rotate(90deg);
}


/* Show Menu */

.menu-wrap .toggler:checked~.menu {
  visibility: visible;
}

.menu-wrap .toggler:checked~.menu>div {
  transform: scale(1);
  transition-duration: var(--menu-speed);
}

.menu-wrap .toggler:checked~.menu>div>div {
  opacity: 1;
  transition: opacity 0.4s ease 0.4s;
}

.menu-wrap .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.menu-wrap .menu>div {
  background: var(--glass-color-4TEXT);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  width: 160vw;
  height: 160vw;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: all 0.4s ease;
  z-index: 999;
}

.menu-wrap .menu>div>div {
  text-align: center;
  max-width: 90vw;
  max-height: 100vh;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-wrap .menu>div>div>ul>li {
  list-style: none;
  color: var(--PRIMARY-COLOR);
  text-shadow: 1px 1px var(--SECONDARY-COLOR);
  font-size: var(--font-size);
  line-height: var(--line-height);
  padding: var(--spacing-Lil);
}

.menu-wrap .menu>div>div>ul>li>a {
  color: inherit;
  text-decoration: none;
  transition: color 0.5s ease;
}

/* NAV LIST BUTTON STYLE */
.underline-hover-btn {
  display: inline-block;
  padding: 1em 0;
  border-radius: 0;
  color: var(--PRIMARY-COLOR);
  letter-spacing: 0.05rem;
  font-weight: bold;
  text-decoration: none;
  position: relative;
}

.underline-hover-btn:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: 1px;
  background: var(--PRIMARY-COLOR);
  transform: translateY(8px);
  opacity: 0;
  transition: 1.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Blur not covering the X button */
@media (min-width: 580px) {
  .menu-wrap .menu>div {
    width: 120vw;
    height: 120vw;
  }
}

/* TABLET VIEW */
@media (min-width: 768px) {
  .menu-wrap .menu>div {
    width: 100vw;
    height: 100vw;
  }
}


/* ~~~~~~~~~~~~~~~~ POP UP WINDOW FORM ~~~~~~~~~~~~~~~~~~ */

/*   This is the background overlay   */
.backgroundOverlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--glass-color-4TEXT);
  display: none;
}

/*   This is the Popup Window   */
.delayedPopupWindow {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Center with respect to its own dimensions */
  width: min(90vw, 600px);
  height: max(fit-content, 380px);
  background-color: var(--SECONDARY-COLOR);
  border: 2px solid var(--PRIMARY-COLOR);
  border-radius: 12px;
  z-index: 1;
  padding: 12px 12px;
}

.delayedPopupWindow h2 {
  font-size: var(--font-sizeP-H3);
  line-height: var(--line-height-P-H3);
}

/*   This is the closing button  */
#btnClose {
  width: 100%;
  display: block;
  text-align: right;
  text-decoration: none;
  color: var(--PRIMARY-COLOR);
}

/* SCROLL TO TOP BUTTON */
/* Scroll to top button styles */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--PRIMARY-COLOR);
  color: var(--SECONDARY-COLOR);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  z-index: 1000;
  opacity: 0.5;
}

#face, #body, #gift, #shave{
  scroll-margin-top: 100px; 
}

/* Touch Screen Solution for HOVER */
/*
@media (hover: none) {
  a.inline-fancy,
  .text-box h1,
  .hero-btn,
  .container,
  .scrollable-card-2,
  .service-photo img,
  .list-in-main a.inline-fancy,
  .submit-btn,
  a.inline-fancy-footer,
  .menu-wrap .toggler:checked,
  .underline-hover-btn,
  .delayedPopupWindow .submit-btn,
  #btnClose,
  .scroll-to-top {
    cursor: pointer;
  }

  a.inline-fancy:active,
  .inline-fancy.active-hover {
    background-color: var(--SECONDARY-COLOR);
    color: var(--PRIMARY-COLOR);
  }

  .inline-fancy.active-hover:before {
    position: absolute;
    top: -0.4em;
    left: 50%;
    border: solid transparent;
    height: 0;
    width: 0;
    border-top-color: rgba(255, 255, 255, 0.9);
    border-width: 0.5em;
    margin-left: -0.5em;
  }

  .text-box h1:active,
  .text-box h1.active-hover {
    text-shadow: 1px 1px 1px var(--SECONDARY-COLOR);
    color: var(--PRIMARY-COLOR);
  }

  .hero-btn:active,
  .hero-btn.active-hover {
    border: 1px solid var(--PRIMARY-COLOR);
    background-color: var(--SECONDARY-COLOR);
    color: var(--PRIMARY-COLOR);
    text-shadow: 1px 1px 1px var(--PRIMARY-COLOR);
  }

  .container:active img,
  .container.active-hover img {
    transform: scale(1.05);
  }

  .container:active .text-content,
  .container.active-hover .text-content {
    opacity: 1;
    transform: translateY(0);
  }

  .scrollable-card-2:active,
  .scrollable-card-2.active-hover {
    transform: translateY(-1rem);
    cursor: pointer;
  }

  .scrollable-card-2:active~.scrollable-card-2,
  .scrollable-card-2.active-hover~.scrollable-card-2 {
    transform: translateX(130px);
  }

  .service-photo img:active,
  .service-photo.active-hover img {
    filter: brightness(80%);
    box-shadow: 0 2px 2px rgba(80, 59, 49, 0.1);
  }

  .list-in-main a.inline-fancy:active,
  .list-in-main a.inline-fancy.active-hover {
    background-color: var(--PRIMARY-COLOR);
    color: var(--SECONDARY-COLOR);
  }

  .submit-btn:active,
  .submit-btn.active-hover {
    background-color: var(--SECONDARY-COLOR);
    color: var(--PRIMARY-COLOR);
    text-shadow: 1px 1px 1px var(--PRIMARY-COLOR);
  }

  .underline-hover-btn:active,
  .underline-hover-btn.active-hover {
    color: var(--PRIMARY-COLOR);
  }

  .delayedPopupWindow .submit-btn:active,
  .delayedPopupWindow .submit-btn.active-hover {
    color: var(--PRIMARY-COLOR);
    border: 1px solid var(--PRIMARY-COLOR);
    background-color: beige;
  }

  #btnClose:active,
  #btnClose.active-hover {
    font-weight: bold;
  }

  .scroll-to-top:active,
  .scroll-to-top.active-hover {
    background-color: var(--ACCENT-COLOR2);
    opacity: 1;
  }
}

*/

/************************************* ALL hover stuff ****************/

a.inline-fancy:hover,
a.inline-fancy:focus-within {
  background-color: var(--SECONDARY-COLOR);
  color: var(--PRIMARY-COLOR);
}

a.inline-fancy:hover:before,
a.inline-fancy:focus-within:before {
  position: absolute;
  top: -0.4em;
  left: 50%;
  border: solid transparent;
  height: 0;
  width: 0;
  border-top-color: rgba(255, 255, 255, 0.9);
  border-width: 0.5em;
  margin-left: -0.5em;
}

.text-box h1:hover,
.text-box h1:focus-within {
  text-shadow: 1px 1px 1px var(--SECONDARY-COLOR);
  color: var(--PRIMARY-COLOR);
}

.hero-btn:hover,
.hero-btn:focus-within {
  border: 1px solid var(--PRIMARY-COLOR);
  background-color: var(--SECONDARY-COLOR);
  color: var(--PRIMARY-COLOR);
  text-shadow: 1px 1px 1px var(--PRIMARY-COLOR);
}

.container:hover img,
.container:focus-within img {
  transform: scale(1.05);
  /* Slight zoom effect */
}

.container:hover .text-content,
.container:focus-within .text-content {
  opacity: 1;
  transform: translateY(0);
  /* Slide text overlay into view */
}

.scrollable-card-2:hover {
  transform: translateY(-1rem);
  cursor: pointer;
}

.scrollable-card-2:hover~.scrollable-card-2 {
  transform: translateX(130px);
}

.service-photo img:hover {
  filter: brightness(80%);
  /* Makes the image darker */
  box-shadow: 0 2px 2px rgba(80, 59, 49, 0.1);
  /* Adds a shadow effect */
}

.list-in-main a.inline-fancy:hover,
.list-in-main a.inline-fancy:focus-within {
  background-color: var(--PRIMARY-COLOR);
  color: var(--SECONDARY-COLOR);
}

.submit-btn:hover,
.submit-btn:focus-within {
  background-color: var(--SECONDARY-COLOR);
  color: var(--PRIMARY-COLOR);
  text-shadow: 1px 1px 1px var(--PRIMARY-COLOR);
}

a.inline-fancy-footer:hover,
a.inline-fancy-footer:focus-within {
  background-color: var(--SECONDARY-COLOR);
  color: var(--PRIMARY-COLOR);
}

a.inline-fancy-footer:hover:before,
a.inline-fancy-footer:focus-within:before {
  position: absolute;
  top: -0.4em;
  left: 50%;
  border: solid transparent;
  height: 0;
  width: 0;
  border-top-color: rgba(255, 255, 255, 0.9);
  border-width: 0.5em;
  margin-left: -0.5em;
}

.menu-wrap .toggler:checked:hover+.hamburger>div,
.menu-wrap .toggler:checked:focus-within+.hamburger>div {
  transform: rotate(225deg);
}

.underline-hover-btn:hover,
.underline-hover-btn:focus-within {
  color: var(--PRIMARY-COLOR);
}

.underline-hover-btn:hover:before,
.underline-hover-btn:focus-within:before {
  transform: none;
  opacity: 1;
  transition-duration: 0.4s;
}

.underline-hover-btn:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: 1px;
  background: var(--PRIMARY-COLOR);
  transform: translateY(8px);
  opacity: 0;
  transition: 1.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.delayedPopupWindow .submit-btn:hover,
.delayedPopupWindow .submit-btn:focus-within {
  color: var(--PRIMARY-COLOR);
  border: 1px solid var(--PRIMARY-COLOR);
  background-color: beige;
}

#btnClose:hover {
  font-weight: bold;
}

.scroll-to-top:hover {
  background-color: var(--ACCENT-COLOR2);
  opacity: 1;
}


/* LOADING MESSAGE FOR FORMS */
.loading-spinner {
    border: 5px solid var(--PRIMARY-COLOR);
    border-top: 5px solid var(--SECONDARY-COLOR);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    display: inline-block;
}
        
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
    

.loading-message {
    display: none; /* This ensures it starts hidden */
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    color: var(--PRIMARY-COLOR);
    font-weight: 500;
}

/*}*/