/* ============================================
   Kovalenko Photography — style.css
   Built from Figma design "KP"
   ============================================ */

:root {
  --black: #000000;
  --white: #ffffff;
  --panel: rgba(255, 255, 255, 0.05); /* translucent so background light patches show through */
  --header-bg: rgba(38, 38, 38, 0.7);
  --btn-dark: rgba(27, 27, 30, 0.7);
  --gray: #717171;
  --gray-light: #b4b4b4;
  --text-muted: #b4b4c0;
  --text-bright: #e4e9ed;
  --input-bg: #3b3b3b;
  --disabled-bg: #27272b;
  --disabled-text: #848484;
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  /* sticky footer: page fills at least the viewport so the footer never floats mid-screen */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 1000px 800px at 90% 900px, rgba(255, 255, 255, 0.09), transparent 65%),
    radial-gradient(ellipse 900px 750px at 0% 1900px, rgba(255, 255, 255, 0.08), transparent 65%),
    radial-gradient(ellipse 1000px 800px at 100% 3100px, rgba(255, 255, 255, 0.085), transparent 65%),
    radial-gradient(ellipse 900px 750px at 5% 4400px, rgba(255, 255, 255, 0.08), transparent 65%),
    radial-gradient(ellipse 1000px 800px at 95% 5700px, rgba(255, 255, 255, 0.08), transparent 65%),
    radial-gradient(ellipse 900px 700px at 10% 7000px, rgba(255, 255, 255, 0.075), transparent 65%),
    var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* sticky footer: main grows to fill remaining height, footer stays pinned to the bottom */
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: normal;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 32px));
  height: 70px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 100;
}

.site-header .logo img { height: 60px; width: auto; }

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
}

.main-nav a {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

.btn-header {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  height: 44px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  box-shadow:
    0 4px 16px rgba(255, 255, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-header:hover {
  transform: scale(1.03);
  box-shadow:
    0 6px 22px rgba(255, 255, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-toggle { display: none; }

/* ============ Buttons ============ */
.btn-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 60px;
  padding: 0 76px 0 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5), 0 0 2px rgba(0, 0, 0, 0.35);
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
  transition: box-shadow 0.2s, transform 0.15s, background 0.2s;
}

.btn-pill .btn-circle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-pill .btn-circle img { width: 24px; height: 24px; }

.btn-pill:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px) scale(1.02);
}

.btn-pill.btn-small { height: 54px; padding: 0 66px 0 26px; }
.btn-pill.btn-small .btn-circle { width: 44px; height: 44px; }

/* Submit button (starts disabled-looking, enabled when form valid) */
.btn-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 192px;
  height: 54px;
  padding-left: 35px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--disabled-text);
  font-size: 20px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-submit .btn-circle {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--disabled-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.btn-submit .btn-circle img { width: 22px; height: 22px; }

.btn-submit:hover,
.btn-submit.is-ready {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.84) 100%);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--black);
  box-shadow:
    0 4px 18px rgba(255, 255, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-submit:hover .btn-circle,
.btn-submit.is-ready .btn-circle { background: var(--black); }

.btn-submit:hover .btn-circle img,
.btn-submit.is-ready .btn-circle img { filter: invert(1); }

/* ============ Hero ============ */
.hero {
  position: relative;
  height: 720px;
  background: url('../assets/img/hero-bg.jpg') center 35% / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* fade the image itself into transparency at the bottom */
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.12) 45%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero > * { position: relative; z-index: 1; }

.hero-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 24px;
}

.hero-location img { width: 28px; height: 28px; }

.hero h1 {
  margin-top: 60px;
  font-size: 50px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: normal;
}

.hero-tagline {
  margin-top: 30px;
  font-size: 24px;
  font-weight: 400;
}

.hero .btn-pill { margin-top: 56px; }

/* ============ Gallery (portfolio section) ============ */
.gallery { margin-top: -70px; padding: 0 0 60px; position: relative; z-index: 1; }

.gallery h2 { text-align: center; margin-bottom: 70px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  aspect-ratio: 380 / 310;
  overflow: hidden;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item .overlay span {
  font-size: 24px;
  line-height: 1.62;
  color: var(--white);
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .overlay span { transform: translateY(0); }

.gallery-item:hover .overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.05); }

/* ============ About section ============ */
.about-section { background: var(--panel); margin-top: 48px; }

.about-inner {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}

.about-inner .about-img {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  overflow: hidden;
  flex: 0 0 56%;
}

.about-inner .about-img img {
  width: 100%;
  height: 426px;
  object-fit: cover;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  max-width: 462px;
}

.about-text p {
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  line-height: 2;
}

/* ============ Testimonials ============ */
.testimonials { padding: 100px 0 0; }

.testimonials h2 { text-align: center; margin-bottom: 70px; }

.testimonial-track {
  max-width: 760px;
  margin: 0 auto;
}

.testimonial {
  display: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%), var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  min-height: 236px;
  padding: 36px 40px;
}

.testimonial.t-active { display: block; animation: fadeUp 0.45s ease; }

.testimonial.t-active.slide-right { animation: tSlideRight 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.testimonial.t-active.slide-left { animation: tSlideLeft 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both; }

@keyframes tSlideRight {
  from { opacity: 0; transform: translateX(54px) scale(0.97); }
  60% { opacity: 1; }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes tSlideLeft {
  from { opacity: 0; transform: translateX(-54px) scale(0.97); }
  60% { opacity: 1; }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.testimonial .t-name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-bright);
  margin-bottom: 18px;
}

.testimonial .t-text {
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-muted);
}

.testimonial-arrows {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 26px;
}

.testimonial-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: background 0.2s, border-color 0.2s;
}

.testimonial-arrows button:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.07) 100%);
  border-color: rgba(255, 255, 255, 0.4);
}

.testimonial-arrows img { width: 20px; height: 20px; }

.testimonials .cta-row {
  display: flex;
  justify-content: center;
  margin: 40px 0 0;
}

/* ============ FAQ ============ */
.faq-section { padding: 100px 0 0; }

.faq-section h2 { text-align: center; margin-bottom: 60px; }

.faq-list {
  max-width: 749px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.25s;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  min-height: 62px;
  text-align: left;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
}

.faq-question .chev {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 20px 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
}

.faq-item.open { background: var(--white); }
.faq-item.open .faq-question { color: var(--black); }
.faq-item.open .chev { transform: rotate(180deg); filter: invert(1); }

/* ============ Contact ============ */
.contact-section { background: var(--panel); margin-top: 100px; }

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 42px 0;
}

