/***************************************************
   SINGLE MASSEUSE — PREMIUM OPTION D
   Velvet Amber Theme — Cinematic + Luxury
   Mobile-First + Desktop Polished
***************************************************/
:root {
  /* Core Theme */
  --bg:#0e0f14;
  --paper:#171923;
  --ink:#eef1f6;
  --muted:#adb4c2;
  --line:#242734;
  --gold:#e0b068;
  --gold-2:#c99a58;
  --radius:14px;
  --shadow:0 12px 34px rgba(0,0,0,.35);
  /* Soft Surfaces */
  --surface-soft:rgba(255,255,255,.05);
  --surface-soft2:rgba(255,255,255,.08);
}
/***************************************************
  PAGE WRAPPER
***************************************************/
.profile-page {
  background:var(--bg);
  color:var(--ink);
  overflow-x:hidden;
}
.fx-wrap {
  max-width:1240px;
  margin:auto;
  padding:0 16px;
}
/***************************************************
  CINEMATIC HERO — PARALLAX + GOLD GLOW
***************************************************/
.profile-cinema {
  position:relative;
  min-height:420px;
  padding:38px 0;
  background:var(--banner) center/cover no-repeat fixed; /* parallax */
  display:grid;
  place-items:center;
}
.profile-cinema::before {
  content:"";
  position:absolute;
  inset:0;
  background:
      radial-gradient(60% 40% at 15% 20%, rgba(0,0,0,.45), transparent),
      linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.75));
  z-index:0;
}
.cinema-grid {
  position:relative;
  z-index:2;
  display:grid;
  gap:22px;
  grid-template-columns:1fr;
  text-align:center;
  animation:fadeUp 0.5s ease forwards;
  opacity:0;
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(10px); }
  to { opacity:1; transform:translateY(0); }
}
/* Title Glow */
.cinema-title {
  font-size:34px;
  font-weight:900;
  line-height:1.1;
  margin:0;
  background:linear-gradient(90deg,#fff,#ffe9c1,var(--gold));
  -webkit-background-clip:text;
  color:transparent;
  text-shadow:0 0 20px rgba(224,176,104,.4);
}
.cinema-sub {
  margin-top:8px;
  color:#f2f2f2;
  font-size:1.07rem;
}
/* Portrait */
.cinema-portrait {
  justify-self:center;
  background:var(--surface-soft2);
  padding:6px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.15);
  box-shadow:var(--shadow);
}
.cinema-portrait img {
  width:100%;
  max-width:360px;
  border-radius:14px;
  object-fit:cover;
  object-position:var(--focal);
}
/************* Desktop Hero *************/
@media (min-width:980px){
  .cinema-grid {
    grid-template-columns:1fr 1fr;
    text-align:left;
    align-items:center;
  }
  .cinema-portrait { justify-self:end; }
}
/***************************************************
  CTA BUTTONS
***************************************************/
.cta-row {
  display:flex;
  gap:14px;
  justify-content:center;
  margin-top:14px;
}
.fx-btn {
  min-height:44px;
  padding:12px 20px;
  border-radius:999px;
  font-weight:800;
  border:2px solid transparent;
  text-align:center;
  transition:.2s ease;
}
.fx-btn--gold {
  background:var(--gold);
  color:#121212;
}
.fx-btn--gold:hover {
  background:var(--gold-2);
  transform:translateY(-2px);
}
.fx-btn--ghost {
  background:transparent;
  border-color:var(--line);
  color:var(--ink);
}
.fx-btn--ghost:hover {
  background:var(--surface-soft);
}
/***************************************************
  TAGS — HERO + ABOUT
***************************************************/
.p-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0;
  list-style:none;
  padding:0;
}
.p-tags li {
  background:linear-gradient(135deg,var(--gold),#f1d09e);
  padding:6px 12px;
  font-weight:800;
  font-size:.85rem;
  border-radius:999px;
  color:#000;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  transition:.25s ease;
}
.p-tags li:hover {
  box-shadow:0 0 12px rgba(224,176,104,.7);
}
/***************************************************
  BREADCRUMB
***************************************************/
.crumb {
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:700;
  font-size:.9rem;
  margin:14px 0;
  color:var(--muted);
}
/***************************************************
  MAIN GRID
***************************************************/
.p-grid {
  display:block;
  margin-top:10px;
}
@media (min-width:980px){
  .p-grid {
    display:grid;
    grid-template-columns:1fr 360px;
    gap:30px;
  }
}
/***************************************************
  MAIN CONTENT COLUMN (FULL WIDTH)
***************************************************/
.p-main {
  width:100%;
  max-width:1100px;
  margin:auto;
  display:grid;
  gap:22px;
  padding:0 16px;
}
.p-main-hero img {
  width:100%;
  border-radius:14px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
/***************************************************
  SPECS — FULL WIDTH + PREMIUM
***************************************************/
.p-specs {
  background:var(--paper);
  border-radius:14px;
  border:1px solid var(--line);
  padding:22px 24px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 26px;
  width:100%;
  max-width:100%;
}
.spec-row {
  display:flex;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.06);
  padding-bottom:8px;
}
.spec-row:last-child {
  border-bottom:0;
}
/***************************************************
  ABOUT — PREMIUM OPTION D
***************************************************/
.p-card {
  background:var(--paper);
  border-radius:14px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  padding:26px;
  width:100%;
  max-width:100%;
}
/* Drop Cap First Paragraph */
.p-about p:first-of-type::first-letter {
  font-size:42px;
  float:left;
  line-height:1;
  padding:6px 10px 0 0;
  color:var(--gold);
  font-weight:900;
  text-shadow:0 0 14px rgba(224,176,104,.5);
}
/* Gold Underline Title */
.p-title {
  color:var(--gold);
  font-size:1.35rem;
  font-weight:900;
  margin-bottom:14px;
  position:relative;
}
.p-title::after {
  content:"";
  position:absolute;
  bottom:-4px;
  left:0;
  width:65px;
  height:3px;
  background:var(--gold);
  box-shadow:0 0 10px rgba(224,176,104,.7);
}
/* Paragraph */
.p-about {
  font-size:1rem;
  line-height:1.7;
  color:var(--muted);
}
/***************************************************
  ABOUT — PREMIUM QUOTE BOX
***************************************************/
.about-quote {
  background:var(--surface-soft2);
  border-left:4px solid var(--gold);
  padding:16px 20px;
  margin:18px 0;
  border-radius:12px;
  font-style:italic;
  color:var(--ink);
  box-shadow:0 8px 26px rgba(0,0,0,.35);
}
/***************************************************
  GALLERY SLIDER
***************************************************/
.premium-slider {
  position:relative;
  overflow:hidden;
  border-radius:14px;
  border:1px solid var(--line);
}
.slider-track {
  display:flex;
  transition:transform .35s ease;
}
.slide {
  min-width:100%;
}
.slide img {
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  object-position:var(--face);
  border-radius:12px;
}
.slider-btn {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.55);
  border:0;
  color:#fff;
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  font-size:26px;
}
.slider-btn.prev { left:10px; }
.slider-btn.next { right:10px; }


