/* ===========================================================
   NP Studio — Nina Perges
   Static optimised stylesheet
   =========================================================== */

:root {
  --bg: #FEFCF1;
  --secondary: #1B1B1B;
  --text: #4F4F4F;
  --accent: #E7FF33;
  --line: #1B1B1B;
  --header-h: 80px;
  --container: 1380px;
  --side-pad: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Marcellus', serif;
  color: var(--secondary);
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0;
}

p { margin: 0 0 1em; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--bg);
  z-index: 100;
  border-bottom: 1px solid rgba(27,27,27,0.18);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--side-pad);
}

.menu-toggle {
  background: transparent;
  border: 0;
  width: 30px;
  height: 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  justify-self: start;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--secondary);
  width: 100%;
  border-radius: 1px;
}

.header-logo {
  justify-self: center;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.header-logo img {
  height: 50px;
  width: auto;
}
body.scrolled .header-logo {
  opacity: 1;
  pointer-events: auto;
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}
.lang-switch {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--secondary);
}
.ig-link {
  display: inline-flex;
  color: var(--secondary);
}

/* ============================================================
   SIDE MENU
   ============================================================ */
.side-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 360px;
  max-width: 88vw;
  background: var(--bg);
  z-index: 200;
  padding: 110px 48px 48px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  border-right: 1px solid rgba(27,27,27,0.12);
}
.side-menu.open { transform: translateX(0); }
.side-menu ul { list-style: none; padding: 0; margin: 0; }
.side-menu li { margin: 14px 0; }
.side-menu a {
  font-family: 'Marcellus', serif;
  color: var(--secondary);
  font-size: 22px;
  letter-spacing: 1.5px;
  display: inline-block;
  position: relative;
}
.side-menu a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--accent);
}
.menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: transparent;
  border: 0;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: var(--secondary);
}

.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(27,27,27,0.35);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: var(--header-h);
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}
.hero-logo {
  width: clamp(160px, 18vw, 240px);
  height: auto;
  transition: opacity 0.05s linear;
  will-change: opacity;
}
.hero-tagline {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 28px 0 0;
  opacity: 0;
  transition: opacity 0.05s linear;
  will-change: opacity;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 90px var(--side-pad) 100px;
  max-width: var(--container);
  margin: 0 auto;
}
.about-titles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.about-titles h2 {
  font-size: 24px;
  letter-spacing: 2px;
  padding: 22px 0;
  text-transform: uppercase;
}
.about-titles h2:first-child {
  border-right: 1px solid var(--line);
}
.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.about-text {
  padding: 110px 80px;
  align-self: center;
  text-align: justify;
  color: var(--text);
}
.about-text p { font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.about-image {
  border-left: 1px solid var(--line);
  padding: 32px 0 32px 0;
  display: flex;
  justify-content: center;
}
.about-image img {
  max-width: 100%;
  height: auto;
  width: 80%;
}

/* ============================================================
   WORK
   ============================================================ */
.work {
  padding: 60px var(--side-pad) 60px;
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.work h2 {
  font-size: 33.6px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.work-intro {
  font-size: 14px;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 50px;
  color: var(--text);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 50px;
}
.gallery-item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.more-btn {
  display: inline-block;
  padding: 14px 44px;
  border: 1px solid var(--secondary);
  border-radius: 999px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--secondary);
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s;
}
.more-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ============================================================
   COLLECTIONS
   ============================================================ */
.collections {
  padding: 80px var(--side-pad) 80px;
  max-width: var(--container);
  margin: 0 auto;
}
.collections h2 {
  font-size: 33.6px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.collections-intro {
  margin-bottom: 50px;
  color: var(--text);
}
.collections-intro p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 30px;
}
.tab {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: 'Marcellus', serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 6px 4px;
  position: relative;
  transition: color 0.2s;
}
.tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -15px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}
.tab.active::after,
.tab:hover::after { transform: scaleX(1); }
.tab.active { color: var(--secondary); }

.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel img {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: auto;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px var(--side-pad);
  text-align: center;
}
.contact h2 {
  font-size: 33.6px;
  text-transform: uppercase;
  margin-bottom: 60px;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-info > div {
  padding: 24px 12px;
  font-size: 14px;
  color: var(--secondary);
}
.contact-info > div:first-child { border-right: 1px solid var(--line); }
.contact-info a:hover { color: var(--accent); }

/* ============================================================
   APPOINTMENT FORM
   ============================================================ */
.appointment {
  padding: 80px var(--side-pad) 100px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.appointment h2 {
  font-size: 33.6px;
  text-transform: uppercase;
  margin-bottom: 50px;
}
.booking-form { text-align: left; }
.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}
.step {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text);
}
.step.active { color: var(--accent); }
.step-divider {
  flex: 0 0 80px;
  height: 1px;
  background: var(--secondary);
}
.form-step {
  border: 0;
  padding: 0;
  margin: 0;
  display: none;
}
.form-step.active { display: block; }
.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--secondary);
  border-radius: 999px;
  padding: 14px 22px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  background: transparent;
  color: var(--secondary);
  margin-bottom: 18px;
  outline: none;
  transition: border-color 0.2s;
}
.booking-form textarea {
  border-radius: 22px;
  resize: vertical;
  min-height: 120px;
}
.booking-form input:focus,
.booking-form textarea:focus { border-color: var(--accent); }
.booking-form input::placeholder,
.booking-form textarea::placeholder { color: var(--text); }

