/* ============================================================
   style.css — Wayne Holder Photography
   ============================================================ */

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

:root {
  --cream:    #f5f0eb;
  --charcoal: #1a1a1a;
  --warm-grey:#888480;
  --gold:     #c9a96e;
  --white:    #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--charcoal);
  color: var(--white);
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 2rem;
  background: linear-gradient(to bottom, rgba(26,26,26,0.85) 0%, transparent 100%);
  backdrop-filter: blur(2px);
  transition: background 0.4s;
}
nav.scrolled { background: rgba(26,26,26,0.95); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all 0.35s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26,26,26,0.98);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s;
  padding: 0.3rem 0;
}
.mobile-menu a:hover, .mobile-menu a:active { color: var(--gold); }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

#heroSlides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  animation: subtleZoom 10s ease-in-out infinite alternate;
}
.hero-slide.active { opacity: 1; }

@keyframes subtleZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(26,26,26,0.9) 0%,
    rgba(26,26,26,0.25) 50%,
    rgba(26,26,26,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem 4rem;
  max-width: 680px;
  width: 100%;
  animation: fadeUp 1.2s 0.3s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-label {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2.2rem;
  min-height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.hero-cta:hover, .hero-cta:active { background: var(--gold); color: var(--charcoal); }

.scroll-hint {
  position: absolute;
  bottom: 1.5rem; right: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-line {
  width: 1px; height: 36px;
  background: var(--gold);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ── SECTION BASE ─────────────────────────────────────────── */
section { padding: 6rem 1.5rem; }

.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.section-body {
  font-size: 0.8rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
}

/* ── PORTFOLIO ────────────────────────────────────────────── */
#portfolio { background: #111; padding: 6rem 0; }

.portfolio-header { padding: 0 1.5rem; margin-bottom: 2.5rem; }

.portfolio-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.filter-btn {
  padding: 0.5rem 1.1rem;
  min-height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  background: none;
  color: rgba(255,255,255,0.5);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── PORTFOLIO GRID ── */
.portfolio-grid {
  display: grid;
  gap: 5px;
  padding: 0 5px;
}

/* Desktop: editorial 12-column layout */
@media (min-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 280px;
  }

  /* Top section: large hero left + stacked portrait + stacked landscape */
  .grid-item:nth-child(1) { grid-column: 1 / 8;  grid-row: 1 / 3; }
  .grid-item:nth-child(2) { grid-column: 8 / 10; grid-row: 1; }
  .grid-item:nth-child(3) { grid-column: 8 / 10; grid-row: 2; }
  .grid-item:nth-child(4) { grid-column: 10 / 13; grid-row: 1; }
  .grid-item:nth-child(5) { grid-column: 10 / 13; grid-row: 2; }

  /* Bottom row: 4 equal images */
  .grid-item:nth-child(6)  { grid-column: 1 / 4;  grid-row: 3; }
  .grid-item:nth-child(7)  { grid-column: 4 / 7;  grid-row: 3; }
  .grid-item:nth-child(8)  { grid-column: 7 / 10; grid-row: 3; }
  .grid-item:nth-child(9)  { grid-column: 10 / 13; grid-row: 3; }

  /* Filtered: drop back to simple 3-column auto grid */
  .portfolio-grid.filtered {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-grid.filtered .grid-item {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* Tablet: 3-column mosaic */
@media (min-width: 768px) and (max-width: 899px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr 1fr; }
  .grid-item { grid-column: span 1 !important; grid-row: span 1 !important; aspect-ratio: 4/3; }
  .grid-item:nth-child(1) { grid-column: span 3 !important; aspect-ratio: 16/7; }
  .grid-item:nth-child(2),
  .grid-item:nth-child(3) { aspect-ratio: 2/3; }
  .grid-item:nth-child(7),
  .grid-item:nth-child(8) { aspect-ratio: 2/3; }

  /* Filtered: equal 4/3 grid, no special nth-child shapes */
  .portfolio-grid.filtered .grid-item {
    grid-column: span 1 !important;
    aspect-ratio: 4/3 !important;
  }
}

/* Mobile: single column, show first 3 only */
@media (max-width: 767px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .grid-item { grid-column: span 1 !important; grid-row: span 1 !important; aspect-ratio: 4/3; }
  .grid-item:nth-child(1) { aspect-ratio: 16/9; }
  .grid-item:nth-child(2),
  .grid-item:nth-child(3) { aspect-ratio: 3/4; }
  .grid-item:nth-child(n+4) { display: none !important; }

  /* Filtered: show all matching, equal 4/3 */
  .portfolio-grid.filtered .grid-item {
    aspect-ratio: 4/3 !important;
    display: block !important;
  }
  .portfolio-grid.filtered .grid-item[style*="display: none"] {
    display: none !important;
  }
}

.grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #222;
}
.grid-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.88);
}
.grid-item:hover img { transform: scale(1.05); filter: brightness(1); }

.grid-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.grid-item:hover .grid-caption { opacity: 1; }
@media (hover: none) { .grid-caption { opacity: 1; } }

.grid-caption h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: #fff;
}

.tap-hint {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(201,169,110,0.55);
  color: var(--gold);
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  display: none;
  pointer-events: none;
}
@media (hover: none) { .tap-hint { display: block; } }

/* ── VIEW ALL BUTTON ─────────────────────────────────────── */
.portfolio-view-all {
  display: flex;
  justify-content: center;
  padding: 2.5rem 1.5rem 0;
}
.view-all-btn {
  padding: 0.9rem 2.8rem;
  min-height: 44px;
  border: 1px solid var(--gold);
  background: none;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.view-all-btn:hover, .view-all-btn:active { background: var(--gold); color: var(--charcoal); }

/* ── ABOUT ────────────────────────────────────────────────── */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}
.about-image {
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--cream);
  padding: 2rem 3rem;
}
.about-image img {
  width: 100%;
  max-width: 380px;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.9) sepia(0.08);
  display: block;
  margin: 0 auto;
}
.about-text {
  background: var(--cream);
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
}
.about-text .section-label { color: var(--gold); }
.about-text .section-title { color: var(--charcoal); }
.about-text .section-body  { color: rgba(26,26,26,0.65); }

