/* ============================================
   SQUISHY SKIN ETC. — Global Styles
   ============================================ */

/* Fontshare Imports */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@300,400,500,700&display=swap');

/* Custom Properties */
:root {
  --pink: #F4A7BB;
  --pink-hover: #E8899F;
  --pink-light: #FFF0F3;
  --cream: #FFF9F5;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray: #F5F5F5;
  --gray-text: #888;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --font-display: 'Clash Display', 'Outfit', 'Syne', sans-serif;
  --font-body: 'Satoshi', 'General Sans', sans-serif;
  --container: 1180px;
  --section-pad: 100px;
  --section-pad-mobile: 60px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.section.bg-cream { background: var(--cream); }
.section.bg-white { background: var(--white); }
.section.bg-pink-light { background: var(--pink-light); }
.section.bg-black { background: var(--black); color: #fff; }
.section.bg-pink { background: var(--pink); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  text-decoration: none;
}
.btn-pink {
  background: var(--pink);
  color: #fff;
}
.btn-pink:hover {
  background: var(--pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,167,187,0.35);
}
.btn-black {
  background: var(--black);
  color: #fff;
}
.btn-black:hover {
  background: #333;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--black);
  transform: translateY(-2px);
}
.btn-outline-pink {
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink);
}
.btn-outline-pink:hover {
  background: var(--pink);
  color: #fff;
  transform: translateY(-2px);
}

/* Label / Eyebrow */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
}
.label-white { color: rgba(255,255,255,0.7); }

/* Placeholder Image */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(145deg, #f0e6e0 0%, #e8d8d0 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: #b8a090;
  font-weight: 500;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.placeholder-img::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1.5px dashed rgba(244,167,187,0.3);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}

/* Service Card */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}
.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* Price Table */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.price-table th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  border-bottom: 2px solid var(--gray);
}
.price-table td {
  padding: 16px;
  border-bottom: 1px solid var(--gray);
  font-size: 15px;
  vertical-align: middle;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table .treatment-name { font-weight: 600; }
.price-table .price { font-weight: 700; color: var(--black); }
.price-table .book-link {
  color: var(--pink);
  font-weight: 600;
  font-size: 13px;
  transition: color 0.2s;
}
.price-table .book-link:hover { color: var(--pink-hover); }

/* Page Transitions */
.page-transition {
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
}
.page-enter {
  opacity: 0;
  transform: translateY(12px);
}
.page-enter-active {
  opacity: 1;
  transform: translateY(0);
}
.page-exit {
  opacity: 0;
  transform: translateY(-8px);
}

/* Scroll Animation */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.scroll-animate.delay-1 { transition-delay: 0.1s; }
.scroll-animate.delay-2 { transition-delay: 0.2s; }
.scroll-animate.delay-3 { transition-delay: 0.3s; }

/* Blobs */
.blob {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: rgba(244, 167, 187, 0.06);
  pointer-events: none;
  animation: blobPulse 10s ease-in-out infinite alternate;
  z-index: 0;
}
.blob-2 {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation-delay: -5s;
  animation-duration: 8s;
}

@keyframes blobPulse {
  0% { transform: scale(1) rotate(0deg); opacity: 0.06; }
  50% { transform: scale(1.05) rotate(5deg); opacity: 0.08; }
  100% { transform: scale(1) rotate(0deg); opacity: 0.06; }
}

/* Phone Button */
.phone-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(244,167,187,0.4);
  cursor: pointer;
  animation: phoneBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both,
             phonePulse 4s ease-in-out 2s infinite;
  transition: transform 0.2s ease;
  text-decoration: none;
}
.phone-float:hover { transform: scale(1.1); }
.phone-float svg { width: 26px; height: 26px; }

@keyframes phoneBounce {
  0% { transform: scale(0) rotate(-45deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes phonePulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(244,167,187,0.4); }
  50% { box-shadow: 0 6px 36px rgba(244,167,187,0.6), 0 0 0 8px rgba(244,167,187,0.15); }
}

/* Stars */
.stars-row {
  display: flex;
  gap: 4px;
}
.star-icon {
  color: var(--pink);
  width: 18px;
  height: 18px;
}

/* Gallery Placeholder */
.gallery-placeholder {
  background: var(--gray);
  border: 2px dashed rgba(244,167,187,0.35);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: #b8a090;
  font-weight: 500;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
.gallery-placeholder:hover {
  border-color: var(--pink);
}
.gallery-placeholder:hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244,167,187,0.12);
  border-radius: inherit;
}

/* Form Styles */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--black);
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #eee;
  border-radius: 14px;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s ease;
  outline: none;
}
.form-input:focus { border-color: var(--pink); }
.form-input::placeholder { color: #c0b8b2; }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%231A1A1A'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  border: 2px solid #eee;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: all 0.25s ease;
}
.category-tab:hover { border-color: var(--pink); color: var(--pink); }
.category-tab.active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .section { padding: var(--section-pad-mobile) 0; }
  h1 { font-size: 42px !important; }
  h2 { font-size: 32px !important; }
  h3 { font-size: 22px !important; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  h1 { font-size: 32px !important; }
  h2 { font-size: 24px !important; }
  h3 { font-size: 20px !important; }
  .btn { padding: 14px 28px; font-size: 14px; }
  .phone-float { width: 56px; height: 56px; bottom: 20px; right: 20px; }
  .section { padding: 48px 0; }

  /* Price table mobile */
  .price-table th { padding: 10px 12px; font-size: 11px; }
  .price-table td { padding: 12px; font-size: 14px; }
  .price-table .treatment-name { font-size: 13px; }

  /* Category tabs mobile */
  .category-tabs { gap: 6px; }
  .category-tab { padding: 10px 18px; font-size: 13px; }

  /* Form mobile */
  .form-input { padding: 12px 14px; font-size: 16px; /* prevents iOS zoom */ }

  /* Gallery mobile */
  .gallery-placeholder { height: 180px !important; }
}

/* Extra small screens */
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  h1 { font-size: 28px !important; }
  h2 { font-size: 22px !important; }
  .btn { padding: 12px 22px; font-size: 13px; }
}