.file-label {
  display: block;
  border: 1px solid var(--secondary);
  border-radius: 999px;
  padding: 14px 22px;
  margin-bottom: 18px;
  cursor: pointer;
  color: var(--text);
}
.file-label input[type="file"] { display: none; }

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 22px;
  align-items: center;
}
.checkbox-group .group-label {
  width: 100%;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--secondary);
  margin-bottom: 4px;
}
.checkbox-group label {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.checkbox-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12px;
  margin: 18px 0 26px;
  cursor: pointer;
}
.checkbox-line a { text-decoration: underline; }

.form-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}
.btn-pill {
  background: transparent;
  border: 1px solid var(--secondary);
  border-radius: 999px;
  padding: 12px 38px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px var(--side-pad) 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}
.footer-menu ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-menu li {
  font-size: 13px;
  letter-spacing: 1.4px;
  margin-bottom: 6px;
  text-transform: uppercase;
  color: var(--secondary);
}
.footer-menu a:hover,
.footer-legal a:hover { color: var(--accent); }
.footer-logo {
  display: flex;
  justify-content: center;
}
.footer-logo img { height: 100px; width: auto; }
.footer-legal {
  text-align: right;
}
.footer-legal li {
  font-size: 13px;
  letter-spacing: 1.4px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* ============================================================
   INNER PAGES — shared
   ============================================================ */
/* Inner pages need the small NP-Studio header logo visible from
   page-load, since there is no hero to fade into. */
body.inner-page .header-logo {
  opacity: 1;
  pointer-events: auto;
}

.page {
  padding-top: var(--header-h);
  min-height: 100vh;
}

.page > section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.page h1 {
  font-family: 'Marcellus', serif;
  font-size: clamp(28px, 4vw, 42px);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--secondary);
  margin: 0 0 32px;
}

/* Footer nav: highlight current page */
.footer-menu li.current a,
.side-menu li.current a { color: var(--secondary); }
.footer-menu li.current a::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-left: 8px;
}

/* ============================================================
   SPLIT PAGE (Studio + Voucher)
   ============================================================ */
.split-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-h));
  align-items: center;
  gap: 0;
  padding: 80px var(--side-pad);
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
.split-page::before {
  content: "";
  position: absolute;
  top: 80px; bottom: 80px;
  left: 50%;
  width: 1px;
  background: var(--line);
}
.split-left { padding-right: 80px; }
.split-right {
  padding-left: 80px;
  display: flex;
  justify-content: center;
}
.split-left h1 { margin-bottom: 32px; }
.split-left p { font-size: 14px; line-height: 1.7; margin: 0 0 18px; color: var(--text); }