.contact-form-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 530px;
  flex-shrink: 0;
}

.contact-form-col h2 { margin-bottom: 0; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.underline-field input,
.underline-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray);
  color: var(--white);
  font-family: inherit;
  font-size: 18px;
  line-height: 1.2;
  padding: 0 0 8px;
  resize: none;
}

.underline-field input::placeholder,
.underline-field textarea::placeholder { color: var(--gray); }

.underline-field input:focus,
.underline-field textarea:focus {
  outline: none;
  border-bottom-color: var(--white);
}

.contact-img {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
  max-width: 546px;
}

.contact-img img {
  width: 100%;
  height: 457px;
  object-fit: cover;
  object-position: center 65%;
}

/* ============ Footer ============ */
.site-footer { padding: 90px 0 0; }

.site-footer .container {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 26px 36px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0;
}

.footer-logo img { height: 48px; width: auto; }

.footer-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px 36px;
  flex-wrap: wrap;
  flex: 1;
}

.footer-row .f-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: var(--gray-light);
}

.footer-row .f-item img { width: 22px; height: 22px; opacity: 0.8; }

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-socials img { width: 21px; height: 21px; }

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.footer-copy {
  width: 100%;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
  color: var(--gray);
}

.footer-copy .footer-admin-link {
  color: var(--gray);
  text-decoration: underline;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.footer-copy .footer-admin-link:hover { opacity: 1; color: var(--gray-light); }

/* ============ Page hero (inner pages) ============ */
.page-main { padding-top: 170px; }

.page-title { margin-bottom: 40px; }

/* Gallery page heading — centered so it matches the home-page gallery section */
#portfolio-title { text-align: center; }
#category-nav { justify-content: center; }

/* ============ Portfolio page ============ */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-bottom: 40px;
}

.category-nav a {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray);
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 50px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.category-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.category-nav a.active {
  color: var(--white);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px 9px;
  /* keep the gallery tall enough that the footer never floats on sparse categories */
  min-height: 46vh;
  align-content: start;
  padding-bottom: 40px;
}

.portfolio-grid .p-item {
  aspect-ratio: 374 / 305;
  overflow: hidden;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 0;
  background: var(--panel);
}

.portfolio-grid .p-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s, opacity 0.3s;
}

.portfolio-grid .p-item:hover img { transform: scale(1.04); opacity: 0.85; }

.portfolio-empty {
  color: var(--gray);
  font-size: 18px;
  padding: 60px 0;
}

/* ============ Lightbox ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img.lb-img {
  max-width: min(1000px, 86vw);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s;
}

.lightbox .lb-close { top: 32px; right: 8.5%; }

.lightbox .lb-prev,
.lightbox .lb-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .lb-prev { left: 5%; }
.lightbox .lb-next { right: 5%; }

.lightbox button img { width: 22px; height: 22px; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.18); }

/* ============ Book a photoshoot page ============ */
.shoot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 26px;
}

.shoot-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%), var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.shoot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.shoot-card .s-img {
  height: 294px;
  overflow: hidden;
}

.shoot-card .s-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shoot-card h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-bright);
  margin: 20px 20px 6px;
}

.shoot-card .s-price {
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 20px 22px;
}

.btn-outline {
  display: block;
  margin: 0 20px;
  height: 48px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  width: calc(100% - 40px);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

/* ============ Booking page (inline form) ============ */
.booking-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 650px;
  margin: -20px auto 34px;
  text-align: center;
}
.booking-panel {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%), rgba(22, 22, 25, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  width: 650px;
  max-width: 100%;
  margin: 0 auto;
  padding: 50px 60px;
}
.req { color: #e0726b; font-weight: 600; }

/* ============ Booking modal ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 300;
  display: none;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 40px 16px;
}

.modal-backdrop.open { display: flex; }

.booking-modal {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%), rgba(22, 22, 25, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  width: 650px;
  max-width: 100%;
  padding: 60px;
}

.booking-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 30px;
  height: 30px;
}

.booking-modal .modal-close img { width: 100%; height: 100%; }

.booking-modal h2 {
  font-size: 38px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.booking-form { display: flex; flex-direction: column; gap: 20px; }

.field label {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-light);
  margin-bottom: 6px;
}

.field .input-wrap { position: relative; }

.field input,
.field select {
  width: 100%;
  height: 50px;
  background: var(--input-bg);
  border: 1px solid transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 0 18px;
  appearance: none;
  border-radius: 10px;
  transition: border-color 0.2s;
}

.field input::placeholder { color: rgba(255, 255, 255, 0.25); }
.field select:invalid { color: rgba(255, 255, 255, 0.25); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gray-light); }

.field .field-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 8px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.form-subtitle {
  font-size: 20px;
  font-weight: 500;
  margin-top: 14px;
}

.checks { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.28px;
  line-height: 22px;
  cursor: pointer;
}

.check-row input { display: none; }

.check-row .box {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: url('../assets/img/checkbox-off.svg') center / contain no-repeat;
}

.check-row input:checked + .box {
  background-image: url('../assets/img/checkbox-on.svg');
}

.check-row b { font-weight: 600; }
.check-row a { text-decoration: underline; }

.booking-form .btn-submit { margin-top: 24px; }

/* ============ Success modal ============ */
.success-modal {
  position: relative;
  background: var(--white);
  color: var(--black);
  border-radius: 18px;
  width: 560px;
  max-width: 100%;
  margin: auto;
  padding: 56px 40px 48px;
  text-align: center;
}

.success-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
}

.success-modal .s-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  border: 2px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.success-modal h3 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.success-modal p { font-size: 15px; color: #444; margin-bottom: 28px; }

.success-modal .btn-go {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 54px;
  padding: 0 70px 0 30px;
  border: 1px solid var(--black);
  border-radius: 50px;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
}

.success-modal .btn-go .btn-circle {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-modal .btn-go .btn-circle img { width: 22px; height: 22px; filter: invert(1); }

/* ============ Terms / About pages ============ */
.prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  line-height: 2;
}

.prose.italic p { font-style: italic; font-weight: 300; }

.about-banner {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
}

.about-banner img {
  width: 100%;
  height: 285px;
  object-fit: cover;
  object-position: center 40%;
}

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
  align-items: start;
}

.about-two-col .col-img {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  overflow: hidden;
}

.about-two-col .col-img img {
  width: 100%;
  height: 452px;
  object-fit: cover;
}

/* ============ Utilities ============ */
body.menu-open { overflow: hidden; }

.hidden-field { display: none; }

