/* ===================================================
   Seraphic Massage – Custom enhancements
   Loaded after webflow CSS; safe to edit freely
   =================================================== */

/* Smooth anchor scroll */
html {
  scroll-behavior: smooth;
}

/* ── Nav ─────────────────────────────────────────── */
.nav {
  transition: box-shadow 0.3s ease;
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 10px;
  right: 10px;
  height: 2px;
  background-color: var(--deep-sky-blue);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* ── Buttons ─────────────────────────────────────── */
.button,
.cta,
.cta-2 {
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.button:hover,
.cta:hover,
.cta-2:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.button:active,
.cta:active,
.cta-2:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Team styles removed — using Webflow originals in seraphic-massage.webflow.css */

/* ── Product images ──────────────────────────────── */
.product-image {
  transition: transform 0.3s ease;
  will-change: transform;
}

.product:hover .product-image {
  transform: scale(1.04);
}

/* ── Social icons ────────────────────────────────── */
.social-icon {
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.social-icon:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

/* ── Hero – responsive height ────────────────────── */
@media screen and (max-width: 991px) {
  .hero,
  .slider {
    height: 800px;
  }
}

@media screen and (max-width: 767px) {
  .hero,
  .slider {
    height: 680px;
  }

  .logo {
    width: 110px;
    height: 150px;
    margin-top: 40px;
  }
}

@media screen and (max-width: 479px) {
  .hero,
  .slider {
    height: 100svh;
    min-height: 580px;
  }

  .logo {
    width: 90px;
    height: 120px;
    margin-top: 30px;
  }

  .heading-4 {
    font-size: 1.3em;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ── Footer – fix tablet overflow ───────────────── */
@media screen and (max-width: 991px) {
  .footer-container {
    min-width: 0;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* ── Rental room images – consistent height on mobile */
@media screen and (max-width: 767px) {
  .rental-image img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: 4px;
  }
}



/* ── Services section ───────────────────────────── */
#services-treatments {
  background-color: #ffffff;
}

.sm-content {
  display: block;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media screen and (max-width: 991px) {
  .sm-content { max-width: 728px; }
}

@media screen and (max-width: 767px) {
  .sm-content { padding-left: 20px; padding-right: 20px; max-width: 100%; }
}

@media screen and (max-width: 479px) {
  .sm-content { max-width: 100%; }
}

/* ── Services – better column spacing on mobile ── */
@media screen and (max-width: 767px) {
  .copycontainer {
    padding-left: 12px;
    padding-right: 12px;
  }

  .treatment {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ── Products – 2-column grid on small phones ─── */
@media screen and (max-width: 479px) {
  .product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .product {
    margin-left: 0;
    margin-right: 0;
  }

  .product-image {
    width: 100%;
    height: 160px;
  }
}

/* ── Divide rule – subtle pulse on section entry ── */
.divide {
  transition: width 0.4s ease;
}