.about-signature {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 300;
  margin-top: 2rem;
  color: var(--charcoal);
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
#testimonials { background: var(--charcoal); text-align: center; }

.testimonials-wrap { max-width: 700px; margin: 0 auto; }

.testimonial { display: none; flex-direction: column; align-items: center; }
.testimonial.active { display: flex; }

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.testimonial blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}
.testimonial cite {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}
.testimonial-dots { display: flex; justify-content: center; gap: 0.7rem; margin-top: 2.5rem; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active { background: var(--gold); }

/* ── PRICING ──────────────────────────────────────────────── */
#pricing { background: #0e0e0e; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5px;
  margin-top: 3rem;
  background: rgba(255,255,255,0.05);
}
.pricing-card {
  background: #0e0e0e;
  padding: 2.5rem 2rem;
  border-top: 2px solid transparent;
  transition: border-color 0.3s;
}
.pricing-card:hover, .pricing-card.featured { border-color: var(--gold); }
.pricing-card.featured { background: #141414; }

.pkg-name {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.pkg-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.pkg-price sup { font-size: 1.4rem; }
.pkg-sub { font-size: 0.62rem; color: var(--warm-grey); margin-bottom: 1.8rem; }

.pkg-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2.2rem;
}
.pkg-features li {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.55);
  padding-left: 1.2rem;
  position: relative;
}
.pkg-features li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }

.pkg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  background: none;
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s;
}
.pkg-btn:hover, .pkg-btn:active { background: var(--gold); color: var(--charcoal); }