.cta-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.field textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 18px;
  resize: vertical;
  min-height: 90px;
  transition: border-color 0.2s;
}

.field textarea:focus { outline: none; border-color: var(--gray-light); }

.prose h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 12px;
}

.prose a { text-decoration: underline; }

/* ============ Motion & micro-interactions ============ */
.btn-pill:active,
.btn-header:active,
.btn-outline:active,
.btn-submit:active,
.btn-go:active,
.testimonial-arrows button:active,
.lightbox button:active { transform: scale(0.96); }

.btn-pill:active { transform: translateY(0) scale(0.97); }

.footer-row .f-item { transition: color 0.2s, transform 0.2s; }
.footer-row .f-item:hover { color: var(--text-bright); transform: translateY(-2px); }

.check-row .box { transition: transform 0.15s; }
.check-row:hover .box { transform: scale(1.12); }

/* hero entrance */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero > * { animation: fadeUp 0.7s ease both; }
.hero > :nth-child(2) { animation-delay: 0.12s; }
.hero > :nth-child(3) { animation-delay: 0.24s; }
.hero > :nth-child(4) { animation-delay: 0.36s; }

/* scroll reveal (class added/removed by js) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero > * { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .testimonial.t-active { animation: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1280px) {
  .main-nav { gap: 26px; }
  .main-nav a { font-size: 15px; }
  .btn-header { padding: 0 20px; }
}

@media (max-width: 1060px) {
  .main-nav { position: static; transform: none; gap: 20px; }
  .site-header { padding: 0 14px 0 20px; }
  .site-header .logo img { height: 48px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .site-header .btn-header { display: none; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    top: 100px;
    left: 16px;
    right: 16px;
    background: linear-gradient(150deg, rgba(40, 40, 44, 0.75) 0%, rgba(18, 18, 20, 0.8) 100%);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    padding: 28px;
    z-index: 99;
    display: none;
    flex-direction: column;
    gap: 22px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
  }

  .mobile-menu.open { display: flex; }
}

@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 860px) {
  .section-title, .booking-modal h2 { font-size: 30px; }

  .site-header { top: 16px; height: 50px; padding: 0 20px; }
  .site-header .logo img { height: 40px; }
  .mobile-menu { top: 80px; }

  .hero { height: 720px; padding: 0 16px; }
  .hero h1 { font-size: 30px; }
  .hero-tagline { font-size: 18px; }
  .hero-location { font-size: 18px; }
  .hero-location img { width: 18px; height: 18px; }

  .btn-pill { height: 54px; font-size: 18px; padding: 0 64px 0 22px; }
  .btn-pill .btn-circle { width: 40px; height: 40px; }
  .btn-pill .btn-circle img { width: 22px; height: 22px; }

  .gallery { margin-top: -50px; padding: 0 0 30px; }
  .gallery h2, .testimonials h2, .faq-section h2 { margin-bottom: 40px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { gap: 8px; }
  .gallery-item { border-radius: 12px; }
  .gallery-item .overlay { opacity: 1; background: rgba(0, 0, 0, 0.35); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .gallery-item .overlay span { font-size: 15px; transform: none; }
  .gallery-item .overlay img { display: none; }

  .about-section { margin-top: 40px; }
  .about-inner { flex-direction: column; padding: 50px 0; gap: 30px; }
  .about-inner .about-img { flex: none; width: 100%; }
  .about-inner .about-img img { height: 239px; }
  .about-text { max-width: none; }

  .testimonials { padding: 60px 0 0; }
  .testimonial { padding: 24px 20px; }
  .testimonial .t-text { font-size: 16px; }
  .testimonials .cta-row { margin-top: 30px; }

  .faq-section { padding: 60px 0 0; }
  .faq-question { font-size: 16px; }

  .contact-section { margin-top: 60px; }
  .contact-inner { flex-direction: column; align-items: stretch; padding: 50px 0; gap: 40px; }
  .contact-form-col { width: 100%; }
  .contact-img { max-width: none; }
  .contact-img img { height: 299px; }

  .footer-row { flex-direction: column; align-items: center; gap: 18px; }
  .footer-row .f-item { font-size: 16px; }
  .site-footer { padding: 60px 0 0; }
  .site-footer .container { flex-direction: column; padding: 24px 20px 14px; gap: 18px; }
  .footer-logo { justify-content: center; }
  .footer-logo img { height: 42px; }

  .page-main { padding-top: 110px; }


  .shoot-grid { grid-template-columns: 1fr; }

  .booking-modal { padding: 40px 24px; }
  .booking-panel { padding: 34px 22px; }
  .booking-intro { margin-top: -8px; }

  .lightbox .lb-close { right: 16px; top: 16px; }
  .lightbox .lb-prev { left: 8px; }
  .lightbox .lb-next { right: 8px; }
  .lightbox img.lb-img { max-width: 92vw; }

  .about-two-col { grid-template-columns: 1fr; }
  .about-two-col .col-img img { height: 300px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
}

/* ============ Gallery manager (admin.html) ============ */
.admin-container { max-width: 860px; }

.admin-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.01) 100%), rgba(22, 22, 25, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  padding: 32px;
  margin-bottom: 26px;
}

.admin-card h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 16px;
}

.admin-muted { font-size: 15px; line-height: 1.6; color: var(--gray-light); margin-bottom: 18px; }
.admin-error { color: #ff8b8b; font-size: 14px; margin: 4px 0 0; }

.admin-container select {
  width: 100%;
  height: 50px;
  background: var(--input-bg);
  border: 1px solid transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 0 44px 0 18px;   /* room for the chevron */
  appearance: none;
  border-radius: 10px;
  transition: border-color 0.2s;
}
.admin-container select:focus { outline: none; border-color: var(--gray-light); }
.admin-container .input-wrap { position: relative; }

.admin-form { display: flex; flex-direction: column; gap: 20px; max-width: 420px; }

.admin-btn-primary {
  width: 100%;
  max-width: 220px;
  height: 50px;
  font-size: 16px;
}

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.admin-row h2 { margin-bottom: 0; }
.manage-filter { min-width: 180px; }
.manage-filter select { height: 46px; }

/* dropzone */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 38px 20px;
  margin-top: 16px;
  border: 2px dashed rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.dropzone:hover, .dropzone.is-over {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.07);
}
.dropzone.is-over { transform: scale(1.01); }
.dropzone .dz-icon { font-size: 34px; line-height: 1; color: var(--white); }
.dropzone .dz-title { font-size: 18px; font-weight: 600; }
.dropzone .dz-sub { font-size: 13px; color: var(--gray-light); }

