html, body, * {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  /* scroll-behavior: smooth; */ /* Removed to prevent conflict with GSAP */
}

body {
  color: white;
  font-family: 'Cormorant Garamond', serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  width: 100%;
  height: 100%;
  /* Removed animation as it was for the metallic gradient */
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('photos/gallery.png');
  background-image: url('photos/gallery.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

body.home-page {
}

html, body {
  height: 100%;
}
main {
  flex: 1;
  position: relative;
  z-index: 1;
}

body.lightbox-open {
  overflow: hidden;
}

@keyframes metallicWave {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}


.header {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid gold;
  padding: 20px 1%; /* Adjusted padding to be half of the previous value */
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 5px; /* Further reduced gap */
}

.nav-center {
    display: none;
}


.nav-left a, .nav-right a {
  color: white;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1em; /* Adjusted font size */
  letter-spacing: 1px;
  padding: 0 15px; /* Adjusted padding */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-logo {
  height: 40px;
  width: auto;
}

.mobile-logo {
  display: none;
}

.nav-right {
  display: flex;
  gap: 8px; /* Further reduced gap */
  align-items: center; /* Align items vertically in the center */
}

.social-icon img {
  width: 20px; /* Reduced size for social icons */
  height: 20px;
  transition: transform 0.3s ease;
}

.social-icon img:hover {
  transform: scale(1.2);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: white;
  transition: 0.4s;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  flex-direction: column;
  align-items: center;
}

.mobile-nav a {
  padding: 15px;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid gold;
  color: white;
  text-decoration: none;
}

.mobile-nav.active {
  display: flex;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 10px; /* Adjusted padding */
    display: flex;
    justify-content: center; /* Center the columns */
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    border-top: 1px solid gold;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.footer-column {
    flex: 1 1 220px; /* Allow grow, shrink, with a basis of 220px */
    min-width: 220px;
    margin: 20px 15px; /* Vertical and horizontal margin for spacing */
    text-align: left;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:before {
    content: '>';
    margin-right: 10px;
    color: #ccc;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-logo {
    width: 180px; /* Increased size */
    margin-bottom: 20px;
    border-radius: 50%; /* Make it round */
}

.working-hours p {
    margin: 0;
    color: #ccc;
}

.footer-social-icons {
    margin-top: 20px;
}

.footer-social-icons img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: #1a1a3d;
    padding: 5px;
}

.contact-info .contact-item {
    margin-bottom: 15px;
    color: #ccc;
}

.contact-info .contact-item:before {
    content: '★'; /* Star icon */
    margin-right: 10px;
    color: pink;
}

.contact-info .contact-item.address::before {
    content: '';
    background-image: url('photos/map.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 27px;
    height: 27px;
    display: inline-block;
    vertical-align: middle;
    color: transparent; /* Hide the original star color */
}

.contact-info .contact-item.phone::before {
    content: '';
    background-image: url('photos/contact.svg'); /* заменяш PNG с SVG */
    background-size: contain;
    background-repeat: no-repeat;
    width: 35px;   /* по-малко от 50px, изглежда по-иконка */
    height: 35px;
    display: inline-block;
    vertical-align: middle;
}


.contact-info .employee-contact {
    margin-left: 25px;
    color: #ccc;
}

.pin-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.welcome-text {
  position: relative;
  text-align: center;
  z-index: 2;
  width: 90%;
  margin: 20px auto 0;
}

.welcome-text h2 {
  font-size: 36px;
  color: gold;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px #000;
}

.welcome-text p {
    color: gold;
    text-shadow: 1px 1px 1px #000;
	font-size: 26px;
}

/* Main content sections */
.index-page main {
  width: 100%;
  padding-top: 60px; /* Move padding from body to main content */
  margin-top: 0; /* Full-screen sections will handle their own spacing */
}

.index-page .full-screen-section {
  min-height: 100vh; /* Ensure it's at least full viewport height, but can expand */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to the top */
  align-items: center;
  text-align: center;
  position: relative;
}

.index-page .full-screen-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.01); /* Made overlay more transparent */
  z-index: 1;
}

#services-section {
  position: relative;
  overflow: hidden;
}

.index-page .section-content {
  position: relative;
  z-index: 2; /* Ensure content is above overlay */
  max-width: 800px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.00); /* Slightly transparent background for content box */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  box-sizing: border-box; /* Add this to contain padding */
}

.index-page .full-screen-section h2 {
  font-size: 36px;
  color: gold;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px #000;
}

/* Specific section backgrounds */
.index-page #home-section {
  /* Removed background-image as it's now a separate <img> element */
  background-image: none; /* Explicitly remove */
  background-color: transparent; /* Ensure no background color */
  min-height: auto;
  justify-content: flex-start;
}

.home-logo {
  width: 100%;
  height: auto;
  max-height:100vh;
  z-index: 1;
  position: relative;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* Adjustments for existing section styles to fit new full-screen structure */
.section { /* This class is no longer directly used on the main sections, but might be on inner elements */
  padding: 0; /* Remove padding as full-screen-section handles it */
  margin-bottom: 0; /* Remove margin */
  background-color: transparent; /* Remove background */
  box-shadow: none; /* Remove shadow */
}

/* Services Section */
.services-container {
  background-color: rgba(255, 255, 255, 0.01); /* Same as .section background */
  border-radius: 10px; /* Same as .section border-radius */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.01); /* Same as .section box-shadow */
  padding: 20px; /* Padding inside the box */
  max-width: 800px; /* Limit width for the "one box" effect */
  margin: 40px auto; /* Center the box and add vertical margin */
  text-align: center; /* Center all text within this container */
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
}

