/* =========================
   Global Reset & Base Styles
   ========================= */

/* Load Montserrat (Cyrillic subset) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap&subset=cyrillic');

:root{
  /* Broad fallback stack: preferred Cyrillic-capable webfont, then common UI fonts */
  --font-sans: 'Montserrat', 'Inter', 'Roboto', 'Noto Sans', Arial, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-heading: 'Montserrat', 'Rubik', system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --base-size: 16px;
  --color-text: #333;
  --color-accent: #4CAF50;
  /* Green to white gradient */
  --gradient-green-white: linear-gradient(90deg, #4CAF50 0%, #ffffff 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem; /* = var(--base-size) */
  color: var(--color-text);
  line-height: 1.6;
  background-color: #ffffff;
}

/* Headings use Montserrat for crisp Cyrillic display */
h1,h2,h3,h4,h5,h6{
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: #222;
}

/* =========================
   Fix anchor scroll for sticky navbar
   ========================= */
:target {
  scroll-margin-top: 140px; /* match navbar height */
}
/* Responsive adjustments for anchor offsets (smaller headers) */
@media (max-width: 768px) {
  :target { scroll-margin-top: 60px; }
}

@media (max-width: 480px) {
  :target { scroll-margin-top: 44px; }
}


/* =========================
   Fixed Side Booking Button
   ========================= */

.side-booking-btn {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #4CAF50;
  color: #fff;
  padding: 1rem 0.8rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  white-space: nowrap;
  line-height: 1.2;
}

.side-booking-btn:hover {
  background: #43a047;
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
  transform: translateY(-50%) scale(1.05);
}

/* Responsive: Mobile and tablet adjustments */
@media (max-width: 1024px) {
  .side-booking-btn {
    /* Position at bottom right for mobile */
    bottom: 20px;
    top: auto;
    right: 20px;
    transform: none;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    border-radius: 20px;
  }

  .side-booking-btn:hover {
    transform: scale(1.05);
  }
}

@media (max-width: 480px) {
  .side-booking-btn {
    bottom: 15px;
    right: 15px;
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
    border-radius: 18px;
  }
}

/* =========================
   Navigation Bar
   ========================= */

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto; /* logo | center space | nav right */
  align-items: center;
  padding: 1rem 3rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  gap: 4rem;
}

/* Logo */
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4CAF50;
  white-space: normal;
  max-width: 300px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