/* upload progress list */
.upload-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.upload-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
}
.upload-item .ui-thumb {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08) center / cover no-repeat;
}
.upload-item .ui-meta { display: flex; flex-direction: column; min-width: 0; }
.upload-item .ui-name {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upload-item .ui-status { font-size: 13px; color: var(--gray-light); }
.upload-item.is-done .ui-status { color: #7ddf9a; }
.upload-item.is-error { border-color: rgba(255, 120, 120, 0.4); }
.upload-item.is-error .ui-status { color: #ff8b8b; }

/* manage grid */
.manage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.manage-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
  transition: opacity 0.2s;
  cursor: grab;
  touch-action: none;        /* let pointer-drag own the gesture (no page scroll) */
  user-select: none;
  -webkit-user-select: none;
}
.manage-cell.is-removing { opacity: 0.4; pointer-events: none; }
.manage-cell.is-dragging { opacity: 0.3; cursor: grabbing; outline: 2px dashed var(--gray-light); outline-offset: -2px; }
.manage-cell img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; pointer-events: none; }
body.manage-dragging { cursor: grabbing; }
body.manage-painting { cursor: pointer; }

/* the floating copy that follows the pointer while dragging */
.manage-ghost {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  margin: 0;
  pointer-events: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  opacity: 0.97;
  will-change: transform;
}
.manage-del {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--white);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;        /* own the tap so a slight drift still deletes */
  transition: background 0.2s, transform 0.15s;
}
.manage-del:hover { background: #d23b3b; transform: scale(1.08); }
.manage-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* multi-select tick box (top-left of each cell) */
.manage-select {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  touch-action: none;        /* let a press here start a paint-select sweep */
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
}
.manage-select::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid #14110f;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.15s;
}
.manage-select:hover { transform: scale(1.08); }
.manage-cell.is-selected { outline: 3px solid var(--white); outline-offset: -3px; }
.manage-cell.is-selected .manage-select { background: var(--white); border-color: var(--white); }
.manage-cell.is-selected .manage-select::after { opacity: 1; }

/* count chip on the drag ghost when moving several photos at once */
.manage-count-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  color: #14110f;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* select-all + hint row above the grid */
.manage-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.manage-tool-btn { height: 40px; padding: 0 22px; font-size: 14px; }
.manage-tools-hint { font-size: 13px; line-height: 1.4; color: var(--gray-light); }

/* selection toolbar */
.manage-select-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.manage-select-count { font-size: 14px; font-weight: 600; color: var(--white); margin-right: auto; }
.manage-select-bar .manage-action-btn { height: 40px; padding: 0 20px; font-size: 14px; }
.manage-select-delete {
  background: linear-gradient(160deg, #e05050 0%, #c43838 100%);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.manage-select-delete:hover {
  background: linear-gradient(160deg, #ec5d5d 0%, #cf4040 100%);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(208, 60, 60, 0.4);
}
.manage-select-clear { padding: 0 20px; }

/* save / upload toolbar */
.manage-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.manage-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0;
  height: 44px;
  padding: 0 24px;
  font-size: 15px;
}
.manage-action-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.manage-action-publish {
  background: var(--white);
  color: #14110f;
  border-color: var(--white);
}
.manage-action-publish:hover { background: rgba(255, 255, 255, 0.86); color: #14110f; }
.manage-action-status { font-size: 14px; line-height: 1.4; color: var(--gray-light); }
.manage-action-status.is-ok { color: #7ddf9a; }
.manage-action-status.is-warn { color: #ffce7a; }

@media (max-width: 860px) {
  .admin-card { padding: 22px; }
  .manage-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .admin-btn-primary { max-width: none; }
}

@media (max-width: 480px) {
  .manage-grid { grid-template-columns: repeat(2, 1fr); }
}

/* move-to-category control in the selection bar */
.manage-move { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.manage-move-wrap { min-width: 160px; }
.manage-move-wrap select { height: 40px; font-size: 14px; }

/* category cover panel in the gallery manager */
.manage-cover {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 4px 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}
.manage-cover-thumb {
  width: 66px;
  height: 66px;
  flex: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08) center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.manage-cover-text { display: flex; flex-direction: column; gap: 3px; margin-right: auto; }
.manage-cover-title { font-size: 14px; font-weight: 600; color: var(--white); }
.manage-cover-sub { font-size: 13px; line-height: 1.4; color: var(--gray-light); }
.manage-cover .manage-cover-reset { height: 38px; padding: 0 16px; font-size: 13px; }

/* the photo currently used as the cover */
.manage-cell.is-cover { outline: 2px solid rgba(255, 255, 255, 0.75); outline-offset: -2px; }
.manage-cover-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1b1b1b;
  background: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

/* [hidden] must win over the display rules above */
.manage-select-bar[hidden],
.manage-cover .manage-cover-reset[hidden],
.admin-body [hidden] { display: none !important; }

/* chevrons sit inside any .input-wrap, not only inside a .field — without this
   the admin panel's selects render the icon at its full intrinsic size */
.input-wrap { position: relative; }
.input-wrap > .field-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.manage-move-wrap > .field-icon { right: 12px; width: 18px; height: 18px; }

/* ---------- liquid glass placeholders ----------
   Until a photo has loaded, its 20px version is blown up behind a frosted
   glass layer: a heavy blur, a soft light sweep travelling across it and a
   thin rim highlight. When the photo arrives it fades and settles in while
   the glass clears. */
.has-blur { position: relative; overflow: hidden; isolation: isolate; }

/* the blurred photo itself */
.has-blur::before {
  content: "";
  position: absolute;
  inset: -12%;
  background-image: var(--blur);
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.5) brightness(1.06);
  transform: scale(1.12);
  opacity: 1;
  transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
  pointer-events: none;
  z-index: 0;
}

/* the glass on top of it: rim light, gloss and a slow travelling sheen */
.has-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.7s ease;
  background:
    linear-gradient(115deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.22) 46%,
      rgba(255, 255, 255, 0.05) 60%,
      rgba(255, 255, 255, 0) 72%) 0 0 / 260% 100% no-repeat,
    linear-gradient(160deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.03) 38%,
      rgba(0, 0, 0, 0.06) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 -18px 36px rgba(255, 255, 255, 0.05);
  animation: glass-sheen 2.4s ease-in-out infinite;
}

@keyframes glass-sheen {
  0%   { background-position: 130% 0, 0 0; }
  100% { background-position: -30% 0, 0 0; }
}

/* the real photo settles in as the glass clears */
.has-blur > img {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.65s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.has-blur.is-loaded > img { opacity: 1; transform: scale(1); }
.has-blur.is-loaded::before { opacity: 0; filter: blur(8px) saturate(1.1); transform: scale(1); }
.has-blur.is-loaded::after { opacity: 0; animation: none; }

/* skeleton tiles shown before the gallery knows which photos to draw */
.p-item.is-ghost { cursor: default; pointer-events: none; }
.p-item.is-ghost::after { z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .has-blur::before, .has-blur::after, .has-blur > img { transition: none; }
  .has-blur::after { animation: none; }
  .has-blur > img { transform: none; }
}

/* these repeat the rule above with enough weight to beat the grid-specific
   image styles defined earlier (.portfolio-grid .p-item img, .manage-cell img) */
.portfolio-grid .p-item.has-blur > img,
.manage-grid .manage-cell.has-blur > img,
.gallery-grid .gallery-item.has-blur > img {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.65s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.portfolio-grid .p-item.has-blur.is-loaded > img,
.manage-grid .manage-cell.has-blur.is-loaded > img,
.gallery-grid .gallery-item.has-blur.is-loaded > img {
  opacity: 1;
  transform: scale(1);
}
.portfolio-grid .p-item.has-blur.is-loaded:hover > img { transform: scale(1.04); }

/* ============ Gallery: "Gallery" heading sits lower ============ */
.gallery .section-title { margin-top: 26px; }
.gallery-page-title { margin-top: 18px; }

/* ============ Gallery page: category picker ============ */
.category-grid { margin-bottom: 20px; }


/* the picker cards reuse the home-page card, headings appear on hover */
.category-grid { gap: 14px; }
.category-grid .gallery-item { aspect-ratio: 380 / 330; }
.category-grid .overlay span { font-size: 26px; }

.category-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--gray-light);
  transition: color 0.2s;
}
.category-back:hover { color: var(--white); }
.category-back img { width: 16px; height: 16px; opacity: 0.8; }

/* a tap on a touch screen reveals the heading too */
@media (hover: none) {
  .gallery-item .overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 60%); backdrop-filter: none; -webkit-backdrop-filter: none; align-items: flex-end; }
  .gallery-item .overlay span { transform: none; padding: 0 0 16px; font-size: 20px; }
}