.service-item {
  flex: 0 1 300px; /* Allow shrinking, but don't grow, with a basis of 300px */
  background-color: rgba(0, 0, 0, 0.6);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none; /* Remove underline from the entire service-item link */
  color: white; /* Ensure text color is inherited */
  border: 1px solid gold;
}

.service-item:hover {
  transform: translateY(-10px);
  background-color: rgba(0, 0, 0, 0.8);
}

.service-item h3 {
  color: gold;
  font-size: 24px;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 1em; /* Use em for relative font size */
  line-height: 1.6;
}

/* Specific style for service-grid inside services-details.php's container */
.services-container .service-grid {
  display: block; /* Override to block for single column layout */
  padding: 0; /* Remove padding */
  gap: 0; /* Remove gap */
  max-width: 600px; /* Set a max-width to allow centering */
  margin: 0 auto; /* Center the grid within its container */
}


.gallery-row {
    position: relative;
    margin-bottom: 20px;
}

.gallery-slider {
    width: 100%;
    overflow: hidden;
}

.gallery-grid {
    display: flex;
    gap: 10px;
}

.gallery-item {
    flex: 0 0 calc(25% - 7.5px);
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

.gallery-prev-button, .gallery-next-button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    z-index: 10;
}

.gallery-prev-button {
    left: -50px;
}

.gallery-next-button {
    right: -50px;
}

.gallery-prev-button:hover, .gallery-next-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* --- Final Custom Lightbox Styles --- */
.custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.custom-lightbox-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#custom-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    transform-origin: center center;
    transition: transform 0.2s ease-out;
    cursor: grab;
}

#custom-lightbox-img:active {
    cursor: grabbing;
}

.custom-lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 45px;
    color: white;
    cursor: pointer;
    z-index: 2001;
}

.custom-lightbox-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 5px;
    z-index: 2001;
}

.custom-lightbox-controls button {
    background: none;
    border: 1px solid white;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    cursor: pointer;
}

/* Contact Section */
.section#contact p {
  font-size: 1.1em; /* Use em for relative font size */
  margin-bottom: 0.5em; /* Use em for relative margin */
}

.map-placeholder {
  width: 100%; /* Increased width for better responsiveness */
  max-width: 1200px; /* Added max-width */
  height: 400px; /* Adjusted height for responsiveness */
  background-color: rgba(255, 255, 255, 0.1);
  margin: 2em auto 0; /* Use em for relative margin */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

#contact-section .section-content {
  max-width: 1200px;
}

#contact-section p {
  color: black;
  font-weight: bold;
  font-size: 1.2em;
}
/* Services Details Page Specific Styles */
.services-page-section {
  padding: 40px 20px; /* Adjust padding for this specific section */
}

.services-page-section h2 {
  margin-bottom: 40px; /* More space below title */
}

.gender-filter {
  text-align: center;
  margin: 1.5em 0 2.5em; /* Use em for relative margins */
  font-size: 2em; /* Use em for relative font size */
  color: gold; /* Match header/title color */
  text-shadow: 1px 1px 3px #000;
}

.gender-filter label {
  margin: 0 20px;
  cursor: pointer;
  font-weight: 700;
  transition: color 0.3s ease;
}

.gender-filter label:hover {
  color: white;
}

.gender-filter input[type="radio"] {
  margin-right: 0.5em; /* Use em for relative margin */
  transform: scale(1.2); /* Slightly larger radio buttons */
}

.category-wrapper { /* New class for category container */
  margin-bottom: 10px; /* Space between category wrappers */
  /* Remove box-like styles from here */
  text-align: center; /* Center content within category wrapper */
}

.category-title {
  font-size: 24px;
  color: gold;
  margin-bottom: 10px;
  cursor: pointer;
  padding: 10px 0; /* Reduced padding */
  background-color: transparent; /* Remove background */
  border-radius: 0; /* Remove border-radius */
  box-shadow: none; /* Remove box-shadow */
  transition: color 0.3s ease; /* Only color transition */
  text-align: center;
}

.category-title:hover {
  color: white; /* Change color on hover */
  transform: none; /* Remove transform */
  background-color: transparent; /* Ensure no background change */
}

.subcategory-list {
  display: none; /* Hidden by default, controlled by JS */
  margin-top: 5px; /* Reduced margin */
  padding-left: 0; /* Remove indent */
  border-left: none; /* Remove visual separator */
}

.subcategory-item {
  padding: 0.5em 0; /* Use em for relative padding */
  font-size: 1em; /* Use em for relative font size */
  color: white; /* Default text color */
  position: relative;
  line-height: 1.6;
  transition: color 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05); /* Light background for service items */
  border-radius: 5px;
  margin-bottom: 0.5em; /* Use em for relative margin */
}

.subcategory-item:hover {
  color: gold; /* Highlight on hover */
}

.subcategory-item p {
  margin: 0; /* Remove default paragraph margin */
  text-align: center; /* Center the service name and price */
}

.subcategory-list {
  display: none; /* Hidden by default, controlled by JS */
  margin-top: 5px; /* Reduced margin */
  padding-left: 0; /* Remove indent */
  border-left: none; /* Remove visual separator */
  text-align: center; /* Center the subcategory items */
}


.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 60%;
  margin: 0 auto;
}