/***************************************************
  PACKAGES SECTION
***************************************************/
.p-packages-bottom {
  margin-top:40px;
  padding-bottom:50px;
}
.pricing-grid {
  display:grid;
  gap:22px;
  margin-top:24px;
}
@media (min-width:900px){
  .pricing-grid {
    grid-template-columns:1fr 1fr;
  }
}
/***************************************************
  PRICE CARD (Premium Glow)
***************************************************/
.price-card {
  background:var(--paper);
  border-radius:14px;
  border:1px solid var(--line);
  padding:22px;
  box-shadow:var(--shadow);
}
.price-card.premium {
  border-color:var(--gold);
  box-shadow:0 0 35px rgba(224,176,104,.25);
}
/* Title */
.pc-title {
  font-size:1.25rem;
  font-weight:900;
  color:var(--gold);
  margin-bottom:8px;
}
/***************************************************
  MOBILE OPTIMIZATION
***************************************************/
@media (max-width:480px){
  .cinema-title { font-size:27px; }
  .p-about p:first-of-type::first-letter {
    font-size:34px;
  }
}
.full-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}
/* ============================================
   PREMIUM GALLERY – DESKTOP LAYOUT FIX
   Overrides any global .slide styles
============================================ */
/* Wrapper (keep wide & centered) */
.full-section {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}
/* Main slider card */
.p-gallery.premium-slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 28px auto 40px auto;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(255,255,255,0.05), transparent);
}
/* Track must be full-width flex row */
.p-gallery.premium-slider .slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    transform: translateX(0);
    transition: transform .35s ease;
}
/* ONE slide per view – override any other .slide rules */
.p-gallery.premium-slider .slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 0;
}
/* Image should fill the card nicely */
.p-gallery.premium-slider .slide img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: var(--face);
    border-radius: 14px;
}
/* Desktop: a bit taller */
@media (min-width: 1100px) {
    .p-gallery.premium-slider .slide img {
        height: 560px;
    }
}
/* Mobile: go back to square-ish */
@media (max-width: 768px) {
    .p-gallery.premium-slider {
        max-width: 100%;
        margin: 20px auto 32px auto;
    }
    .p-gallery.premium-slider .slide img {
        height: auto;
        aspect-ratio: 3/4;
    }
}
/* Nav arrows */
.p-gallery.premium-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.65);
    border: 0;
    color: #fff;
    font-size: 26px;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: .2s ease;
}
.p-gallery.premium-slider .slider-btn:hover {
    background: rgba(0,0,0,.85);
}
.p-gallery.premium-slider .slider-btn.prev { left: 18px; }
.p-gallery.premium-slider .slider-btn.next { right: 18px; }
/* Dots */
.p-gallery.premium-slider .slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 14px 0;
}
.p-gallery.premium-slider .dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #555;
    border: 1px solid #999;
    cursor: pointer;
    transition: .2s ease;
}
.p-gallery.premium-slider .dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.15);
}
/***************************************************
  CONTENT SECTIONS — FLEX ORDER FOR GALLERY
***************************************************/
.content-sections {
  display: flex;
  flex-direction: column;
}
@media (min-width: 980px) {
  .p-main-hero {
    display: none;
  }
  .section-specs {
    order: 1;
  }
  .section-about {
    order: 2;
  }
  .section-gallery {
    order: 3;
  }
}
/* Perfect fixed parallax on iOS too */
.profile-cinema {
  background-attachment: scroll; /* default */
}