/* ============ Gallery page: mixed grid ============
   Photos keep their own shape — portrait photos stay portrait — and flow into
   columns so there are no gaps between rows. */
.portfolio-grid {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 300px;
  padding-bottom: 30px;
}

.portfolio-grid .p-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-grid .p-item {
  aspect-ratio: var(--ar, 374 / 305);
  width: 100%;
  margin: 0;
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: 0;
  background: var(--panel);
}

.portfolio-grid .portfolio-empty { text-align: center; width: 100%; }

@media (max-width: 900px) {
  .portfolio-grid { gap: 8px; }
  .portfolio-grid .p-col { gap: 8px; }
}

/* ============ About: vertical photo on desktop ============ */
@media (min-width: 901px) {
  .about-inner { align-items: center; }
  .about-inner .about-img { flex: 0 0 38%; max-width: 420px; align-self: center; }
  .about-inner .about-img img { height: auto; aspect-ratio: 4 / 5; object-position: center 20%; }
}

/* ============ Contact section ============ */
.contact-lead {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gray-light);
  margin: -18px 0 0;
  max-width: 480px;
}

.contact-side { display: flex; flex-direction: column; gap: 22px; flex: 1; max-width: 546px; }
.contact-side .contact-img { max-width: none; }
.contact-side .contact-img img { height: 320px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--white);
  transition: color 0.2s;
}
.contact-detail img { width: 20px; height: 20px; opacity: 0.75; flex: none; margin-top: 2px; }
a.contact-detail:hover { color: var(--gray-light); }
.contact-detail a { text-decoration: underline; text-underline-offset: 3px; }
.cd-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2px;
}

.contact-socials { display: flex; gap: 12px; padding-top: 4px; }
.contact-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.contact-socials a:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}
.contact-socials img { width: 19px; height: 19px; }

/* the added dropdown matches the underlined text fields around it */
.underline-field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  padding: 0 0 12px;
  appearance: none;
  border-radius: 0;
}
.underline-field select:focus { outline: none; border-bottom-color: var(--white); }
.underline-field select option { background: #1b1b1b; color: var(--white); }

@media (max-width: 900px) {
  .contact-side { max-width: none; }
  .contact-side .contact-img img { height: 260px; }
  .contact-lead { max-width: none; }
}

/* [hidden] has to win over the display rules set above */
.portfolio-grid[hidden],
.category-grid[hidden],
.category-back[hidden],
.category-nav[hidden],
.contact-details[hidden] { display: none !important; }

/* the submit label is wider than the original "Submit", so the pill grows with it */
.btn-submit { width: auto; min-width: 192px; padding-left: 32px; padding-right: 60px; }

/* random-order toggle in the gallery manager */
.manage-shuffle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px;
  cursor: pointer;
  font-size: 14px;
  color: var(--white);
}
.manage-shuffle input { position: absolute; opacity: 0; width: 0; height: 0; }
.manage-shuffle .box {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06) center/14px 14px no-repeat;
}
.manage-shuffle input:checked + .box {
  background-color: rgba(255, 255, 255, 0.9);
  background-image: url('../assets/img/checkbox-on.svg');
  border-color: rgba(255, 255, 255, 0.9);
}
.manage-shuffle input:focus-visible + .box { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }
.manage-shuffle-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.45; }
.manage-shuffle-sub { font-size: 13px; color: var(--gray-light); }

/* the hover heading has to sit above the photo (which the glass layer raises) */
.gallery-item .overlay { z-index: 3; }

/* ============ Testimonials ============
   Large italic quote with the client's first name underneath — no photo,
   no company, the way a printed pull-quote reads. */
.testimonial {
  background: none;
  border: none;
  border-radius: 0;
  min-height: 0;
  padding: 10px 0 0;
  text-align: center;
}

.testimonial .t-text {
  margin: 0 auto;
  max-width: 720px;
  font-size: 25px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--white);
  quotes: "\201C" "\201D";
}
.testimonial .t-text::before { content: open-quote; }
.testimonial .t-text::after { content: close-quote; }

.testimonial .t-name {
  margin: 26px 0 0;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--gray-light);
}
.testimonial .t-name::before { content: "\2014\00a0"; }

.testimonial-track { min-height: 300px; display: flex; align-items: center; }
.testimonial-track .testimonial { width: 100%; }

