/* Modern Button Styles */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 40px;
  font-size: 22px;
  font-family: 'Cinzel Decorative', 'Montserrat', serif;
  font-weight: 800;
  background-size: 200% 200%;
  color: #fff;
  border: none;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(108,52,131,0.15);
  letter-spacing: 2px;
  cursor: pointer;
  text-shadow: 0 2px 8px rgba(108,52,131,0.18);
  transition: background-position 0.4s, box-shadow 0.3s, transform 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
}

.cta-button i {
  font-size: 24px;
  margin-right: 6px;
}

.cta-button:hover, .cta-button:focus {
  background-position: right center;
  color: #ffe6ff;
  box-shadow: 0 8px 32px rgba(108,52,131,0.22);
  transform: translateY(-2px) scale(1.07);
  outline: none;
}

.cta-button i {
  font-size: 22px;
  margin-right: 4px;
}

.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #6c3483 0%, #a084ca 100%);
  color: #f8f6ff;
  box-shadow: 0 6px 24px rgba(108,52,131,0.18);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

.intro-cta {
  margin-bottom: 32px;
  font-size: 22px;
  padding: 16px 36px;
  background: linear-gradient(90deg, #d1b3ff 0%, #a084ca 100%);
  color: #2d0036;
  border-radius: 32px;
  box-shadow: 0 2px 12px rgba(108,52,131,0.10);
  border: none;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.intro-cta:hover, .intro-cta:focus {
  background: linear-gradient(90deg, #a084ca 0%, #351a40 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(108,52,131,0.18);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}
/* Base styles */
body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  color: #070207;
  background: linear-gradient(to bottom, #e8bcf9 0%, #6c3483 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}


/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 60px;
  background: transparent;
  position: relative;
  z-index: 100;
  box-shadow: none;
}

/* Logo + clinic name */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0px;
  margin-left: 20px;
  text-decoration: none;
  color: inherit;
}

.logo {
  max-height: 140px;
  width: auto;
  object-fit: contain;
}

.clinic-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: -5px;
}

.clinic-name .main-text,
.clinic-name .sub-text {
  font-family: 'Great Vibes', cursive;
}

.clinic-name .main-text {
  font-size: 40px;
  color: #070207;
  line-height: 1;
  transition: color 0.3s, text-shadow 0.3s;
}
.clinic-name:hover .main-text {
  color: #b116f3;
  text-shadow: 1px 1px 2px rgba(52,40,51,0.2);
}

.clinic-name .main-text:hover {
  color: #b116f3;
  text-shadow: 1px 1px 2px rgba(52,40,51,0.2);
}

.clinic-name .sub-text {
  font-size: 24px;
  color: #381a43;
  letter-spacing: 3px;
  margin-top: -8px;
  transition: color 0.3s, text-shadow 0.3s;
}
.clinic-name:hover .sub-text {
  color: #b116f3;
  text-shadow: 1px 1px 2px rgba(52,40,51,0.2);
}

.clinic-name .sub-text:hover {
  color: #b116f3;
  text-shadow: 1px 1px 2px rgba(52,40,51,0.2);
}

/* Navigation menu */
nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  white-space: nowrap;
  text-decoration: none;
  font-family: 'Cinzel Decorative', serif;
  font-size: 26px;
  font-weight: 700;
  color: #070207;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover {
  color: #b116f3;
  text-shadow: 1px 1px 2px rgba(52,40,51,0.2);
}

.main-nav a.active {
  color: #f3f0f4;
  font-weight: bold;
  text-decoration: none;
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-right: 20px;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: #482256;
  border-radius: 2px;
}

/* Hero med lätt blur */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center; 
  justify-content: center; 
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/img/stock-blur.jpg') center/cover no-repeat;
  filter: blur(1px);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #f8f6ff;
  padding: 20px;
}

.hero-content h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 64px;
  margin: 0;
  line-height: 1.1;
}

.hero-content .highlight {
  color: #f8f6ff;
}

.hero-content .cta-button {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 28px;
  font-size: 20px;
  background-color: #a084ca;
  color: #2d0036;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.hero-content .cta-button:hover {
  background-color: #6c3483;
  color: #f8f6ff;
}