/* Navigation links container */
.navbar nav {
  display: flex;
  gap: 2.5rem; /* space between links */
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.nav-center {
  justify-self: end; /* position navigation to the right */
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.35rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile menu styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    order: 2;
    z-index: 1001;
  }

  .navbar {
    grid-template-columns: 1fr auto;
    position: sticky;
    top: 0;
  }

  .logo {
    order: 1;
    z-index: 1000;
  }

  .nav-center {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    order: 3;
  }

  .nav-center.active {
    max-height: 300px;
  }

  .nav-center a {
    padding: 1rem 2rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-center a:last-child {
    border-bottom: none;
  }

  .nav-center a:not(.btn-mobile) {
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .nav-center a:not(.btn-mobile):hover {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
  }
}

/* Desktop/Tablet - standard navbar styles */
@media (min-width: 769px) {
  .navbar {
    grid-template-columns: auto 1fr auto;
  }
}

/* Links style */
.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover effect with underline */
.navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: 0;
  height: 2px;
  background: #4CAF50;
  transition: width 0.3s ease;
}

.navbar a:hover {
  color: #4CAF50;
}

.navbar a:hover::after {
  width: calc(100% - 2rem);
}

/* Special Book Button */
.navbar .btn {
  background: #4CAF50;
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-weight: 500;
}

.navbar .btn:hover {
  background: #43a047;
}

/* =========================
   Buttons
   ========================= */

.btn {
  display: inline-block;
  background: #4CAF50;
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.btn:hover {
  background: #43a047;
}

/* =========================
   Hero Section
   ========================= */

.hero {
  position: relative;
  text-align: center;
  color: black;
  padding: 6rem 2rem;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Hero Logo */
.hero-logo {
  display: block;
  width: auto;
  max-width: 90vw;
  height: auto;
  max-height: 600px; /* prevents extremely tall logos */
  margin-bottom: 1.2rem;
  object-fit: contain;
}

/* Promotional Banner */
.promo-banner {
  background: linear-gradient(135deg, #4CAF50 0%, #2e7d34 100%);
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  margin: 0.5rem auto;
  font-size: 1.1rem;
  font-weight: 600;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  animation: pulse-banner 2s ease-in-out infinite;
}

@keyframes pulse-banner {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Discount highlight in promo banner */
.discount-highlight {
  background: #fff;
  color: #9C27B0;
  font-weight: 800;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 1.2em;
}

/* Pricing styles for old and new prices */
.old-price {
  text-decoration: line-through;
  color: #999;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.new-price {
  color: #4CAF50;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Hero overlay removed since gradient is colorful */
.hero h1,
.hero p,
.hero .btn-large {
  position: relative;
  z-index: 1; /* keep text above background */
}

/* =========================
   Section Layout
   ========================= */

.section {
  padding: 4rem 2rem;
  text-align: center;
}

.section.light {
  background: #f7f7f7;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.about-image {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  object-fit: cover;
  object-position: left;
  flex-shrink: 0;
}

/* Service Details Section */
#service-details h2 {
  color: #ffffff;
}

/* =========================
   Services Grid (Summary Cards)
   ========================= */

.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  grid-template-columns: repeat(5, 1fr);
}

.service-card {
  position: relative;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #ccc; /* placeholder for images */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 1.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: white
}

.overlay .meta {
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0.9;
}

/* =========================
   Service Detail Sections
   ========================= */

#service-details {
  text-align: center;
  background-image: url('./images/background-service-details.jpeg');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.service-detail {
  max-width: 1100px;
  margin: 1.5rem auto 5rem;
  padding: 2.5rem 2.8rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(0);
  border-left: 6px solid rgba(76, 175, 80, 0.6);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  z-index: 1;
}

.service-detail:hover,
.service-detail:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
  border-left-color: rgba(76, 175, 80, 0.9);
}

/* Make the detail card more compact and usable on small screens */
@media (max-width: 992px) {
  .service-detail {
    margin: 1rem;
    padding: 1.8rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.10);
  }
}

@media (max-width: 768px) {
  #service-details {
    background-attachment: scroll;
  }
  
  .service-detail {
    padding: 1.2rem;
    margin: 0.9rem 0.9rem 2.5rem;
    border-left: none;
    border-top: 6px solid rgba(76, 175, 80, 0.6);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-radius: 12px;
  }
}

/* Accessible focus outline */
.service-detail:focus-within {
  outline: 3px solid rgba(76, 175, 80, 0.12);
  outline-offset: 6px;
}

/* Improve readability for service detail body text */
.service-detail p {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #222;
}

@media (max-width: 480px) {
  .service-detail p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Service description - show limited lines on mobile */
.service-description {
  transition: all 0.3s ease;
}

.service-description.expanded {
  display: block;
  overflow: visible;
}

/* Read more button */
.read-more-btn {
  display: none;
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.read-more-btn:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.read-more-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .service-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .service-description.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .read-more-btn {
    display: inline-block;
  }

  .read-more-btn[aria-expanded="true"] {
    background: linear-gradient(135deg, #45a049, #3d8b40);
  }

  .read-more-btn[aria-expanded="true"]::after {
    content: " \2191";
  }

  .read-more-btn[aria-expanded="false"]::after {
    content: "";
  }
}


/* =========================
   About Section
   ========================= */

#about {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#about p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* =========================
   Location Section
   ========================= */

#location {
  padding: 4rem 2rem;
  background: #f7f7f7;
  text-align: center;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto 0;
  align-items: start;
}

.location-info {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 300px;
  justify-content: space-around;
}

.location-info p {
  margin: 0;
  font-size: 1.1rem;
}

.phone-link {
  color: #4CAF50;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
}

.phone-link:hover {
  text-decoration: underline;
}

.location-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive iframe wrapper */
.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Google Reviews Embed */
.google-reviews {
  margin-top: 2rem;
  text-align: center;
}

.location-gallery {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.location-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}


/* =========================
   Footer
   ========================= */

footer {
  background: #222;
  color: #fff;
  padding: 3rem 2rem 1.5rem;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  text-align: center;
}

.footer-section h3 {
  color: #4CAF50;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.footer-section p {
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #4CAF50;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid #4CAF50;
  border-radius: 50%;
  color: #4CAF50;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: #4CAF50;
  color: #fff;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

/* Responsive Footer */
@media (max-width: 768px) {
  footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-section h3 {
    font-size: 1rem;
  }

  .social-links {
    gap: 1rem;
  }

  .social-icon {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* =========================
   Responsive Tweaks
   ========================= */

@media (max-width: 768px) {
  .location-gallery {
    grid-template-columns: 1fr;
  }

  .location-gallery img {
    height: 250px;
  }

  .location-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .location-info {
    text-align: center;
  }
}


@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .service-card {
    height: 200px;
  }

  /* Reduce hero height/padding on small screens */
  .hero {
    padding: 3.2rem 1.2rem;
  }

  .hero-logo {
    max-width: 85vw;
    max-height: 350px;
    margin-bottom: 1rem;
  }

  /* Tighter service-detail spacing on mobile */
  .service-detail {
    padding: 1rem;
    margin: 0.8rem 0.8rem 1.2rem;
  }

  .logo {
    display: block;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    max-width: 80vw;
    max-height: 300px;
  }
}

.classic-massage {
  background-image: url("./images/classic-massage.jpeg");
}

.classic-back {
  background-image: url("./images/classic-back.jpeg");
}

.aroma-therapy {
  background-image: url("./images/aromatherapy.jpeg");
}

.massage-neck {
  background-image: url("./images/massage-neck.jpeg");
}

.anticelulite-massage {
  background-image: url("./images/anticeluliten-s-med.jpeg");
}

.head-massage {
  background-image: url("./images/head-massage.jpeg");
}

.back-bio-honey {
  background-image: url("./images/back-bio-honey.jpeg");
}

.deep-tissue {
  background-image: url("./images/deep-tissue.jpeg");
}

.feet-detox-bio {
  background-image: url("./images/feet-detox-bio.jpeg");
}

.back-healing-massage {
  background-image: url("./images/back-healing-massage.jpeg");
}

.feet-reflexotherapy {
  background-image: url("./images/reflexotherapy.jpeg");
}

.king-massage {
  background-image: url("./images/king-massage.jpeg");
}

.higene-cosmetic-massage {
  background-image: url("./images/head-cleansing.jpeg");
}

.manual-anticelulite-massage {
  background-image: url("./images/manual-anticelulite-massage.jpeg");
}






/* =========================
   Responsive Design
   ========================= */

@media (max-width: 768px) {
  /* About Section */
  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .about-image {
    width: 300px;
    height: 300px;
  }

  .about-content p {
    font-size: 1.2rem;
  }

  /* Service Details Section */
  #service-details {
    background-image: url("./images/background_scaled_down.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Navbar */
  .navbar {
    padding: 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  /* Sections */
  .section {
    padding: 2rem 1rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .service-card {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    width: 250px;
    height: 250px;
  }
}