@media (max-width: 900px) {
  .testimonial .t-text { font-size: 20px; line-height: 1.6; }
  .testimonial-track { min-height: 340px; }
}

/* ============ Booking page ============ */
.booking-intro { max-width: 640px; }



.booking-more { margin: 4px 0 6px; }
.booking-more summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  font-size: 15px;
  color: var(--white);
}
.booking-more summary::-webkit-details-marker { display: none; }
.booking-more summary .chev { width: 18px; height: 18px; opacity: 0.7; transition: transform 0.25s; }
.booking-more[open] summary .chev { transform: rotate(180deg); }
.booking-more-inner { display: flex; flex-direction: column; gap: 24px; padding: 24px 2px 4px; }


@media (max-width: 900px) {
}

/* ============ Calls to action ============ */
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.cta-band {
  margin: 90px 0 0;
  padding: 54px 0;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%),
    var(--panel);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-band h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 26px;
  color: var(--white);
}

.cta-band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 24px; }

/* phone-only sticky booking bar, so the action is always one tap away */
.sticky-book { display: none; }
@media (max-width: 760px) {
  .sticky-book {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #1b1b1b;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  }
  body.menu-open .sticky-book { display: none; }
  .site-footer { padding-bottom: 84px; }
  .cta-band { margin-top: 60px; padding: 46px 0; }
  .cta-band h2 { font-size: 24px; margin-bottom: 20px; }
}

/* booking page heading centred, matching the intro underneath it */
.page-main .page-title { text-align: center; }

/* the three steps above the booking form */
.booking-steps {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 26px 0 34px;
  padding: 0;
}
.booking-steps li {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}
.bs-num {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #1b1b1b;
  background: rgba(255, 255, 255, 0.9);
}
.bs-text { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; color: var(--gray-light); }
.bs-text b { font-size: 15px; font-weight: 600; color: var(--white); }

@media (max-width: 900px) {
  .booking-steps { flex-direction: column; gap: 10px; margin: 20px 0 26px; }
}

/* the line under the closing heading */
.cta-band p {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-light);
}
.faq-section .cta-row { margin-top: 44px; }

/* ============ Booking wizard ============ */
.wizard-progress {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 34px;
  padding: 0;
}
.wizard-progress li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  font-size: 13px;
  color: var(--gray);
}
.wizard-progress li::before {
  content: "";
  position: absolute;
  top: 15px;
  right: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.wizard-progress li:first-child::before { display: none; }
.wp-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.wizard-progress li.is-current .wp-dot,
.wizard-progress li.is-done .wp-dot {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: #1b1b1b;
}
.wizard-progress li.is-current { color: var(--white); }
.wizard-progress li.is-done::before { background: rgba(255, 255, 255, 0.55); }

.wizard-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 4px;
  color: var(--white);
}

.wizard-step { display: flex; flex-direction: column; gap: 22px; animation: fadeUp 0.35s ease; }
.wizard-step[hidden] { display: none; }

/* session-type tiles */
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 10px 14px;
  text-align: center;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  font-size: 16px;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-1px); }
.choice:has(input:checked) {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: #1b1b1b;
  font-weight: 600;
}
.choice:has(input:focus-visible) { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }
.choice.is-invalid, .check-row.is-invalid .box { border-color: #ff8b8b; }

/* recap on the last step */
.wizard-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  margin: 0;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
}
.wizard-summary dt { color: var(--gray); }
.wizard-summary dd { margin: 0; color: var(--white); overflow-wrap: anywhere; }

.wizard-error { margin: 0; color: #ff8b8b; font-size: 14px; }
.wizard-error[hidden] { display: none; }

.wizard-nav { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.wizard-nav .btn-submit { margin-top: 0; }
.wizard-nav .btn-submit[hidden] { display: none; }
.wizard-back {
  height: 54px;
  padding: 0 26px;
  border-radius: 50px;
  font-size: 16px;
  color: var(--gray-light);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.wizard-back:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.wizard-back[hidden] { display: none; }

@media (max-width: 700px) {
  .wizard-progress { gap: 4px; margin-bottom: 26px; }
  .wp-label { font-size: 11px; }
  .wizard-progress li::before { right: calc(50% + 18px); width: calc(100% - 36px); }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .wizard-nav { flex-direction: column-reverse; align-items: stretch; }
  .wizard-back { width: 100%; }
  .wizard-nav .btn-submit { width: 100%; justify-content: center; padding-right: 60px; }
}

/* ============ Seasonal event cards ============ */
.events { padding: 30px 0 70px; }
.events-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.events-head .section-title { margin: 0; }
.events-arrows { display: flex; gap: 12px; }
.events-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: opacity 0.2s, background 0.2s;
}
.events-arrows button:hover { background: rgba(255, 255, 255, 0.18); }
.events-arrows button:disabled { opacity: 0.3; cursor: default; }
.events-arrows img { width: 20px; height: 20px; }

/* the row lines up with the page container, then runs off the right edge */
.events-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(24px, calc((100vw - 1110px) / 2));
  padding: 6px max(24px, calc((100vw - 1110px) / 2)) 22px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.events-track::-webkit-scrollbar { display: none; }

.event-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 100%),
    var(--panel);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.event-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.34); }

/* the minis card is the headline offer — warmer frame */
.event-card.is-minis {
  border-color: rgba(240, 150, 70, 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(240, 150, 70, 0.18);
}

.event-media { position: relative; aspect-ratio: 4 / 4.2; background: #111; overflow: hidden; }
.event-photo { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s; }

.event-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1b1b1b;
  background: rgba(255, 255, 255, 0.92);
}
.event-card.is-minis .event-badge { background: #f0964a; color: #1b1b1b; }

.event-thumbs {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
}
.event-thumb {
  flex: 1 1 0;
  max-width: 62px;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: #222;
  opacity: 0.8;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}
.event-thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-thumb:hover { opacity: 1; transform: translateY(-2px); }
.event-thumb.is-active { opacity: 1; border-color: #fff; }

.event-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.event-when {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0b27a;
}
.event-title { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.25; color: var(--white); }
.event-where { margin: 0; font-size: 15px; color: var(--gray-light); }

.event-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.ep-from { font-size: 15px; color: var(--gray-light); }
.ep-amount { font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--white); }
.ep-note { font-size: 14px; color: var(--gray-light); }

.event-highlights { list-style: none; margin: 4px 0 18px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.event-highlights li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--white); }
.event-highlights li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f0964a;
}
.event-book { margin-top: auto; align-self: flex-start; }