/* Re-enable fixed only when it actually works */
@supports (background-attachment: fixed) {
  .profile-cinema {
    background-attachment: fixed;
  }
}
/* ======================================================
     PACKAGES HEADING — PREMIUM STYLE
====================================================== */
.packages-heading {
  text-align: center;
  margin: 50px auto 40px auto;
  max-width: 800px;
}

.packages-title {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 0 0 12px 0;
  background: linear-gradient(90deg, #fff, #ffe9c1, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(224,176,104,.5);
  position: relative;
  display: inline-block;
}

.packages-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(224,176,104,.8);
}

.packages-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
  opacity: 0.9;
}

/* Mobile adjustment */
@media (max-width: 480px) {
  .packages-title {font-size: 2rem;}
}


/* Optional: make it even more visible with a subtle gold tint */
.pc-sub {
  color: #ffd8a0 !important;          /* soft gold – looks luxurious */
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
/* ======================================================
     SPECS SECTION – BEAUTIFUL & MOBILE PERFECT
====================================================== */
.specs-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  text-align: center;
  margin: 0 0 24px 0;
  position: relative;
}

.specs-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(224,176,104,.7);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;        /* 2 columns on all screens */
  gap: 18px 20px;
  padding: 8px 0;
}

.specs-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.specs-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specs-value {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 700;
}

/* Tablet & Mobile – still 2 columns, but tighter */
@media (max-width: 768px) {
  .specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 16px;
  }
  .specs-value {
    font-size: 1.1rem;
  }
}

/* Very small phones – switch to 1 column for comfort */
@media (max-width: 380px) {
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .specs-title {
    font-size: 1.4rem;
  }
}

/* Hide tags in hero only on mobile (< 768px) */
@media (max-width: 767px) {
  .hero-tags-mobile-hide {
    display: none !important;
  }
}
/* FIX: Remove faint white radial glow causing vertical white bars */
.premium-slider {
    background: var(--paper) !important; /* your chosen option */
}

