/* ==========================================================================
   Yuliya Photography - public site styles

   Visual direction follows the reference site the client picked
   (photowithkaty.com): white background, black type, bold centred sans-serif
   headings, a photo mosaic instead of a banner, a round portrait, dense photo
   grids with tight gaps, pill buttons with a 2px outline, a dusty-rose call to
   action band and a light grey contact block.

   Mobile-first. Breakpoints: 600px, 900px, 1200px.

   No external fonts or assets are loaded, so the site makes zero third-party
   requests and no visitor data ever leaves the server.
   ========================================================================== */

:root {
  --white: #ffffff;
  --grey: #efefef;
  --grey-line: #e2e2e2;
  --ink: #111111;
  --ink-mid: #3d3d3d;
  --ink-soft: #6f6f6f;
  --rose: #e68f9c;
  --rose-dark: #d47886;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --container: 1180px;
  --gutter: 18px;
  --photo-gap: 8px;
  --header-height: 62px;
  --transition: 180ms ease;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-mid);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-locked {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition), background var(--transition),
    border-color var(--transition);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

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

.section {
  padding: 56px 0;
}

.section--grey {
  background: var(--grey);
}

.section--tight {
  padding-top: 34px;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-title {
  font-size: clamp(1.65rem, 5.4vw, 2.6rem);
  letter-spacing: -0.01em;
}

.section-intro {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   Buttons - pill with a 2px outline, matching the reference
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 38px;
  border: 2px solid var(--ink);
  border-radius: 30px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.btn:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--filled {
  background: var(--ink);
  color: var(--white);
}

.btn--filled:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

.btn--rose {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

.btn--rose:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: var(--white);
}

.btn--onDark {
  background: transparent;
  border-color: var(--ink);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.site-header.is-scrolled {
  border-bottom-color: var(--grey-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.brand span {
  display: block;
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  color: var(--ink-soft);
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: flex;
  border: 1.5px solid var(--ink);
  border-radius: 30px;
  overflow: hidden;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
  display: flex;
  flex-direction: column;
  padding: 4px var(--gutter) 18px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition),
    visibility var(--transition);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.main-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.main-nav a {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 2px;
  border-bottom: 1px solid var(--grey-line);
}

.main-nav a:last-child {
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   Photo placeholders
   Replace each ".ph" block with an <img> once real photos are available.
   -------------------------------------------------------------------------- */

.ph {
  position: relative;
  width: 100%;
  min-width: 0;
  background: linear-gradient(140deg, var(--ph-1, #ededed) 0%, var(--ph-2, #d8d8d8) 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.55), transparent 62%);
}

.ph::after {
  content: attr(data-label);
  position: relative;
  margin: 9px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.8);
  color: rgba(17, 17, 17, 0.5);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ph--love { --ph-1: #f2dcd9; --ph-2: #ddb3ae; }
.ph--maternity { --ph-1: #f0e7db; --ph-2: #d9c8ae; }
.ph--family { --ph-1: #e4e8dd; --ph-2: #c3ccb6; }
.ph--portraits { --ph-1: #eae3db; --ph-2: #cabca9; }
.ph--proposals { --ph-1: #f5e0dc; --ph-2: #e2b5ae; }
.ph--weddings { --ph-1: #f1eee9; --ph-2: #d7cfc3; }
.ph--hero { --ph-1: #eae3da; --ph-2: #cbbba6; }
.ph--about { --ph-1: #ece5dc; --ph-2: #d0c0aa; }

/* --------------------------------------------------------------------------
   Hero: photo mosaic + round portrait + name
   -------------------------------------------------------------------------- */

.hero {
  padding-top: var(--header-height);
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--photo-gap);
}

/* Vertical tiles: almost everything Yuliya shoots is portrait orientation,
   so the mosaic follows the photographs rather than forcing them into a
   landscape crop. Three across on phones, a single row of six on desktop. */
.hero-mosaic .ph,
.hero-mosaic .mosaic-item {
  aspect-ratio: 4 / 5;
}

.hero-mosaic .mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-identity {
  text-align: center;
  padding: 0 var(--gutter) 28px;
  margin-top: -46px;
}

.hero-avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 4px solid var(--white);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.hero-avatar::after {
  font-size: 0.5rem;
  margin: 6px;
  padding: 3px 7px;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-name {
  font-size: clamp(1.5rem, 6.6vw, 2.3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-role {
  margin: 8px 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-intro {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--ink-mid);
}

.hero-intro p {
  margin: 0 0 6px;
}

.hero-cta {
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  gap: 26px;
}

.about-visual {
  aspect-ratio: 4 / 5;
}

.about-visual img,
.about-strip img,
.offer-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* three more frames under the main portrait */
.about-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--photo-gap);
  margin-top: var(--photo-gap);
}

.about-strip > * {
  aspect-ratio: 4 / 5;
}

.about-text p {
  color: var(--ink-mid);
}

.about-lead {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}

.about-location {
  padding-left: 14px;
  border-left: 3px solid var(--rose);
  color: var(--ink) !important;
}

.about-closing {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink) !important;
  margin-top: 22px;
  margin-bottom: 6px;
}

/* signs off the section, the way a letter would */
.about-signature {
  display: inline-block;
  padding-top: 8px;
  border-top: 2px solid var(--rose);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */

.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-bottom: 36px;
}

.portfolio-tabs a {
  padding: 8px 15px;
  border: 1.5px solid var(--ink);
  border-radius: 30px;
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-tabs a:hover {
  background: var(--ink);
  color: var(--white);
}

.portfolio-category {
  margin-bottom: 42px;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.portfolio-category:last-child {
  margin-bottom: 0;
}

.portfolio-category-head {
  text-align: center;
  margin-bottom: 16px;
}

.portfolio-category-head h3 {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.portfolio-category-head p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--photo-gap);
}

.portfolio-item {
  aspect-ratio: 4 / 5;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

/* --------------------------------------------------------------------------
   Rose call-to-action band
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--rose);
  color: var(--white);
  text-align: center;
  padding: 34px var(--gutter);
}

.cta-band a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-size: clamp(1rem, 3.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-band a:hover {
  color: var(--white);
  opacity: 0.85;
}

.cta-band svg {
  width: 30px;
  height: 14px;
  flex: none;
}

/* --------------------------------------------------------------------------
   Offers: text on the left, photo on the right
   -------------------------------------------------------------------------- */

.package-note {
  max-width: 640px;
  margin: 0 auto 34px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.offer {
  display: grid;
  gap: 22px;
  margin-bottom: 52px;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.offer:last-child {
  margin-bottom: 0;
}

.offer-visual {
  aspect-ratio: 4 / 5;
  max-width: 380px;
}

.offer-title {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.offer-duration {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-mid);
  font-size: 0.94rem;
  line-height: 1.5;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.offer-price {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.offer-price .per-unit {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.offer-closing {
  font-size: 0.98rem;
  font-style: italic;
  color: var(--ink);
  margin: 14px 0 18px;
}

/* --------------------------------------------------------------------------
   Contact block
   -------------------------------------------------------------------------- */

.contact {
  background: var(--grey);
  text-align: center;
  padding: 56px 0;
}

.contact-text {
  max-width: 46ch;
  margin: 12px auto 26px;
  color: var(--ink-mid);
}

.contact-phone {
  display: block;
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-place {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.icon-circle:hover {
  background: var(--rose);
  color: var(--white);
}

.icon-circle svg {
  width: 21px;
  height: 21px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--grey-line);
  color: var(--ink-soft);
  padding: 22px 0;
  font-size: 0.78rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
}

.footer-admin {
  color: #a5a5a5;
  font-size: 0.72rem;
}

.footer-admin:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Floating WhatsApp button
   -------------------------------------------------------------------------- */

.floating-whatsapp {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 18px rgba(37, 211, 102, 0.35);
}

.floating-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: var(--white);
}

.floating-whatsapp svg {
  width: 27px;
  height: 27px;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.94);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* 404 page */
.section--centered {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ==========================================================================
   >= 600px
   ========================================================================== */

@media (min-width: 600px) {
  :root {
    --gutter: 26px;
  }

  .section {
    padding: 68px 0;
  }

  .hero-identity {
    margin-top: -58px;
  }

  .hero-avatar {
    width: 116px;
    height: 116px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-actions {
    gap: 16px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   >= 900px
   ========================================================================== */

@media (min-width: 900px) {
  :root {
    --header-height: 70px;
    --gutter: 34px;
  }

  .section {
    padding: 84px 0;
  }

  /* full navigation bar - the hamburger disappears */
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    border: 0;
    padding: 5px 0;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--ink-mid);
    position: relative;
  }

  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--rose);
    transition: width var(--transition);
  }

  .main-nav a:hover {
    color: var(--ink);
  }

  .main-nav a:hover::after {
    width: 100%;
  }

  .hero-mosaic {
    grid-template-columns: repeat(6, 1fr);
  }

  .hero-identity {
    margin-top: -64px;
    padding-bottom: 40px;
  }

  .hero-avatar {
    width: 128px;
    height: 128px;
  }

  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: center;
  }

  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .portfolio-category {
    margin-bottom: 56px;
  }

  /* offers become two columns: copy left, photo right */
  .offer {
    grid-template-columns: 1fr 380px;
    gap: 56px;
    align-items: start;
    margin-bottom: 74px;
  }

  .offer-visual {
    max-width: none;
  }

  .offer-title {
    font-size: 1.5rem;
  }

  .contact {
    padding: 76px 0;
  }
}

/* ==========================================================================
   >= 1200px
   ========================================================================== */

@media (min-width: 1200px) {
  body {
    font-size: 17px;
  }

  .section {
    padding: 96px 0;
  }

  .floating-whatsapp {
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
  }
}

/* small uppercase label (used on the 404 page) */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 10px;
}