/* ── CONTACT ──────────────────────────────────────────────── */
#contact {
  background: center/cover no-repeat fixed;
  position: relative;
  padding: 9rem 1.5rem;
}
#contact::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(10,10,10,0.82);
}
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner .section-body { margin: 0 auto 2.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-bottom-color: var(--gold);
  color: var(--white);
  padding: 1rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  width: 100%;
  min-height: 44px;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-input:focus { background: rgba(255,255,255,0.08); border-color: var(--gold); }
.form-input::placeholder { color: rgba(255,255,255,0.3); }
textarea.form-input { min-height: 130px; resize: vertical; }

.form-submit {
  padding: 1rem;
  min-height: 50px;
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s;
  border-radius: 0;
  width: 100%;
}
.form-submit:hover, .form-submit:active { opacity: 0.85; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: #080808;
  padding: 2.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: 0.58rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.28); }

.footer-social { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-social a {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.3s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-social a:hover, .footer-social a:active { color: var(--gold); }

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s, transform 0.75s; }
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
   Desktop/Tablet : cover (full-frame)
   Mobile         : contain (letterbox) + rotate button to fill
═══════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lb-img-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.lb-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.3s;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.lb-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 20%, transparent 72%, rgba(0,0,0,0.65) 100%),
    linear-gradient(to right, rgba(0,0,0,0.25) 0%, transparent 10%, transparent 90%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
  z-index: 1;
}

.lb-topbar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
  z-index: 10;
}
.lb-counter {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 5px rgba(0,0,0,0.9);
}
.lb-topbar-right { display: flex; align-items: center; gap: 0.5rem; }

.lb-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  backdrop-filter: blur(4px);
}
.lb-btn:hover, .lb-btn:active { color: var(--gold); border-color: var(--gold); background: rgba(0,0,0,0.65); }

.lb-rotate-btn { display: none; }

.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  user-select: none;
  backdrop-filter: blur(4px);
}
.lb-arrow:hover, .lb-arrow:active { color: var(--gold); border-color: var(--gold); background: rgba(0,0,0,0.6); }
.lb-prev { left: 1.2rem; }
.lb-next { right: 1.2rem; }

.lb-bottombar {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.8rem 1.5rem 1rem;
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.lb-thumbs { display: flex; gap: 5px; align-items: center; }
.lb-thumb {
  width: 52px; height: 36px;
  object-fit: cover;
  opacity: 0.45;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
.lb-thumb.active { opacity: 1; border-color: var(--gold); }
.lb-thumb:hover  { opacity: 0.8; }

.lb-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 8px rgba(0,0,0,1);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .lb-rotate-btn { display: flex; }
  .lb-img-wrap img { object-fit: contain; }
  .lb-img-wrap::after { display: none; }
  .lightbox.lb-fill .lb-img-wrap img { object-fit: cover; }
  .lightbox.lb-fill .lb-img-wrap::after { display: block; }
  .lb-rotate-btn svg { transition: transform 0.4s ease; }
  .lightbox.lb-fill .lb-rotate-btn svg { transform: rotate(180deg); }
  .lb-arrow { width: 40px; height: 40px; font-size: 1.1rem; }
  .lb-prev  { left: 0.4rem; }
  .lb-next  { right: 0.4rem; }
  .lb-thumb { width: 38px; height: 26px; }
}

@media (max-width: 899px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  #about { grid-template-columns: 1fr; }
  .about-image { padding: 3rem 2rem; }
  .about-text { padding: 3rem 2rem; }
  section { padding: 5rem 1.5rem; }
  #portfolio { padding: 5rem 0; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  nav { padding: 1rem 1.2rem; }
  .hero-content { padding: 0 1.2rem 3rem; }
  .about-image { padding: 2.5rem 1.5rem; }
  .about-text { padding: 2.5rem 1.5rem; }
  .about-signature { font-size: 1.7rem; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 4rem 1.2rem; }
  #portfolio { padding: 4rem 0; }
  #contact { padding: 5rem 1.2rem; }
  .scroll-hint { display: none; }
  footer { padding: 2rem 1.2rem; }
}