.category-grid-item {
  position: relative;
  height: 200px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-grid-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.category-grid-item:hover .category-grid-item-overlay {
  background-color: rgba(0, 0, 0, 0.7);
}

.category-grid-item h3 {
  font-size: 24px;
  text-align: center;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.category-grid-item {
  box-shadow: none;
  transition: box-shadow 0.3s ease;
}

.category-grid-item:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.category-grid-item .subcategory-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 0 0 8px 8px;
    z-index: 10;
}

.category-grid-item:hover .subcategory-list {
    display: block;
}

.services-details-main {
    width: 100%;
    padding-top: 80px;
    text-align: center;
    padding-bottom: 50px;
}

.services-details-title {
    font-size: 36px;
    color: gold;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px #000;
}

.category-details-main {
    width: 100%;
    padding: 100px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin-bottom: 40px;
}

.category-header h1 {
    width: 100%;
    text-align: center;
    font-size: 36px;
    color: gold;
    margin-bottom: 15px;
    text-shadow: 1px 1px 5px #000;
}

.gender-in-headline {
    font-size: 0.9em;
}

.category-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.category-info {
    flex-basis: 100%;
    text-align: center;
}

.category-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid gold;
}

.category-description-bubble {
    flex-basis: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 15px;
    color: white;
    text-align: justify;
}

.promotion-details-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.promotion-details-content h1 {
    font-size: 2.5em;
    color: gold;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px dashed white;
    padding-bottom: 20px;
    text-shadow:
        1px 1px 0 #fff,   /* горе вляво – светлина */
        -1px -1px 0 #555; /* долу дясно – сянка */
}

.promotion-details-content .promotion-description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    border-bottom: 1px dashed white;
    padding-bottom: 20px;
}

.promotion-details-content .promotion-description a {
    color: lightgreen;
    font-style: italic;
    text-decoration: none;
}

.promotion-details-content .promotion-price,
.promotion-details-content .promotion-dates {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.promotion-details-content .promotion-price strong,
.promotion-details-content .promotion-dates strong {
    color: gold;
}

.services-section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service-list {
    width: 100%;
}

.service-list ul {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.service-list li {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-list li:hover, .service-list li.selected {
    background-color: rgba(0, 0, 0, 0.8);
}

.service-list h3 {
  color: black;
  font-size: 1.5em;
}

.services-section {
    display: flex;
    width: 80%;
    justify-content: space-between;
}


.back-button {
    display: inline-block;
    margin-top: 10px; /* Reduced margin-top to move the button upwards */
    padding: 10px 20px;
    background-color: gold;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #ffd700;
}


/* Responsive adjustments */

@media (min-width: 769px) {
    .category-content-wrapper {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }

    .category-info, .category-description-bubble {
        flex-basis: 50%;
    }
}

@media (max-width: 768px) {
  body::before {
    background-image: url('photos/gallery-mobile.png'); /* fallback */
	background-image: url('photos/gallery-mobile.webp'); /* за нови*/
  }
  .desktop-link {
    display: none;
  }
  .mobile-logo {
    display: block;
  }
  .mobile-logo .nav-logo {
    border-radius: 50%;
  }
  .header {
    padding: 20px 1%; /* Adjusted padding to be half */
  }
  .main-title {
    font-size: 20px;
    margin-bottom: 2px;
  }
  .navbar {
    justify-content: space-between;
    align-items: center;
  }
  .nav-left {
      display: none;
  }
  .nav-center {
      display: block;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
  }
  .nav-right {
      margin-left: auto;
  }
  .hamburger {
      display: block;
      margin-left: 10px;
  }
  .nav-left a, .nav-right a {
    font-size: 1em; /* Adjusted font size */
    padding: 5px 10px; /* Adjusted padding */
  }
}
  main {
    padding: 10px;
    padding-top: 70px;
    margin-top: 0; /* Full-screen sections will handle their own spacing */
  }
  .section {
    padding: 30px 10px;
    margin-bottom: 20px;
  }
  .section h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .gallery-slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
  }
  .gallery-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
  }
  .gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .gallery-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
  .gallery-prev-button, .gallery-next-button,
  .lightbox .prev-button, .lightbox .next-button {
    display: none; /* Hide arrows on mobile */
  }
  .service-grid {
    grid-template-columns: 1fr; /* Single column for small screens */
    gap: 20px;
    padding: 0 10px;
  }
  .services-container {
    max-width: 95%; /* Adjust max-width for smaller screens */
    margin: 20px auto;
    padding: 15px;
  }
  .category-title {
    font-size: 20px;
    padding: 10px;
  }
  .subcategory-item p {
    font-size: 16px;
  }
  .gender-filter {
    font-size: 36px;
    margin: 15px 0 30px;
  }
  .gender-filter label {
    margin: 0 10px;
  }
  .category-grid {
    max-width: 100%;
    padding: 10px;
  }
  .map-placeholder {
    width: 95%;
    height: 200px;
  }
    .custom-lightbox-controls {
        display: none;
    }

    .category-header {
        flex-direction: column;
        width: 90%;
    }


    .category-description-bubble {
        max-width: 100%;
        max-width: 100%;
    }

    .services-section {
        width: 90%;
    }

@media (max-width: 480px) {
  /* --- Modified Footer Rules for Mobile --- */
  .footer {
    flex-wrap: wrap; /* Ensure wrapping is enabled */
    justify-content: center; /* Center columns */
  }
  .footer-column {
    flex: 1 1 100%; /* Default stacking for columns 1 and 4 */
    min-width: unset;
    margin: 20px 0;
    text-align: center; /* Center content */
  }
  /* Specific rules for Row 2 (columns 2 and 3) to stay side-by-side */
  .footer-column:nth-child(2),
  .footer-column:nth-child(3) {
    flex: 1 1 calc(50% - 30px); /* Allow them to sit side-by-side */
    min-width: 150px; /* Give them a minimum width */
    margin: 10px 15px; /* Adjust margins for side-by-side */
    text-align: center; /* Center content within these columns */
  }
  /* Ensure columns 1 and 4 stack */
  .footer-column:nth-child(1),
  .footer-column:nth-child(4) {
      flex: 1 1 100%; /* Ensure they take full width and stack */
      min-width: unset;
      margin: 20px 0;
      text-align: center; /* Center content */
  }
}
@media (max-width: 480px) {
  body {
    padding-top: 60px; /* Adjusted padding-top to be half */
  }

  .header {
    padding: 20px 0.5%; /* Adjusted padding-top to be half */
  }

  .main-title {
    font-size: 16px;
    margin-bottom: 1px;
  }

  .nav-left a, .nav-right a {
    font-size: 0.9em; /* Adjusted font size */
    padding: 4px 8px; /* Adjusted padding */
  }

  .social-icon img {
    width: 20px; /* Smaller social icons for very small screens */
    height: 20px;
  }

  .service-item p, .subcategory-item p {
    font-size: 14px;
  }

  .gender-filter {
    font-size: 28px;
  }
}


/* New Button Styles from Uiverse.io by satyamchaudharydev */
#new-book-appointment-btn {
  width: fit-content;
  display: flex;
  padding: 0.8em 1.1em;
  gap: 0.4rem;
  border: none;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  text-shadow: 2px 2px 3px rgb(136 0 136 / 50%);
  background: linear-gradient(
      15deg,
      #880088,
      #aa2068,
      #cc3f47,
      #de6f3d,
      #f09f33,
      #de6f3d,
      #cc3f47,
      #aa2068,
      #880088
    )
    no-repeat;
  background-size: 300%;
  background-position: left center;
  transition: background 0.3s ease;
  color: #fff;
}