.studio-address {
  margin-top: 32px;
  font-style: normal;
  font-family: 'Marcellus', serif;
  letter-spacing: 2px;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 1.9;
}
.studio-address a {
  color: var(--secondary);
  border-bottom: 1px solid var(--secondary);
  padding-bottom: 2px;
}
.studio-address a:hover { color: var(--accent); border-color: var(--accent); }

/* Slideshow */
.slideshow {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
}
.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.slideshow img.active { opacity: 1; }

.split-right > img {
  max-width: 520px;
  width: 100%;
  height: auto;
}

/* ============================================================
   CARE PAGE
   ============================================================ */
.page-hero {
  height: 360px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 60px;
  padding: 0;
  max-width: none !important;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--secondary);
}

.care-grid {
  padding-bottom: 100px;
}
.care-titles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.care-titles h2 {
  font-size: 22px;
  text-transform: uppercase;
  padding: 22px 0;
  letter-spacing: 2px;
}
.care-titles h2:first-child { border-right: 1px solid var(--line); }

.care-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.care-col {
  padding: 48px 60px;
}
.care-col:first-child { border-right: 1px solid var(--line); }
.care-col ul {
  list-style: square;
  padding-left: 18px;
  margin: 0 0 24px;
}
.care-col li {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}
.care-note {
  font-size: 13px;
  color: var(--text);
  margin-top: 24px;
}
.care-footnote {
  margin-top: 40px;
  font-size: 12px;
  color: var(--text);
  text-align: center;
  font-style: italic;
  opacity: 0.6;
}

/* ============================================================
   Q&A PAGE
   ============================================================ */
.qa-page { padding: 100px var(--side-pad) 120px; max-width: 920px; margin: 0 auto; }
.qa-page h1 { margin-bottom: 40px; }
.qa-list { margin-bottom: 60px; }
.qa-item {
  border-bottom: 1px solid rgba(27,27,27,0.18);
}
.qa-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 4px;
  font-size: 14px;
  color: var(--secondary);
  letter-spacing: 0.3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after {
  content: "+";
  font-family: 'Marcellus', serif;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s;
}
.qa-item[open] summary { background: var(--secondary); color: var(--bg); padding-left: 18px; padding-right: 18px; }
.qa-item[open] summary::after { content: "−"; color: var(--bg); }
.qa-body { padding: 16px 18px 24px; color: var(--text); font-size: 13px; line-height: 1.7; }

.qa-block {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(27,27,27,0.18);
}
.qa-block h2 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.qa-block h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 18px 0 8px;
}
.qa-block p { font-size: 13px; line-height: 1.7; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page { max-width: 820px; padding: 100px var(--side-pad) 120px; margin: 0 auto; }
.legal-page section { margin-bottom: 36px; padding: 0; }
.legal-page h2 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.legal-page p { font-size: 13px; line-height: 1.7; }
.legal-footnote {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(27,27,27,0.18);
  font-size: 11px;
  font-style: italic;
  opacity: 0.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .about-body { grid-template-columns: 1fr; }
  .about-image { border-left: 0; border-top: 1px solid var(--line); padding-top: 40px; margin-top: 40px; }
  .about-text { padding: 50px 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-legal { text-align: center; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-info > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 960px) {
  .split-page { grid-template-columns: 1fr; gap: 60px; padding: 60px var(--side-pad); }
  .split-page::before { display: none; }
  .split-left,
  .split-right { padding: 0; }
  .split-right { justify-content: flex-start; }
  .care-body { grid-template-columns: 1fr; }
  .care-col { padding: 32px 24px; }
  .care-col:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  :root { --side-pad: 20px; --header-h: 70px; }
  .about-titles { grid-template-columns: 1fr; }
  .about-titles h2:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .care-titles { grid-template-columns: 1fr; }
  .care-titles h2:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .work h2,
  .collections h2,
  .contact h2,
  .appointment h2 { font-size: 26px; }
  .step-divider { flex-basis: 30px; }
  .tabs { gap: 14px; }
  .tab { font-size: 13px; }
  .header-logo img { height: 38px; }
  .hero-tagline { font-size: 12px; letter-spacing: 3px; }
  .page-hero { height: 240px; }
  .qa-page { padding: 70px var(--side-pad) 90px; }
}
