/* ============================================================
   style.css — Shot by Wayne · shotbywayne.uk
   ============================================================ */

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

:root {
  --black:  #000000;
  --dark:   #0a0a0a;
  --mid:    #141414;
  --dim:    #1e1e1e;
  --grey:   #888888;
  --light:  #cccccc;
  --white:  #ffffff;
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── NAV ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 2.2rem;
  transition: background 0.4s, backdrop-filter 0.4s;
}
#navbar.scrolled {
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-logo {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }

/* ── 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: 20px; height: 1px;
  background: var(--white);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--white); }
.menu-social {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}
.menu-social a {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.25);
}
.menu-social a:hover { color: rgba(255,255,255,0.6); }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}

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

/* 100% width, height auto = full width, no side cropping */
.hero-slide {
  position: absolute; inset: 0;
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.18);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.hero-sub {
  font-size: 0.52rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.hero-title em { font-style: italic; }

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem;
  opacity: 0.3;
  transition: opacity 0.3s;
}
.hero-scroll:hover { opacity: 0.6; }
.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: var(--white);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform-origin: top; transform: scaleY(0.3); opacity: 0.3; }
  50%      { transform-origin: top; transform: scaleY(1);   opacity: 1; }
}

/* ── FILTER BAR ─────────────────────────────────────────── */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 2.4rem 1rem 2rem;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.filter-btn {
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  color: rgba(255,255,255,0.35);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem 1.8rem;
  transition: color 0.3s, border-color 0.3s;
  min-height: 44px;
}
.filter-btn:hover { color: rgba(255,255,255,0.7); }
.filter-btn.active {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.5);
}

/* ── GALLERY — masonry columns, no cropping ─────────────── */
#work { padding: 0; background: var(--black); }

.gallery-grid {
  columns: 2;
  column-gap: 3px;
  padding: 3px;
  background: var(--black);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 3px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dim);
  display: block;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.6s ease, transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: brightness(0.82);
}
.gallery-item:hover img {
  filter: brightness(0.97);
  transform: scale(1.02);
}

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1.2rem 1.1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
/* Always visible on touch devices and mobile */
@media (hover: none), (max-width: 899px) { .gallery-caption { opacity: 1; } }

.gallery-caption span {
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

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

/* ── ABOUT ────────────────────────────────────────────────── */
#about { background: var(--dark); padding: 0; }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-img-wrap {
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 700px;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.85);
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem;
  background: var(--mid);
}

.about-eyebrow {
  font-size: 0.53rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 1.2rem;
  display: block;
}

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  color: var(--white);
}
.about-heading em { font-style: italic; color: var(--light); }

.about-body {
  font-size: 0.79rem;
  line-height: 2;
  color: rgba(255,255,255,0.42);
  margin-bottom: 1rem;
  max-width: 440px;
}

.about-sig {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  margin: 2rem 0 1.8rem;
}

.about-links { display: flex; gap: 2rem; }
.about-links a {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.about-links a:hover { color: var(--white); border-color: rgba(255,255,255,0.45); }

/* ── CONTACT ──────────────────────────────────────────────── */
#contact {
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 9rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
#contact::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.contact-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 3.5rem;
  color: var(--white);
}
.contact-heading em { font-style: italic; color: var(--light); }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  transition: color 0.3s;
  min-height: 44px;
}
.contact-item:hover { color: var(--white); }
.contact-item svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  stroke: rgba(255,255,255,0.35);
  fill: none;
  transition: stroke 0.3s;
}
.contact-item svg[fill="currentColor"] {
  fill: rgba(255,255,255,0.35);
  stroke: none;
  transition: fill 0.3s;
}
.contact-item:hover svg { stroke: var(--white); }
.contact-item:hover svg[fill="currentColor"] { fill: var(--white); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.footer-copy {
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.18);
}
.footer-ig {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-ig:hover { color: var(--white); }

/* ══════════════════════════════════════════════════════════
   FULLSCREEN GALLERY
══════════════════════════════════════════════════════════ */
.fs-gallery {
  position: fixed; inset: 0;
  z-index: 999;
  background: #000;
  display: none;
  flex-direction: column;
}
.fs-gallery.open { display: flex; }

.fs-img-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fs-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  transition: opacity 0.25s ease;
  user-select: none;
}

.fs-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  z-index: 10;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  border-radius: 50%;
}
.fs-close:hover { background: rgba(255,255,255,0.18); color: var(--white); }

.fs-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  user-select: none;
}
.fs-arrow:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.fs-prev { left: 1.2rem; }
.fs-next { right: 1.2rem; }

.fs-bottom {
  flex-shrink: 0;
  background: rgba(0,0,0,0.9);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.fs-thumbs {
  display: flex;
  gap: 3px;
  padding: 0.7rem 1rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
/* Thumbnail strip — contain so full image visible */
.fs-thumb {
  width: 60px; height: 44px;
  object-fit: contain;
  background: #111;
  flex-shrink: 0;
  opacity: 0.35;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.3s, border-color 0.3s;
}
.fs-thumb:hover { opacity: 0.65; }
.fs-thumb.active { opacity: 1; border-color: rgba(255,255,255,0.45); }

.fs-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1rem 0.7rem;
}
.fs-caption {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.fs-counter {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.22);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 899px) {
  #navbar { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .gallery-grid { columns: 2; }

  .about-split { grid-template-columns: 1fr; }
  .about-img-wrap { aspect-ratio: 4/3; max-height: none; }
  .about-text { padding: 4rem 2.5rem; }

  footer { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
  .hero-title { font-size: clamp(1.4rem, 6vw, 2.5rem); }

  .gallery-grid { columns: 1; }
  .gallery-caption { opacity: 1; }

  .filter-bar { gap: 0; }
  .filter-btn { padding: 0.5rem 1rem; font-size: 0.55rem; }

  .about-text { padding: 3rem 1.5rem; }
  #contact { padding: 6rem 1.5rem; }

  footer { padding: 1.8rem 1.2rem; }

  .fs-arrow { width: 40px; height: 40px; font-size: 1rem; }
  .fs-prev { left: 0.4rem; }
  .fs-next { right: 0.4rem; }
  .fs-thumb { width: 44px; height: 32px; }
}