#new-book-appointment-btn:hover {
  background-size: 320%;
  background-position: right center;
}

#new-book-appointment-btn:hover svg {
  fill: #fff;
}

#new-book-appointment-btn svg {
  width: 23px;
  fill: #f09f33;
  transition: 0.3s ease;
}

#book-appointment-btn.button {
  width: fit-content;
  display: flex;
  padding: 0.8em 1.1em;
  gap: 0.4rem;
  border: none;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  text-shadow: 2px 2px 3px rgb(136 0 136 / 50%);
  background: linear-gradient(
      15deg,
      #880088,
      #aa2068,
      #cc3f47,
      #de6f3d,
      #f09f33,
      #de6f3d,
      #cc3f47,
      #aa2068,
      #880088
    )
    no-repeat;
  background-size: 300%;
  background-position: left center;
  transition: background 0.3s ease;
  color: #fff;
}

#book-appointment-btn.button:hover {
  background-size: 320%;
  background-position: right center;
}

.news-button-container {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.news-button {
    text-decoration: none;
	font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.news-button .group {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #4a5568;
}

.news-button .group .absolute {
    position: absolute;
}

.news-button .group .opacity-0 {
    opacity: 0;
}

.news-button .group:hover .opacity-100 {
    opacity: 1;
}

.news-button .group:hover .group-hover\:-translate-y-\[150\%\] {
    --transform-translate-y: -150%;
}

.news-button .group .duration-500 {
    transition-duration: 500ms;
}

.news-button .group:hover .group-hover\:delay-500 {
    transition-delay: 500ms;
}

.news-button .group .skew-y-\[20deg\] {
    transform: skewY(20deg);
}

.news-button .group:hover .group-hover\:skew-y-0 {
    transform: skewY(0);
}

.news-button .group .shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.news-button .group .bg-lime-200 {
    background-color: #d9f99d;
}

.news-button .group .flex {
    display: flex;
}

.news-button .group .items-center {
    align-items: center;
}

.news-button .group .gap-1 {
    gap: 0.25rem;
}

.news-button .group .p-2 {
    padding: 0.5rem;
}

.news-button .group .rounded-md {
    border-radius: 0.375rem;
}

.news-button .group .stroke-zinc-600 {
    stroke: #52525b;
}

.news-button .group .bottom-0 {
    bottom: 0;
}

.news-button .group .translate-y-1\/2 {
    --transform-translate-y: 50%;
}

.news-button .group .left-1\/2 {
    left: 50%;
}

.news-button .group .translate-x-full {
    --transform-translate-x: 100%;
}

.news-button .group .rotate-45 {
    transform: rotate(45deg);
}

.news-button .group .p-1 {
    padding: 0.25rem;
}

.news-button .group .bg-white {
    background-color: #fff;
}

.news-button .group:hover .group-hover\:opacity-0 {
    opacity: 0;
}

.news-button .group:hover .group-hover\:scale-\[115\%\] {
    transform: scale(1.15);
}

.news-button .group:hover .group-hover\:delay-700 {
    transition-delay: 700ms;
}

.news-button .group .w-full {
    width: 100%;
}

.news-button .group .h-full {
    height: 100%;
}

.news-button .group .top-0 {
    top: 0;
}

.news-button .group .left-0 {
    left: 0;
}

.news-button .group .border-b {
    border-bottom-width: 1px;
}

.news-button .group .border-r {
    border-right-width: 1px;
}

.news-button .group .border-white {
    border-color: #fff;
}

.news-button .group:hover .group-hover\:gap-2 {
    gap: 0.5rem;
}

.news-button .group .bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.news-button .group .from-lime-200 {
    --tw-gradient-from: #d9f99d;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(217, 249, 157, 0));
}

.news-button .group .to-yellow-200 {
    --tw-gradient-to: #fef08a;
}

.news-button .group .p-3 {
    padding: 0.75rem;
}

.news-button .group .rounded-full {
    border-radius: 9999px;
}

.news-button .group .cursor-pointer {
    cursor: pointer;
}

.news-button .group .duration-300 {
    transition-duration: 300ms;
}

.news-button .group .fill-zinc-600 {
    fill: #52525b;
}

.news-button .group .text-\[0px\] {
    font-size: 0px;
}

.news-button .group:hover .group-hover\:text-sm,
.news-button .group.scrolled .text-\[0px\] {
    font-size: 1rem;
}

.news-button .group.scrolled .group-hover\:gap-2 {
    gap: 0.5rem;
}
        .news-container {
            padding: 120px 20px 40px;
            margin-bottom: 500px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .news-container h2 {
            font-size: 48px;
            font-weight: bold;
            color: gold;
            text-shadow: 1px 1px 5px #000;
        }
        .news-item, .promotion-item {
            background-color: rgba(128, 128, 128, 0.2);
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            width: 100%;
            max-width: 800px;
        }
        .news-item h3, .promotion-item h3 {
            font-size: 2.5em;
            color: red;
        }
        .news-item div {
            color: black;
            font-family: Arial, sans-serif;
        }
        .news-item .date, .promotion-item .period {
            font-style: italic;
            color: #666;
            margin-bottom: 10px;
        }

/* 2D Carousel for Promotions */
.promotions-rotator-wrapper {
  width: 100%;
  max-width: 960px; /* Container width */
  height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  overflow: hidden; /* This is crucial to create the "window" effect */
}

.promotions-rotator-inner {
  display: flex; /* Lay out cards in a row */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: grab;
  touch-action: pan-y; /* Prevent vertical page scroll while swiping horizontally */
}

.promotions-rotator-card {
  width: 260px; /* Width of a single card */
  height: 300px; /* Height of a single card */
  margin: 0 15px; /* Space between cards */
  flex-shrink: 0; /* Prevent cards from shrinking */
  border: 2px solid rgba(var(--color-card));
  border-radius: 12px;
  background: #0000 radial-gradient( circle, rgba(var(--color-card), 0.2) 0%, rgba(var(--color-card), 0.6) 80%, rgba(var(--color-card), 0.9) 100% );
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  align-items: center;
  padding: 5px 15px 15px; /* Reduced top padding */
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: relative; /* For absolute positioning of the price */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}

.promotions-rotator-card h3 {
    font-size: 2em; /* Made headline bigger again */
    margin: 0;
    text-shadow: 2px 2px 4px #000000;
    line-height: 1.1; /* Adjust line height for wrapping */
    color: gold;
}

.promotions-rotator-card .promo-description {
    font-size: 1.3em;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    text-shadow: none;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limit to 4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.promotions-rotator-card .promo-dates {
    font-size: 1.0rem !important; /* Decreased size */
    color: black;
    position: absolute;
    bottom: 1px; /* Set specific spacing */
    left: 5px;
    margin: 0;
}

.promotions-rotator-card .promo-price {
    font-weight: bold;
    position: absolute;
    bottom: 15px; /* Added more padding from bottom */
    right: 15px;
    margin: 0;
    font-size: 2.5em !important; /* Increased price font size and added !important */
    color: yellow;
    text-shadow: -1px -1px 1px rgba(0,0,0,0.7), 1px 1px 1px rgba(255,255,255,0.2); /* Inset shadow effect */
}

.promotions-rotator-card.expired {
    opacity: 0.6;
}

.expired-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    color: red;
    opacity: 0.7;
    font-size: 3.5em;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
    pointer-events: none; /* Allows clicking through the overlay */
}

/* Promotion Details Page */
.promotion-details .container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.back-button-container {
    text-align: center;
    margin-top: 40px;
}

.back-button-new {
    background-color: white;
    text-align: center;
    width: 12rem; /* w-48 */
    border-radius: 1rem; /* rounded-2xl */
    height: 3.5rem; /* h-14 */
    position: relative;
    color: black;
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    cursor: pointer;
    border: none;
}

.back-button-new .button-inner-new {
    background-image: linear-gradient(to right, purple, pink);
    border-radius: 0.75rem; /* rounded-xl */
    height: 3rem; /* h-12 */
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0.25rem; /* left-1 */
    top: 4px;
    z-index: 10;
    transition: width 500ms; /* duration-500 */
}

.back-button-new:hover .button-inner-new {
    width: 11.5rem; /* group-hover:w-[184px] */
}

.back-button-new .button-text-new {
    transform: translateX(0.5rem); /* translate-x-2 */
    margin: 0;
}

/* This is an example, feel free to delete this code */
.tooltip-container {
  background: transparent;
  position: relative;
  cursor: pointer;
  font-size: 17px;
  padding: 0.7em 0.7em;
  border-radius: 50px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.tooltip-container:hover {
  transition: all 0.6s;
}
.tooltip-container .text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.tooltip-container .icon-background {
  fill: rgb(26,209,0);
}
.tooltip-container .icon-foreground {
  fill: #fff;
}
.tooltip-container:hover .text {
  transition: all 0.6s;
}
.tooltip-container:hover .icon-background {
  fill: #fff;
}
.tooltip-container:hover .icon-foreground {
  fill: rgb(26,209,0);
}
.tooltip-container .text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: rgb(26,209,0);
  transition: width 0.3s ease-in-out;
}
.tooltip-container:hover .text::after {
  width: 80%;
}

/* Inicio do tooltip telegram*/
.tooltip1 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  fill: #03a9f4;
  padding: 10px;
  border-radius: 50px;
  transition:
    opacity 0.3s,
    visibility 0.3s,
    top 0.3s,
    background 0.3s;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip-container:hover .tooltip1 {
  top: 150%;
  opacity: 1;
  visibility: visible;
  background: #fff;
  border-radius: 50px;
  transform: translate(-50%, -5px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tooltip-container:hover .tooltip1:hover {
  background: #03a9f4;
  fill: #fff;
}
/* Fim do tooltip telgram*/

/* Inicio do tooltip messinger*/
.tooltip2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  fill: #0084ff;
  padding: 10px;
  border-radius: 50px;
  transition:
    opacity 0.3s,
    visibility 0.3s,
    top 0.3s,
    background 0.3s;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip-container:hover .tooltip2 {
  top: -120%;
  opacity: 1;
  visibility: visible;
  background: #fff;
  transform: translate(-50%, -5px);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooltip2 .messenger-bg {
  fill: #0084ff;
}

.tooltip2 .messenger-fg {
  fill: #fff;
}

.tooltip-container:hover .tooltip2:hover .messenger-bg {
  fill: #fff;
}

.tooltip-container:hover .tooltip2:hover .messenger-fg {
  fill: #0084ff;
}

.tooltip-container:hover .tooltip2:hover {
  background: #0084ff;
}
/* Fim do tooltip messinger*/

/* Inicio do tooltip whatsApp */
.tooltip3 {
  position: absolute;
  top: 100%;
  left: 60%;
  transform: translateX(80%);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  fill: #1db954;
  padding: 10px;
  border-radius: 50px;
  transition:
    opacity 0.3s,
    visibility 0.3s,
    top 0.3s,
    background 0.3s;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip-container:hover .tooltip3 {
  top: 10%;
  opacity: 1;
  visibility: visible;
  background: #fff;
  transform: translate(85%, -5px);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tooltip-container:hover .tooltip3:hover {
  background: #1db954;
  fill: #fff;
}
/* Fim do tooltip whatsApp */

        /* Inicio do tooltip viber*/
        .tooltip4 {
          position: absolute;
          top: 100%;
          left: 30%;
          transform: translateX(-80%);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  fill: #665CAC;
  padding: 10px;
  border-radius: 50px;
  transition:
    opacity 0.3s,
    visibility 0.3s,
    top 0.3s,
    background 0.3s;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

        .tooltip-container:hover .tooltip4 {
          top: 10%;
          opacity: 1;
          visibility: visible;
          background: #fff;
          transform: translate(-85%, -5px);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tooltip-container:hover .tooltip4:hover {
  background: #665CAC;
  fill: #fff;
}
/* Fim do tooltip viber*/



/* --- Styles for Icons Inside the Contact Section ONLY --- */
#contact-section .tooltip-container:hover .tooltip2 { /* Messenger (Top) */
  top: -70%;
}
#contact-section .tooltip-container:hover .tooltip1 { /* Telegram (Bottom) */
  top: 105%;
}
#contact-section .tooltip-container:hover .tooltip4 { /* Viber (Left) */
  left: 50%;
  transform: translateX(-70px);
}
#contact-section .tooltip-container:hover .tooltip3 { /* WhatsApp (Right) */
  left: 50%;
  transform: translateX(30px);
}


/* --- Styles for Icons Inside the Booking Modal ONLY --- */
/* Hover position overrides for modal */
#booking-modal .tooltip-container:hover .tooltip2 { /* Messenger (Top) */
  top: -80%;
}

#booking-modal .tooltip-container:hover .tooltip1 { /* Telegram (Bottom) */
  top: 110%;
}

#booking-modal .tooltip-container:hover .tooltip4 { /* Viber (Left) */
  left: 15%;
  transform: translateX(-50%);
}

#booking-modal .tooltip-container:hover .tooltip3 { /* WhatsApp (Right) */
  left: 85%;
  transform: translateX(-50%);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

#confirmation-modal {
    z-index: 1001;
}

/* Styles originally from Gallery/css/card-animation.css */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas {
  position: relative;
  width: 20rem;
  height: 20rem;
  perspective: 100rem;
}

.card {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.1s;
  border-radius: 2rem;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #1e1e1e;
  color: white;
}

.subtitle {
  font-size: 1rem;
  color: #aaaaaa;
}

.title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.canvas:hover .title {
    opacity: 1;
}

.prompt {
  font-size: 1.5rem;
  color: black;
  position: absolute;
  top: 0.5rem;
  text-shadow: 1px 1px 2px white, 0 0 5px white;
  font-weight: bold;
}

.tracker {
  position: absolute;
  width: 20%;
  height: 20%;
  z-index: 2;
}

.tr-1:hover ~ .card {
  transform: rotateX(20deg) rotateY(-20deg);
}

.tr-2:hover ~ .card {
  transform: rotateX(20deg) rotateY(-10deg);
}

.tr-3:hover ~ .card {
  transform: rotateX(20deg) rotateY(0deg);
}

.tr-4:hover ~ .card {
  transform: rotateX(20deg) rotateY(10deg);
}

.tr-5:hover ~ .card {
  transform: rotateX(20deg) rotateY(20deg);
}

.tr-6:hover ~ .card {
  transform: rotateX(10deg) rotateY(-20deg);
}

.tr-7:hover ~ .card {
  transform: rotateX(10deg) rotateY(-10deg);
}

.tr-8:hover ~ .card {
  transform: rotateX(10deg) rotateY(0deg);
}

.tr-9:hover ~ .card {
  transform: rotateX(10deg) rotateY(10deg);
}

.tr-10:hover ~ .card {
  transform: rotateX(10deg) rotateY(20deg);
}

.tr-11:hover ~ .card {
  transform: rotateX(0deg) rotateY(-20deg);
}

.tr-12:hover ~ .card {
  transform: rotateX(0deg) rotateY(-10deg);
}

.tr-13:hover ~ .card {
  transform: rotateX(0deg) rotateY(0deg);
}

.tr-14:hover ~ .card {
  transform: rotateX(0deg) rotateY(10deg);
}

.tr-15:hover ~ .card {
  transform: rotateX(0deg) rotateY(20deg);
}

.tr-16:hover ~ .card {
  transform: rotateX(-10deg) rotateY(-20deg);
}

.tr-17:hover ~ .card {
  transform: rotateX(-10deg) rotateY(-10deg);
}

.tr-18:hover ~ .card {
  transform: rotateX(-10deg) rotateY(0deg);
}

.tr-19:hover ~ .card {
  transform: rotateX(-10deg) rotateY(10deg);
}

.tr-20:hover ~ .card {
  transform: rotateX(-10deg) rotateY(20deg);
}

.tr-21:hover ~ .card {
  transform: rotateX(-20deg) rotateY(-20deg);
}

.tr-22:hover ~ .card {
  transform: rotateX(-20deg) rotateY(-10deg);
}

.tr-23:hover ~ .card {
  transform: rotateX(-20deg) rotateY(0deg);
}

.tr-24:hover ~ .card {
  transform: rotateX(-20deg) rotateY(10deg);
}

.tr-25:hover ~ .card {
  transform: rotateX(-20deg) rotateY(20deg);
}

.tr-1 { top: 0; left: 0; }
.tr-2 { top: 0; left: 20%; }
.tr-3 { top: 0; left: 40%; }
.tr-4 { top: 0; left: 60%; }
.tr-5 { top: 0; left: 80%; }
.tr-6 { top: 20%; left: 0; }
.tr-7 { top: 20%; left: 20%; }
.tr-8 { top: 20%; left: 40%; }
.tr-9 { top: 20%; left: 60%; }
.tr-10 { top: 20%; left: 80%; }
.tr-11 { top: 40%; left: 0; }
.tr-12 { top: 40%; left: 20%; }
.tr-13 { top: 40%; left: 40%; }
.tr-14 { top: 40%; left: 60%; }
.tr-15 { top: 40%; left: 80%; }
.tr-16 { top: 60%; left: 0; }
.tr-17 { top: 60%; left: 20%; }
.tr-18 { top: 60%; left: 40%; }
.tr-19 { top: 60%; left: 60%; }
.tr-20 { top: 60%; left: 80%; }
.tr-21 { top: 80%; left: 0; }
.tr-22 { top: 80%; left: 20%; }
.tr-23 { top: 80%; left: 40%; }
.tr-24 { top: 80%; left: 60%; }
.tr-25 { top: 80%; left: 80%; }

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/* Styles originally from style.css */
.gallery-card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Lazy loading styles */
.lazy-bg {
    background-image: none !important;
    background-color: rgba(0, 0, 0, 0.1);
    transition: background-image 0.3s ease;
}

.lazy-bg.loaded {
    background-color: transparent;
}

@media (max-width: 768px) {
    .gallery-card-container {
        flex-direction: column;
        align-items: center;
    }
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1001; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
    /* Added for centering */
    align-items: center;
    justify-content: center;
}

#booking-modal h2 {
    text-align: center;
    font-weight: bold;
    color: yellow;
}

#booking-modal .close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#booking-modal .close-button:hover,
#booking-modal .close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* New Booking Modal Styles from Uiverse.io by bhaveshxrawat */
#booking-modal .modal-content,
#new-employee-modal .modal-content,
#employee-modal .modal-content {
  width: 350px;
  height: auto;
  min-height: 254px;
  padding: 20px;
  background: #ffc0cb;
  position: relative;
  display: flex;
  flex-direction: column;
  place-content: center;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid black;
}

