/* ============================================
   WOLVERINE0X1A — Minimal Portfolio
   ============================================ */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --text: #1a1a1a;
  --text-light: #666;
  --text-muted: #999;
  --bg: #fff;
  --bg-off: #fafafa;
  --border: #eee;
  --max-w: 1400px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }
a:hover { opacity: 0.6; }
img { display: block; max-width: 100%; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-center {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-center a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
  transition: color 0.2s;
}

.nav-center a:hover, .nav-center a.active {
  color: var(--text);
  opacity: 1;
}

.nav-social {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-social a {
  display: flex;
  align-items: center;
  color: var(--text);
}

.nav-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.3s; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-center {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    padding: 1.5rem 2.5rem;
    gap: 1rem;
  }
  .nav-center.open { display: flex; }
  .nav-social { display: none; }
}

/* ---- GALLERY GRID (masonry columns, original ratios) ---- */
.gallery-home {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.5rem 2rem 2rem;
  columns: 4;
  column-gap: 6px;
}

.gallery-home .gallery-item {
  break-inside: avoid;
  margin-bottom: 6px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-home .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-home .gallery-item:hover img {
  transform: scale(1.02);
  opacity: 0.92;
}

@media (max-width: 1024px) {
  .gallery-home { columns: 3; }
}

@media (max-width: 768px) {
  .gallery-home { columns: 2; padding-top: 5rem; }
}

@media (max-width: 480px) {
  .gallery-home { columns: 1; }
}

/* ---- PORTFOLIO GALLERY ---- */
.gallery-portfolio {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.gallery-portfolio .gallery-item {
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-portfolio .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-portfolio .gallery-item:hover img {
  transform: scale(1.02);
  opacity: 0.92;
}

.gallery-film {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.gallery-film .gallery-item {
  overflow: hidden;
  cursor: pointer;
}

.gallery-film .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-film .gallery-item:hover img {
  transform: scale(1.02);
  opacity: 0.92;
}

@media (max-width: 1024px) {
  .gallery-portfolio { grid-template-columns: repeat(3, 1fr); }
  .gallery-film { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .gallery-portfolio { grid-template-columns: repeat(2, 1fr); }
  .gallery-film { grid-template-columns: repeat(2, 1fr); }
}

/* ---- SECTIONS ---- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-full {
  padding: 5rem 2rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 500px;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* ---- OLD GALLERY (kept for services) ---- */
.gallery {
  display: grid;
  gap: 1rem;
}

.gallery-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .gallery-2 { grid-template-columns: 1fr; }
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.service-card {
  border-top: 2px solid var(--text);
  padding-top: 1.5rem;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.1rem;
  font-weight: 500;
}

.service-price span {
  font-weight: 300;
  color: var(--text-light);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-list li {
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 0.3rem 0;
}

.service-list li::before {
  content: "—  ";
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-links {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
}

.about-links a {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-detail a, .contact-detail p {
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}

form { display: flex; flex-direction: column; gap: 1.25rem; }

form label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

form input, form textarea, form select {
  width: 100%;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
}

form input:focus, form textarea:focus, form select:focus {
  border-bottom-color: var(--text);
}

form textarea { resize: vertical; min-height: 100px; }

.btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: var(--text);
  color: #fff;
  font-family: var(--font);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.btn:hover { opacity: 0.8; color: #fff; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--bg-off);
  text-align: center;
  padding: 4rem 2rem;
}

.cta-band h3 {
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ---- LIGHTBOX ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  justify-content: center;
  align-items: center;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 80vw;
  max-height: 88vh;
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  z-index: 210;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 2rem;
  padding: 1rem;
  z-index: 210;
  opacity: 0.4;
  transition: opacity 0.2s;
  font-family: var(--font);
  font-weight: 300;
}

.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

@media (max-width: 768px) {
  .lightbox img { max-width: 92vw; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* ---- PAGE HEADER ---- */
.page-header {
  padding-top: 6.5rem;
  padding-bottom: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 300;
}

.page-header p {
  color: var(--text-light);
  margin-top: 0.5rem;
  max-width: 500px;
}

/* ---- DIVIDER ---- */
.divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.divider hr {
  border: none;
  border-top: 1px solid var(--border);
}

/* ---- HOME TAGLINE ---- */
.home-tagline {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 2rem 1rem;
}

.home-tagline h1 {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- UTILITY ---- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
