/*
Theme Name: Perfection @ The Works
Theme URI: https://example.com/perfection-the-works
Author: Perfection @ The Works
Description: An elegant blush, cream and rose-gold WordPress block theme for Perfection @ The Works Nail Technician in Mossel Bay.
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: perfection-the-works
*/

:root {
  --ptw-cream: #fff9f6;
  --ptw-blush: #f5ddd7;
  --ptw-blush-deep: #e7b8ad;
  --ptw-rose: #cf8d7c;
  --ptw-rose-gold: #b66e56;
  --ptw-cocoa: #4a251c;
  --ptw-ink: #2d2421;
  --ptw-taupe: #8f7770;
  --ptw-white: #ffffff;
  --ptw-shadow: 0 18px 50px rgba(74, 37, 28, 0.11);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.wp-site-blocks { overflow: clip; }

.ptw-script,
.ptw-script a,
.wp-block-site-title,
.wp-block-site-title a {
  font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive !important;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.ptw-header {
  border-bottom: 1px solid rgba(182, 110, 86, 0.18);
  backdrop-filter: blur(12px);
}

.ptw-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.ptw-hero::before,
.ptw-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
  pointer-events: none;
}

.ptw-hero::before {
  width: 38rem;
  height: 38rem;
  left: -18rem;
  top: -20rem;
  background: radial-gradient(circle, rgba(245, 221, 215, 0.92), rgba(245, 221, 215, 0));
}

.ptw-hero::after {
  width: 28rem;
  height: 28rem;
  right: -12rem;
  bottom: -14rem;
  background: radial-gradient(circle, rgba(231, 184, 173, 0.42), rgba(231, 184, 173, 0));
}

.ptw-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ptw-rose-gold);
}

.ptw-hero-title {
  max-width: 760px;
  line-height: 0.98 !important;
}

.ptw-photo-frame {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(182, 110, 86, 0.42);
  border-radius: 42% 12% 42% 10% / 18% 12% 26% 14%;
  background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(245,221,215,0.72));
  box-shadow: var(--ptw-shadow);
}

.ptw-photo-frame img {
  border-radius: 40% 10% 40% 8% / 16% 10% 24% 12%;
  min-height: 520px;
  object-fit: cover;
}

.ptw-card {
  border: 1px solid rgba(182, 110, 86, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 35px rgba(74, 37, 28, 0.07);
  height: 100%;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ptw-card:hover {
  transform: translateY(-4px);
  border-color: rgba(182, 110, 86, 0.4);
  box-shadow: 0 18px 45px rgba(74, 37, 28, 0.1);
}

.ptw-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ptw-blush);
  color: var(--ptw-cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.ptw-section-soft {
  position: relative;
  background:
    linear-gradient(120deg, rgba(255,249,246,0.98), rgba(245,221,215,0.58)),
    radial-gradient(circle at 90% 10%, rgba(182,110,86,0.09), transparent 32%);
}

.ptw-rule {
  width: 82px;
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--ptw-rose-gold);
}

.ptw-booking-box {
  border: 1px solid rgba(182, 110, 86, 0.28);
  border-radius: 28px;
  background: linear-gradient(135deg, #fffdfb 0%, #f8e5e0 100%);
  box-shadow: var(--ptw-shadow);
}

.ptw-contact-line {
  border-bottom: 1px solid rgba(182,110,86,.2);
  padding-bottom: 10px;
}

.wp-block-button__link {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(74,37,28,.14);
}

.ptw-outline-button .wp-block-button__link {
  background: transparent !important;
  color: var(--ptw-cocoa) !important;
  border: 1px solid var(--ptw-rose-gold);
}

.ptw-footer {
  border-top: 1px solid rgba(182,110,86,.2);
}

@media (max-width: 781px) {
  .ptw-photo-frame img { min-height: 360px; }
  .ptw-hero-title { font-size: clamp(3.2rem, 15vw, 5.2rem) !important; }
  .ptw-mobile-center { text-align: center; }
  .ptw-mobile-center .wp-block-buttons { justify-content: center; }
}