.hero-image img {
  max-width: 480px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Introduction section */
.intro.highlight {
  padding: 80px 20px 40px;
}


.intro.highlight .intro-box {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.intro.highlight h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #070207;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.intro.highlight p {
  font-size: 20px;
  line-height: 1.8;
  color: #3d163d;
  margin-bottom: 5px;
  font-weight: 600;
}

/* Services section */
.services {
  padding: 100px 20px;
  text-align: center;
}

.services h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 36px;
  margin-bottom: 60px;
  color: #2d0036;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px; 
  padding: 0 20px; 
  max-width: 1200px;
  margin: 0 auto;
}


.service-box {
  background-color: #f8f6ff;
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  color: #070207;
  box-shadow: 0 2px 8px rgba(108, 52, 131, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}

.service-img {
  width: 100%;
  height: 200px; 
  object-fit: cover;
  border-radius: 8px;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-box img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.service-box h3 {
  font-size: 22px;
  margin: 10px 0 5px;
  font-weight: bold;
  color: #070207;
}

.service-box p {
  font-size: 15px;
  color: #6c3483;
}

/* Treatment section */
.treatment-list {
  padding: 80px 20px;
  text-align: center;
}

.treatment-list h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 40px;
  color: #070207;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 0 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.treatment-box {
  display: block;
  background-color: #f8f6ff;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(108, 52, 131, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.treatment-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}


.treatment-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.treatment-box img {
  object-fit: cover;
  display: block;
  background-color: #eeeeee;
}

.treatment-content {
  padding: 24px;
}

.treatment-content h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 24px;
  margin-bottom: 12px;
  color: #070207;
}

.treatment-content p {
  font-size: 16px;
  line-height: 1.5;
  color: #6c3483;
}

.treatment-detail {
  max-width: 800px;
  margin: 80px auto;
  padding: 40px 30px;
  background-color: #f8f6ff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(108, 52, 131, 0.04);
  text-align: center;
}

.treatment-detail h2 {
  font-size: 32px;
  color: #070207;
  margin-bottom: 20px;
}

.treatment-detail p {
  font-size: 18px;
  line-height: 1.6;
  color: #6c3483;
  margin-bottom: 30px;
}

.beer-slider {
  max-width: 600px;
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(108,52,131,0.08);
}

.beer-slider img {
  object-fit: cover;
  width: 100%;
}

.before-after {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.before-after img {
  width: 300px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(108,52,131,0.06);
}


/* Contact section */

.contact-container {
  max-width: 600px;
  margin: 50px auto;
  padding: 36px 32px;
  background: linear-gradient(135deg, #e1aedc 0%, #ab86b9 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(108, 52, 131, 0.13);
  backdrop-filter: blur(6px);
  border: 1.5px solid #a084ca44;
  position: relative;
  overflow: hidden;
}

.contact-container h2 {
  text-align: center;
  font-family: 'Cinzel Decorative', 'Playfair Display', serif;
  font-size: 38px;
  color: #6c3483;
  margin-bottom: 24px;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(108,52,131,0.10);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
  color: #2d0036;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1.5px solid #a084ca;
  border-radius: 10px;
  font-size: 1.08rem;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  background: linear-gradient(90deg, #f8f6ff 0%, #e9dfff 100%);
  color: #2d0036;
  box-shadow: 0 2px 8px rgba(108,52,131,0.07);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #6c3483;
  box-shadow: 0 0 8px #a084ca44;
}

.contact-form button {
  background: linear-gradient(90deg, #703474 0%, #6c3483 100%);
  color: #fff;
  padding: 14px 32px;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(108,52,131,0.10);
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background-color: #2d0036;
}

/* tack */
.thank-you {
  text-align: center;
}

.thank-you h2 {
  font-size: 2rem;
  color: #070207;
  margin-bottom: 10px;
}

.thank-message {
  font-size: 1.1rem;
  color: #6c3483;
  margin-bottom: 30px;
}

.back-link {
  padding: 8px 18px;
  font-size: 15px;
  border-radius: 24px;
  background: linear-gradient(90deg,#a084ca 0%,#6c3483 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(108,52,131,0.10);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
  margin-top: 24px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

.back-link:hover {
  background: linear-gradient(90deg, #6c3483 0%, #a084ca 100%);
  color: #ffe6ff;
  box-shadow: 0 4px 16px rgba(108,52,131,0.18);
  transform: translateY(-2px) scale(1.04);
}

.back-link-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 24px;
}

/* about section */
body.about-page {
  font-family: 'Montserrat', 'Lora', serif;
}

.about-section {
  padding: 80px 20px;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  max-width: 600px;
  text-align: center;
  transform: translateY(-20px);
}

.about-text h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 38px;
  color: #070207;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #180918;
  margin: 0 auto;
}

/* Map section */

.map-container {
  display: block;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 28px;
  margin-bottom: 48px;
  padding: 24px 18px 18px 18px;
  box-sizing: border-box;
  text-align: center;
  background: linear-gradient(135deg, #f8f6ff 0%, #e8bcf9 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(108,52,131,0.13);
  border: 1.5px solid #a084ca44;
  position: relative;
}

.map-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.map-header i {
  font-size: 32px;
  color: #6c3483;
  margin-bottom: 6px;
}
.map-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 24px;
  font-weight: 700;
  color: #6c3483;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.map-address {
  font-size: 16px;
  color: #482256;
  margin-bottom: 2px;
}

.map-container iframe {
  width: 100%;
  min-width: 280px;
  max-width: 480px;
  min-height: 220px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(108,52,131,0.10);
  border: none;
}


/* Footer */
.site-footer {
  background: linear-gradient(to bottom, #f8cef5, #d1b3ff, #9a6c96);
  padding: 40px 20px 20px;
  text-align: center;
  font-size: 15px;
  color: #070207;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto 20px;
}

.footer-info p {
  margin: 6px 0;
}

.footer-info a {
  color: #32183c;
  text-decoration: none;
}

.footer-social {
  margin-top: 10px;
}

.footer-social a {
  text-decoration: none;
  margin: 0 10px;
  color: #070207;
  font-size: 24px;
}

.footer-social a:hover {
  color: #6c3483;
}


footer .copyright {
  font-size: 13px;
  margin-top: 10px;
  color: #26122e;
}


/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav.main-nav {
    display: none !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  nav.main-nav.active {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
  }

  .header-top {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }



  .logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
  }

  .clinic-name .main-text {
    font-size: 32px;
  }
  .clinic-name .sub-text {
    font-size: 16px;
    letter-spacing: 2px;
  }

  nav a {
    font-size: 18px;
  }

  .logo-container {
    text-decoration: none;
    color: inherit;
    justify-content: center;
    margin-left: 0;
  }

  .hero-content h1 {
    font-size: 40px;
    color: #fff; 
  }

  .hero-content .cta-button {
    font-size: 16px;
    padding: 10px 20px;
    background-color: #a084ca;
    color: #2d0036;
  }

  .services {
    padding: 40px 20px;
  }

  .service-grid,
  .treatment-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
    gap: 20px;
  }

  .service-box h3 {
    font-size: 20px;
    color: #2d0036;
  }

  .service-box p {
    font-size: 14px;
    color: #3d1a5a;
  }

   .service-img {
    height: 450px; 
  }

  .treatment-img {
    height: 400px;
  }

  .treatment-content h3 {
    font-size: 20px;
    color: #2d0036;
  }

  .treatment-content p {
    font-size: 14px;
    color: #3d1a5a;
  }

  .contact-container {
    padding: 20px;
    margin: 40px 10px;
    background-color: #f8f6ff;
    color: #2d0036;
  }

  .contact-container h2 {
    font-size: 28px;
    color: #2d0036;
  }

  .contact-form button {
    font-size: 16px;
    background-color: #6c3483;
    color: #f8f6ff;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image {
    order: 1;
  }

  .about-text {
    order: 2;
    max-width: 100%;
    padding: 0 15px;
    color: #2d0036;
  }

  .about-image img {
    width: 80%;
  }
}

/* --- BeerSlider Mobile / Touch Fixes --- */
/* Improve sliding responsiveness on touch devices */
.beer-slider, .beer-slider * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none; /* Safari */
  -webkit-tap-highlight-color: transparent;
}

/* Prevent the page from scrolling while the user drags inside the slider */
.beer-slider {
  /* Allow vertical page scroll while still enabling horizontal slider interaction */
  touch-action: pan-y; /* pan-y keeps vertical scrolling; horizontal events still reach range input */
  position: relative;
}

/* Default BeerSlider generated elements (range + handle) */
/* (Removed custom handle styling to preserve original BeerSlider appearance) */



/* If the library injects a handle element, make it easier to grab */
[class*="handle" i] {
  touch-action: none;
}

@media (max-width: 768px) {
  .beer-slider {
    max-width: 100% !important;
    width: 100%;
  }
}