#booking-modal .modal-content h2,
#new-employee-modal .modal-content h2,
#employee-modal .modal-content h2 {
  z-index: 1;
  color: yellow;
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: none;
}

#booking-modal .modal-content .booking-info,
#new-employee-modal .modal-content #employee-info,
#employee-modal .modal-content #employee-info {
    z-index: 1;
    color: #333;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
}

#booking-modal .modal-content::before,
#new-employee-modal .modal-content::before,
#employee-modal .modal-content::before {
  content: '';
  position: absolute;
  width: 100px;
  background-image: linear-gradient(180deg, rgb(0, 183, 252), rgb(255, 48, 255));
  height: 200%;
  animation: rotBGimg 3s linear infinite;
  transition: all 0.2s linear;
}

@keyframes rotBGimg {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#booking-modal .modal-content::after,
#new-employee-modal .modal-content::after,
#employee-modal .modal-content::after {
  content: '';
  position: absolute;
  background: #ffc0cb;
  inset: 5px;
  border-radius: 15px;
  z-index: 0;
}

#booking-modal .close-button,
#new-employee-modal .close-button,
#employee-modal .close {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 2;
    color: #333;
}

/* From Uiverse.io by Yaya12085 */ 
.conf-card {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  background: #606c88;
  background: -webkit-linear-gradient(to right, #3f4c6b, #606c88);
  background: linear-gradient(to right top, #3f4c6b, #606c88);
  padding: 1rem;
  color: rgb(107, 114, 128);
  box-shadow: 0px 87px 78px -39px rgba(0,0,0,0.4);
}

.conf-icon {
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: #153586;
  color: rgb(59, 130, 246);
}

.conf-icon svg {
  height: 1.25rem;
  width: 1.25rem;
}

.conf-content {
  margin-left: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.25rem;
  font-weight: 400;
  padding: 1rem;
  text-align: center;
}



.conf-desc {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  line-height: 1.25rem;
  font-weight: 400;
  color: rgb(202, 200, 200);
}

.conf-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 0.5rem;
  gap: 0.5rem;
  margin-top: auto;
  width: 100%;
}

.conf-download, .conf-notnow {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.375rem 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(255, 255, 255);
  outline: 2px solid transparent;
  border: 1px solid rgba(253, 253, 253, 0.363);
}

.conf-download {
  background-color: #284385;
  font-weight: 600;
}

.conf-download:hover {
  background-color: #153586;
}

.conf-notnow {
  background-color: #606c88;
  font-weight: 500;
}

.conf-notnow:hover {
  background-color: #3f4c6b;
}

.category-description-bubble, .service-description-bubble {
    font-family: 'Roboto', sans-serif;
}
#new-book-appointment-btn {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    opacity: 0; /* Initially transparent */
    transition: opacity 0.5s ease-in-out; /* Fade-in transition */
    display: none;
}
.service-description-bubble {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 15px;
    color: white;
    text-align: justify;
    margin-top: 10px;
}
.service-list-container {
    position: relative;
}
.service-details-container {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 120px; /* Keeps the container in view after scrolling past the header */
    align-self: start; /* Aligns the sticky item to the top of its grid area */
}
.service-details-display {
    max-width: 500px;
}
.service-popup-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid gold;
    margin-bottom: 15px;
}

