/* =====================================================================
   Idoleyezed — Lashes & Nails
   Brand palette pulled from the logo: violet iris, black lashes,
   soft grey-white. Luxe serif headings + clean geometric sans body.
   ===================================================================== */

:root {
  --ink:          #241f2b;
  --ink-soft:     #4a4254;
  --muted:        #8c8596;
  --violet:       #6b4a9c;
  --violet-deep:  #4e3578;
  --violet-soft:  #9277c0;
  --lavender:     #f4eefb;
  --lavender-2:   #e6dbf5;
  --paper:        #ffffff;
  --cream:        #faf8fc;
  --line:         #ece6f3;
  --gold:         #c9a96a;

  --shadow-sm: 0 2px 10px rgba(78, 53, 120, .06);
  --shadow-md: 0 12px 34px rgba(78, 53, 120, .12);
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1120px;

  --font-body:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-script:  "Parisienne", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: var(--violet-deep); text-decoration: none; }
a:hover { color: var(--violet); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .4em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }

.script {
  font-family: var(--font-script);
  color: var(--violet);
  font-weight: 400;
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 500;
  margin: 0 0 .8rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .85em 1.7em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-violet { background: var(--violet); color: #fff; box-shadow: var(--shadow-sm); }
.btn-violet:hover { background: var(--violet-deep); color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--violet-deep); border-color: var(--lavender-2); }
.btn-ghost:hover { background: var(--lavender); color: var(--violet-deep); }

/* =====================================================================
   Header / nav
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { height: 46px; width: 46px; border-radius: 50%; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600; color: var(--ink);
  line-height: 1;
}
.brand-name small {
  display: block; font-family: var(--font-body);
  font-size: .58rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--muted); margin-top: 3px; font-weight: 400;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 400; position: relative;
}
.nav-links a.active, .nav-links a:hover { color: var(--violet-deep); }
/* The Book Now button keeps its white text — beat the nav link colour rule above. */
.nav-links a.btn-violet, .nav-links a.btn-violet:hover { color: #fff; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--violet); border-radius: 2px;
}
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 820px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 18px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform .28s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 24px; font-size: .9rem; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .nav-links .btn { margin: 14px 24px 0; justify-content: center; }
  .nav-toggle { display: inline-flex; }
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  text-align: center;
  padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 7vw, 80px);
  background:
    radial-gradient(120% 90% at 50% -10%, var(--lavender) 0%, transparent 60%),
    var(--cream);
}
.hero .script { font-size: clamp(2rem, 8vw, 3.4rem); display: block; margin-bottom: -.2em; }
.hero h1 { margin-bottom: .35em; }
.hero p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 1.8rem; font-size: 1.05rem; }
.hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* Section heading block */
.section { padding: clamp(46px, 8vw, 88px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(30px, 5vw, 54px); }
.section-head p { color: var(--ink-soft); }

/* =====================================================================
   Portfolio grid
   ===================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--lavender); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(36,31,43,.62); color: #fff;
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px);
  display: inline-flex; align-items: center; gap: 5px;
}
.card-body { padding: 18px 20px 22px; }
.card-body h3 { margin-bottom: .25em; font-size: 1.35rem; }
.card-date { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: .5rem; }
.card-body p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Empty state */
.empty {
  text-align: center; padding: 70px 24px; color: var(--muted);
  border: 1px dashed var(--lavender-2); border-radius: var(--radius); background: var(--paper);
}

/* =====================================================================
   Single post
   ===================================================================== */
.post-head { text-align: center; padding: clamp(40px, 7vw, 70px) 0 clamp(20px,3vw,32px); }
.post-head .card-date { margin-bottom: 1rem; }
/* Centred gallery — a tidy width-capped column so images never stretch full-width
   and stay centred on desktop and mobile alike (shows full photos, no cropping). */
.post-gallery { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.post-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--lavender); }
.post-gallery img, .post-gallery video { width: 100%; height: auto; display: block; }
.post-gallery video { background: #000; }
.post-desc { max-width: 680px; margin: clamp(30px,5vw,48px) auto 0; font-size: 1.1rem; color: var(--ink-soft); }

/* Share bar */
.share-bar { max-width: 680px; margin: clamp(28px,5vw,44px) auto 0; text-align: center; padding-top: clamp(22px,4vw,32px); border-top: 1px solid var(--line); }
.share-label { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.share-btns .btn { font-size: .76rem; padding: .7em 1.2em; }
.share-toast { margin-top: 14px; font-size: .88rem; color: var(--violet-deep); background: var(--lavender); border-radius: 999px; padding: 8px 16px; display: inline-block; }
.share-toast[hidden] { display: none; }
.post-desc p { margin-bottom: 1.1rem; }
.back-link { display: inline-flex; align-items: center; gap: .4em; margin-bottom: 1rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }

/* =====================================================================
   About
   ===================================================================== */
.about-wrap { display: grid; gap: clamp(30px, 5vw, 60px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .about-wrap { grid-template-columns: .9fr 1.1fr; } }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; background: var(--lavender); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: var(--ink-soft); }

/* =====================================================================
   Pricing
   ===================================================================== */
.price-group { margin-bottom: clamp(34px, 5vw, 52px); }
.price-group h3 {
  font-family: var(--font-display); font-size: 1.8rem; color: var(--violet-deep);
  text-align: center; margin-bottom: 1.2rem; position: relative;
}
.price-list { max-width: 640px; margin: 0 auto; list-style: none; padding: 0; }
.price-row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 13px 0; border-bottom: 1px dashed var(--lavender-2);
}
.price-row .name { font-weight: 400; color: var(--ink); }
.price-row .name small { display: block; color: var(--muted); font-size: .82rem; }
.price-row .dots { flex: 1; border-bottom: 1px dotted var(--lavender-2); transform: translateY(-4px); }
.price-row .amount { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--violet-deep); white-space: nowrap; }
.price-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1rem; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact-wrap { display: grid; gap: clamp(28px,5vw,48px); grid-template-columns: 1fr; }
@media (min-width: 820px) { .contact-wrap { grid-template-columns: 1fr 1fr; } }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper); padding: 18px 20px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.contact-item .ico {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--lavender); color: var(--violet-deep);
  display: grid; place-items: center;
}
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-item .label { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-item .value { display: block; font-size: 1.02rem; color: var(--ink); word-break: break-word; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--lavender-2); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--violet-soft); box-shadow: 0 0 0 3px var(--lavender);
}
.field textarea { min-height: 130px; resize: vertical; }