@media (max-width: 700px) {
  .events { padding: 10px 0 50px; }
  .events-arrows { display: none; }
  .event-card { flex-basis: 84vw; }
  .ep-amount { font-size: 42px; }
  .events-track { gap: 14px; scroll-padding-left: 16px; padding-left: 16px; padding-right: 16px; }
}

/* ============ Event booking ============ */
.event-booking[hidden], #general-booking[hidden], .booking-intro[hidden] { display: none; }

.eb-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(240, 150, 70, 0.35);
  background: rgba(240, 150, 70, 0.07);
}
.eb-photo { width: 92px; height: 92px; flex: none; border-radius: 12px; object-fit: cover; }
.eb-meta { display: flex; flex-direction: column; gap: 4px; }
.eb-meta p { margin: 0; }
.eb-when { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #f0b27a; }
.eb-where { font-size: 16px; color: var(--white); }
.eb-note { font-size: 13px; line-height: 1.5; color: var(--gray-light); }

/* packages */
.pkg-list { display: flex; flex-direction: column; gap: 12px; }
.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  cursor: pointer;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.pkg input { position: absolute; opacity: 0; width: 0; height: 0; }
.pkg:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-1px); }
.pkg.is-popular { border-color: rgba(240, 150, 70, 0.6); }
.pkg:has(input:checked) { border-color: #fff; background: rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 1px #fff inset; }
.pkg:has(input:focus-visible) { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }
.pkg-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pkg-name { font-size: 18px; font-weight: 600; color: var(--white); }
.pkg-price { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; color: var(--white); }
.pkg-includes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pkg-includes li { font-size: 14px; color: var(--gray-light); }
.pkg-includes li::before { content: "✓ "; color: #f0b27a; }
.pkg-flag {
  position: absolute;
  top: -10px;
  right: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1b1b1b;
  background: #f0964a;
}
.pkg.is-invalid { border-color: #ff8b8b; }

.eb-days { grid-template-columns: 1fr; }
.eb-days .choice { justify-content: flex-start; text-align: left; }
.field select:disabled { opacity: 0.5; }

/* add-ons */
.addon-list { display: flex; flex-direction: column; gap: 10px; }
.addon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s;
}
.addon input { position: absolute; opacity: 0; width: 0; height: 0; }
.addon-box {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: center/14px 14px no-repeat;
}
.addon-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.addon-text b { font-size: 16px; font-weight: 600; color: var(--white); }
.addon-text small { font-size: 13px; color: var(--gray-light); }
.addon-price { font-size: 17px; font-weight: 600; color: var(--white); white-space: nowrap; }
.addon:hover { border-color: rgba(255, 255, 255, 0.35); }
.addon:has(input:checked) { border-color: rgba(240, 150, 70, 0.8); background: rgba(240, 150, 70, 0.1); }
.addon:has(input:checked) .addon-box {
  background-color: #f0964a;
  border-color: #f0964a;
  background-image: url('../assets/img/checkbox-on.svg');
}
.addon:has(input:focus-visible) { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }

/* running total */
.eb-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0 0;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.eb-total-label { font-size: 15px; color: var(--gray-light); margin-right: auto; }
.eb-total-amount { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; color: var(--white); }
.eb-total-note { font-size: 13px; color: var(--gray-light); }
.wizard-summary .ws-total { font-weight: 700; font-size: 17px; }

@media (max-width: 700px) {
  .eb-photo { width: 72px; height: 72px; }
  .pkg-price { font-size: 24px; }
  .eb-total-amount { font-size: 26px; }
}

/* the Book now on event cards is the loudest button on the page */
.event-book.btn-pill {
  background: rgba(255, 255, 255, 0.94);
  color: #1b1b1b;
  border-color: rgba(255, 255, 255, 0.94);
}
.event-book.btn-pill .btn-circle { background: #1b1b1b; }
.event-book.btn-pill .btn-circle img { filter: invert(1); }
.event-card.is-minis .event-book.btn-pill { background: #f0964a; border-color: #f0964a; }
.eb-total[hidden] { display: none; }

/* ============ Gallery tiles: grey → blurred preview → sharp ============
   1. every tile starts as a plain soft-grey rectangle in the photo's shape,
      so the layout is there instantly;
   2. the tiny blurred preview fades in over it;
   3. the real photo fades in while it un-blurs. */
.portfolio-grid .p-item { background: rgba(255, 255, 255, 0.07); }

.portfolio-grid .p-item.has-blur::before { opacity: 0; transition: opacity 0.35s ease; }
.portfolio-grid .p-item.has-blur.has-preview::before { opacity: 1; }
.portfolio-grid .p-item.has-blur.is-loaded::before { opacity: 0; transition: opacity 0.6s ease 0.1s; }

/* no moving sheen on the grey stage — just calm placeholders */
.portfolio-grid .p-item.has-blur::after { opacity: 0; animation: none; }
.portfolio-grid .p-item.has-blur.has-preview::after { opacity: 0.6; }
.portfolio-grid .p-item.has-blur.is-loaded::after { opacity: 0; }

.portfolio-grid .p-item > img,
.portfolio-grid .p-item.has-blur > img {
  opacity: 0;
  filter: blur(14px);
  transform: scale(1.04);
  transition: opacity 0.5s ease, filter 0.55s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.portfolio-grid .p-item.is-loaded > img,
.portfolio-grid .p-item.has-blur.is-loaded > img {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}
.portfolio-grid .p-item.is-loaded:hover > img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .portfolio-grid .p-item > img,
  .portfolio-grid .p-item.has-blur > img { filter: none; transform: none; transition: opacity 0.2s; }
}

/* ============ No hairline at the tile edges ============
   While a tile moves (scroll-reveal, hover zoom) the browser can round the
   photo's edge a fraction of a pixel inside the tile, letting the grey
   placeholder behind it show as a thin line along the top. The photo now
   overhangs the tile by a pixel on every side (clipped by the rounded
   corners), and once it has loaded the placeholder layers are dropped
   altogether, so there is nothing left behind it to show. */
.portfolio-grid .p-item > img,
.gallery-grid .gallery-item > img {
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  margin: -1px;
  max-width: none;
}
.portfolio-grid .p-item,
.gallery-grid .gallery-item {
  -webkit-mask-image: -webkit-radial-gradient(white, black);   /* keeps corner clipping crisp in Safari */
  isolation: isolate;
}
.portfolio-grid .p-item.is-settled,
.gallery-grid .gallery-item.is-settled { background: transparent; }
.has-blur.is-settled::before,
.has-blur.is-settled::after { display: none; }

/* first-ever visit: reserve the grid's space for the brief moment before the
   photo list arrives, so the footer doesn't jump up and back down */
.portfolio-grid.is-waiting { min-height: 70vh; }

/* ============ Smooth page changes ============
   Moving between pages cross-fades instead of flashing (Chrome, Edge and
   Safari 18+; other browsers simply change page as before). The header is
   the same on every page, so it stays perfectly still during the fade. */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.28s; animation-timing-function: ease; }
.site-header { view-transition-name: site-header; }
::view-transition-group(site-header) { animation-duration: 0s; }

/* coming back to the home page shouldn't replay the hero's entrance */
.kp-return .hero > * { animation: none; }

/* Sections that are filled in by script keep their final size from the first
   frame, so nothing below them jumps when they appear. */
.events-track:empty { min-height: 780px; }
#category-grid:empty:not([hidden]) { min-height: 660px; }

@media (max-width: 700px) {
  .events-track:empty { min-height: 690px; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* gallery.html: the footer and closing band wait until the grid is laid out,
   then fade in where they belong (a safety timer shows them regardless) */
.kp-wait .cta-band,
.kp-wait .site-footer { opacity: 0; animation: kpShow 0.3s ease 1.5s forwards; }
.cta-band, .site-footer { transition: opacity 0.3s ease; }
@keyframes kpShow { to { opacity: 1; } }

/* contact photo: keep her face in frame at every size */
.contact-img img[src*="contact-nastya"] { object-position: 45% 16%; }

/* home page: the "Gallery" heading sits a little lower under the hero */
.gallery .section-title { margin-top: 64px; }
@media (max-width: 700px) { .gallery .section-title { margin-top: 40px; } }

/* wedding cover: show more of the lower part of the photo, so the couple
   sits in the middle of the card rather than low in it */
.gallery-item[data-cat="wedding"] img { object-position: center 72%; }

/* ============ Booking: day picker, people, totals ============ */
.visually-hidden-input {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  border: 0; opacity: 0;
}

.cal-picker {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-title { font-size: 16px; font-weight: 600; color: var(--white); }
.cal-nav {
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 20px; line-height: 1;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.cal-nav:disabled { opacity: 0.25; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-wd { text-align: center; font-size: 12px; color: var(--gray); padding-bottom: 4px; }
.cal-day {
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  border-radius: 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.cal-day b { font-size: 15px; font-weight: 600; }
.cal-day small { font-size: 10px; color: #f0b27a; }
.cal-day:not(:disabled):hover { border-color: rgba(255, 255, 255, 0.5); transform: translateY(-1px); }
.cal-day.is-off { background: transparent; border-color: transparent; color: rgba(255, 255, 255, 0.22); cursor: default; }
.cal-day.is-off b { font-weight: 400; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.15); }
.cal-day.is-picked { background: rgba(255, 255, 255, 0.92); border-color: #fff; color: #1b1b1b; }
.cal-day.is-picked small { color: #8a4b12; }

.choice.is-disabled { opacity: 0.4; cursor: not-allowed; }
.choice.is-disabled:hover { transform: none; border-color: rgba(255, 255, 255, 0.16); }

.eb-breakdown { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.eb-breakdown:empty { display: none; }
.eb-breakdown div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--gray-light); }

.event-entry { margin: -8px 0 16px; font-size: 13px; line-height: 1.5; color: #f0b27a; }

/* ============ Admin: tabs + availability ============ */
.admin-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 0 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}
.admin-tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-light);
  transition: background 0.2s, color 0.2s;
}
.admin-tab.is-active { background: rgba(255, 255, 255, 0.92); color: #1b1b1b; }
.admin-panel[hidden] { display: none !important; }
.admin-panel { display: flex; flex-direction: column; gap: 24px; }

.av-google-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.av-g-logo { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); }
.av-g-text { flex: 1; min-width: 220px; }
.av-g-text h2 { margin: 0 0 4px; }
.av-g-text .admin-muted { margin: 0; }
.av-g-connect { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.av-g-connect[hidden], .av-g-disconnect[hidden], .av-toggle[hidden] { display: none !important; }
.av-toggle { margin: 18px 0 0; }

.av-week { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.av-wd {
  min-width: 64px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-light);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: background 0.2s, color 0.2s;
}
.av-wd.is-open { color: #1b1b1b; background: rgba(255, 255, 255, 0.92); border-color: transparent; text-decoration: none; }
.av-hours { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 15px; color: var(--white); }
.av-hours input { margin-left: 6px; height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); background: var(--input-bg); color: var(--white); font-family: inherit; font-size: 15px; }
.av-hours-note { flex-basis: 100%; margin: 0; font-size: 13px; }

.av-cal-head { display: flex; align-items: center; justify-content: space-between; }
.av-cal-head h2 { margin: 0; }
.av-hint { margin: 6px 0 14px; }
.av-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.av-wdh { text-align: center; font-size: 12px; color: var(--gray); }
.av-day {
  position: relative;
  aspect-ratio: 1.15;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(120, 200, 140, 0.16);
  transition: transform 0.15s, background 0.15s;
}
.av-day b { font-size: 16px; }
.av-day small { font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.85; min-height: 12px; }
.av-day:not(:disabled):hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.45); }
.av-day.is-closed { background: rgba(255, 255, 255, 0.03); color: rgba(255, 255, 255, 0.45); }
.av-day.is-busy { background: repeating-linear-gradient(135deg, rgba(240,150,70,0.28) 0 6px, rgba(240,150,70,0.12) 6px 12px); }
.av-day.is-partly { background: linear-gradient(180deg, rgba(120,200,140,0.16) 55%, rgba(240,150,70,0.3) 55%); }
.av-day.is-custom::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.av-day.is-today { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7) inset; }
.av-day.is-past { opacity: 0.3; cursor: default; }
.av-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 6px; font-size: 13px; color: var(--gray-light); }
.av-legend .lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; border: 1px solid rgba(255,255,255,0.2); }
.lg-open { background: rgba(120, 200, 140, 0.35); }
.lg-closed { background: rgba(255, 255, 255, 0.05); }
.lg-busy { background: rgba(240, 150, 70, 0.45); }
.lg-partly { background: linear-gradient(180deg, rgba(120,200,140,0.35) 55%, rgba(240,150,70,0.5) 55%); }

@media (max-width: 700px) {
  .av-grid { gap: 5px; }
  .av-day { aspect-ratio: 0.9; border-radius: 9px; }
  .av-day small { font-size: 8px; }
  .av-wd { min-width: 0; flex: 1 1 calc(25% - 8px); }
}