.service-price {
    font-size: 1.3em;
}

@media (max-width: 768px) {
    .services-section {
        grid-template-columns: 1fr !important;
    }
    .service-details-container {
        display: none !important;
    }
    .service-description-bubble {
        width: 100%;
    }
    .service-details-mobile {
        padding-bottom: 50px;
        text-align: center;
    }
    .service-list li.selected {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .service-details-mobile .service-description-bubble,
    .service-details-mobile .service-description-bubble p,
    .service-details-mobile .service-description-bubble div {
        text-align: center !important;
    }
    .service-details-mobile .service-description-bubble {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        margin-top: 0;
    }
}

.subservice-item .text-muted {
    font-family: 'Roboto', sans-serif;
}
body {
  background-color: #f8f9fa;
}
.card {
  background-color: rgba(192, 192, 192, 0.2);
  border: 1px solid black;
  border-radius: 18px;
  box-shadow: none;
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}
.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}
.card:hover {
  transform: translateY(-2px);
}
.mb-5.text-center {
    font-size: 36px;
    color: gold;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px #000;
    font-weight: bold;
}
.card-title {
    font-size: 2rem;
    font-weight: bold;
    font-style: italic;
    color: gold;
    text-shadow: 1px 1px 5px #000;
}
.card-text {
    font-size: 1.1rem;
}
.subservice-item {
    font-size: 1.15rem;
  border: 1px solid black;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  user-select: none;
  background-color: rgba(192, 192, 192, 0.2);
}
.subservice-item.selected {
  background-color: #0d6efd;
  color: white;
  border-color: #0d6efd;
}
.subservice-item.selected .text-muted {
    color: #f0f0f0 !important;
}
.subservice-item .text-muted {
    font-weight: bold;
}
.subservice-title {
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.service-name {
  margin-right: 10px;
}
.subservice-price {
  font-size: 1.35rem;
  font-weight: bold;
  white-space: nowrap;
}
.total-price-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    display: none;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    width: 230px;
    text-align: center;
    font-size: 1.2em;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    color: #000;
    font-weight: bold;
}
.price-label {
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.price-amount {
    font-size: 1.3rem;
}
.container.py-5 {
    margin-top: 80px; /* Adjust this value based on the navbar's height */
}
.social-link svg {
  color: #3b5998; /* синьо */
  transition: color 0.3s;
}

.social-link:hover svg {
  color: #1877f2; /* по-ярко синьо при hover */
}
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  z-index: 9999;
}

#cookie-banner button {
  margin-left: 10px;
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#acceptCookies {
  background-color: #28a745; /* зелено */
  color: #fff;
}

#declineCookies {
  background-color: #dc3545; /* червено */
  color: #fff;
}
#halfCookies {
  background-color: #6c757d; /* червено */
  color: #fff;
}