/* "Best way to reach you" selectable chips */
.contact-methods { display: flex; flex-wrap: wrap; gap: 10px; }
.method-chip { position: relative; cursor: pointer; -webkit-user-select: none; user-select: none; }
.method-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.method-chip span {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border: 1px solid var(--lavender-2); border-radius: 999px;
  background: var(--paper); color: var(--ink-soft); font-size: .95rem; transition: all .15s ease;
}
.method-chip span::before {
  content: ""; width: 15px; height: 15px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--lavender-2); transition: all .15s ease;
}
.method-chip input:checked + span { background: var(--lavender); border-color: var(--violet-soft); color: var(--violet-deep); }
.method-chip input:checked + span::before { background: var(--violet); border-color: var(--violet); box-shadow: inset 0 0 0 3px var(--lavender); }
.method-chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--lavender); }

.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .95rem; }
.notice-ok { background: #eef7ee; color: #2f6b35; border: 1px solid #cfe6cf; }
.notice-err { background: #fdeeee; color: #9b3636; border: 1px solid #f1cccc; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  background: var(--ink); color: #cfc7da;
  padding: clamp(40px,7vw,64px) 0 32px; margin-top: clamp(40px,8vw,90px);
  text-align: center;
}
.site-footer .script { color: #cdb6ef; font-size: 2.2rem; }
.site-footer .foot-nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 18px 0; padding: 0; list-style: none; }
.site-footer .foot-nav a { color: #cfc7da; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer .foot-nav a:hover { color: #fff; }
.site-footer .socials { display: flex; gap: 14px; justify-content: center; margin: 16px 0; }
.site-footer .socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center; color: #cfc7da;
}
.site-footer .socials a:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
.site-footer .socials svg { width: 19px; height: 19px; }
.site-footer .copyright { font-size: .78rem; color: #8c83a0; margin-top: 14px; }

/* Setup banner (shown before config.php exists) */
.setup-banner {
  background: var(--violet-deep); color: #fff; text-align: center;
  padding: 10px 18px; font-size: .85rem;
}
.setup-banner a { color: #fff; text-decoration: underline; }