/* FIX: Force each slide to fill its column fully */
.premium-slider .slide,
.premium-slider .slide img {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* FIX: If any ACF gallery field is empty, hide empty slide */
.premium-slider .slide:empty {
    display: none !important;
}

/* ============================================
   MOBILE-ONLY TAG ADJUSTMENTS
   (smaller + wrapped neatly)
============================================ */
@media (max-width: 767px) {

  .p-tags {
      display: flex;
      flex-wrap: wrap;        /* allow multiple rows */
      gap: 6px 8px;           /* tighter spacing */
      margin: 10px 0;
      justify-content: center;
  }

  .p-tags li {
      font-size: 0.70rem !important;  /* smaller tags only on mobile */
      padding: 4px 10px;              /* smaller padding */
      white-space: nowrap;            /* clean chip shape */
      line-height: 1.2;
      border-radius: 999px;
  }

  /* Hero section tag container */
  .cinema-copy .p-tags {
      max-width: 320px;               /* prevents one huge line */
      margin-left: auto;
      margin-right: auto;
  }
}

/* ============================================
   HERO HEIGHT — DESKTOP (reduce overall height)
============================================ */
@media (min-width: 980px) {
  .profile-cinema {
      min-height: 330px !important;     /* was approx 420px */
      padding: 20px 0 !important;       /* reduce top/bottom padding */
  }

  .cinema-grid {
      gap: 16px !important;             /* slightly tighter spacing */
  }

  .cinema-title {
      font-size: 30px !important;       /* match the reduced hero height */
  }
}

/* ============================================
   HERO SPACING — MOBILE (reduce top spacing)
============================================ */
@media (max-width: 767px) {
  .profile-cinema {
      padding-top: 20px !important;     /* reduce space above hero title */
      padding-bottom: 26px !important;
  }

  .cinema-title {
      margin-top: 0 !important;         /* prevent extra gap */
      font-size: 26px !important;
  }

  .cinema-sub {
      margin-top: 4px !important;       /* reduce spacing under subtitle */
  }
}
/* ============================================
   COMPACT CINEMATIC HERO — DESKTOP
   (shorter, tighter, still premium)
============================================ */
@media (min-width: 980px) {

  .profile-cinema {
      min-height: 260px !important;     /* strong reduction */
      padding: 28px 0 !important;
      background-position: center 35% !important; /* cinematic framing */
  }

  .cinema-grid {
      gap: 14px !important;
      align-items: center !important;
  }

  .cinema-title {
      font-size: 28px !important;
      line-height: 1.1;
  }

  .cinema-sub {
      margin-top: 4px !important;
      font-size: 1rem !important;
  }

  .cinema-portrait img {
      max-width: 300px !important;      /* scales portrait to fit shorter hero */
      border-radius: 14px;
  }
}


/* ============================================
   COMPACT HERO — MOBILE
   (very tight top spacing + perfect fold view)
============================================ */
@media (max-width: 767px) {

  .profile-cinema {
      padding-top: 12px !important;     /* much tighter */
      padding-bottom: 20px !important;
      min-height: 200px !important;     /* compact height */
      background-position: center 40% !important;
  }

  .cinema-title {
      margin-top: 0 !important;
      font-size: 24px !important;
  }

  .cinema-sub {
      margin-top: 2px !important;
      font-size: 0.95rem !important;
  }

  .cinema-portrait {
      margin-top: 12px !important;
  }

  .cinema-portrait img {
      max-width: 240px !important;     /* proportional portrait scaling */
  }
}

/* ============================================
   STRETCH GALLERY SECTION TO MATCH OTHER SECTIONS
============================================ */
.full-section.section-gallery {
    max-width: 1240px !important;   /* same as other full sections */
    width: 100% !important;
    padding: 0 20px !important;
}

/* Make slider fill the full-section width */
.p-gallery.premium-slider {
    max-width: 100% !important;      /* remove 1000px limit */
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ============================================
   MOBILE — Keep hero portrait only in HERO section
   Hide duplicate portrait in content section
============================================ */
@media (max-width: 767px) {

  /* Hide the second portrait below hero */
  .p-main-hero {
      display: none !important;
  }

  /* Keep hero portrait in top hero section */
  .cinema-portrait {
      display: block !important;
  }
}

/* ===========================================================
   MOBILE — PREMIUM 3 COLUMN TAG GRID (glow + better card look)
=========================================================== */
@media (max-width: 767px) {

  .p-tags {
      display: grid !important;
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 14px !important; /* bigger spacing */
      margin: 16px 0 20px 0;
      padding: 0;
      list-style: none;
  }

  .p-tags li {
      /* shape */
      border-radius: 12px !important; /* square + soft-rounded */
      padding: 10px 8px !important;
      min-height: 42px;

      /* text */
      font-size: 0.78rem !important;
      font-weight: 700;
      color: #000;
      text-align: center;
      line-height: 1.2;
      white-space: normal !important;
      word-break: break-word;

      /* background */
      background: linear-gradient(135deg, var(--gold), #ffdfb2);

      /* glow */
      box-shadow:
          0 4px 10px rgba(224,176,104,0.35),
          0 0 10px rgba(224,176,104,0.4);

      /* layout */
      display: flex;
      align-items: center;
      justify-content: center;
  }

  /* subtle hover (touch safe, optional) */
  .p-tags li:active {
      transform: scale(0.96);
      box-shadow:
          0 0 8px rgba(224,176,104,0.65),
          0 0 16px rgba(224,176,104,0.55);
  }
}
