/* ===========================================================
   Neleena Dress Makers — editorial stylesheet
   Palette: navy + ivory base, gold as fine accent, lavender whisper.
   Fonts: Cormorant Garamond (display serif) + Jost (modern sans).
   Edit variables below to re-theme.
   =========================================================== */
:root {
  --gold: #C2A24C;         /* softer, less-flashy gold */
  --gold-line: #D4AF37;    /* hairline accent */
  --navy: #1B2A49;
  --navy-deep: #131f37;
  --lavender: #B8A4C9;
  --lavender-deep: #8f79a8;
  --ivory: #FBF9F5;
  --ivory-2: #F3EFE8;      /* warm greige for image frames */
  --ink: #1B2A49;
  --muted: #6a7183;
  --line: #e7e2d8;
  --radius: 2px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Buttons: minimal, squared, letter-spaced ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid var(--navy);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--solid { background: var(--navy); color: var(--ivory); }
.btn--solid:hover { background: transparent; color: var(--navy); }
.btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--line:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--wide { width: 100%; padding: 17px; letter-spacing: .26em; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 245, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__brand { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.7rem; color: var(--navy); letter-spacing: .01em; }
.nav__menu { display: flex; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav__menu a { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); transition: color .2s; }
.nav__menu a:hover { color: var(--gold); }
.nav__cta { position: relative; }
.nav__cta::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--gold-line); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 1.5px; background: var(--navy); transition: .3s; }

/* ---------- Hero: full-bleed photo + navy wash ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex; align-items: center;
  background-image: url("https://images.unsplash.com/photo-1710023132784-e1b8538d4fb9?auto=format&fit=crop&w=1900&q=80");
  background-size: cover; background-position: center 30%;
  text-align: center;
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,31,55,.5), rgba(19,31,55,.62)); }
.hero__inner { position: relative; z-index: 2; color: #fff; display: flex; flex-direction: column; align-items: center; padding: 60px 0; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .42em; font-size: .74rem; color: var(--lavender); margin: 0 0 22px; font-weight: 400; }
.hero__title {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(3rem, 8vw, 6rem); line-height: 1; margin: 0;
  letter-spacing: .01em;
}
.hero__title::after { content: ""; display: block; width: 74px; height: 1px; background: var(--gold-line); margin: 26px auto 0; }
.hero__sub { max-width: 470px; color: rgba(255,255,255,.86); margin: 26px 0 34px; font-weight: 300; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: .34em; font-size: .68rem; color: var(--gold); font-weight: 400; margin: 0 0 14px; }
.section__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.4rem); margin: 0; color: var(--ink); line-height: 1.05; }
.section__lead { color: var(--muted); margin: 18px auto 0; max-width: 520px; }

/* ---------- Portfolio (editorial cards) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
.card { margin: 0; }
.card__img { overflow: hidden; background: var(--ivory-2); border-radius: var(--radius); cursor: pointer; }
.card__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.card:hover .card__img img { transform: scale(1.05); }
.card figcaption { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 18px; }
.card__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); }
.card__meta { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- About ---------- */
.section--about { background: var(--ivory-2); }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.about__media::before { content: ""; position: absolute; top: 18px; left: 18px; right: -18px; bottom: -18px; border: 1px solid var(--gold-line); border-radius: var(--radius); z-index: -1; }
.about__body .section__title { margin-bottom: 8px; }
.about__body p { color: var(--muted); margin: 0 0 20px; }
.about__body .btn { margin-top: 8px; }

/* ---------- Form (minimal, underline inputs) ---------- */
.book { max-width: 720px; }
.form { display: flex; flex-direction: column; gap: 26px; margin-top: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field > span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink); font-weight: 300;
  padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; transition: border-color .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-line); }
.field textarea { resize: vertical; }
.field input[type="file"] { font-size: .82rem; color: var(--muted); }
.form__hp { position: absolute; left: -5000px; }
.book .btn--wide { margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #cfd6e4; padding: 72px 0 40px; text-align: center; }
.footer__brand { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 2rem; color: #fff; margin: 0; }
.footer__line { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--lavender); margin: 10px 0 26px; }
.footer__contact { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.footer__contact a { font-size: .82rem; letter-spacing: .05em; color: #cfd6e4; transition: color .2s; }
.footer__contact a:hover { color: var(--gold-line); }
.footer__copy { font-size: .68rem; letter-spacing: .12em; color: #7a839a; margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(19,24,40,.92); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 20px; right: 30px; font-size: 2.4rem; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav__menu.open { max-height: 320px; }
  .nav__menu li { width: 100%; text-align: center; }
  .nav__menu a { display: block; padding: 18px; }
  .nav__cta::after { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media::before { right: 14px; bottom: -14px; }
  .form__row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .container { padding: 0 22px; }
}
