/* ============================================================
   BIG FISH PHOTOS — shared stylesheet
   Bold, dark editorial theme
   ============================================================ */

:root {
  --bg:        #0a0b0d;
  --bg-soft:   #121419;
  --bg-card:   #15181f;
  --line:      #23272f;
  --text:      #f4f5f7;
  --muted:     #9aa1ad;
  --accent:    #34d3c4;
  --accent-dk: #1fae9f;
  --maxw:      1200px;
  --serif:     "Playfair Display", Georgia, serif;
  --sans:      "Inter", "Helvetica Neue", Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,700;1,500&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--sans);
  font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,11,13,0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo-mark { width: 46px; height: 46px; flex: none; display: block; border-radius: 10px; }
.footer-logo { width: 46px; height: 46px; border-radius: 10px; margin-bottom: 14px; }
.brand .name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: .5px; line-height: 1; }
.brand .name small { display: block; font-family: var(--sans); font-weight: 400; font-size: .58rem; letter-spacing: .32em; color: var(--accent); text-transform: uppercase; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.btn { display: inline-block; font-family: var(--sans); cursor: pointer; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 12px 24px; border-radius: 2px; border: 1px solid var(--accent); color: var(--accent); background: transparent; transition: background .2s, color .2s, border-color .2s, transform .15s ease; }
.btn:hover { background: var(--accent); color: #06201d; transform: translateY(-2px); }
.btn-solid { background: var(--accent); color: #06201d; }
.btn-solid:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; background: linear-gradient(180deg, rgba(10,11,13,.35), rgba(10,11,13,.92)), url('https://picsum.photos/seed/bigfishhero/1800/1100') center/cover; }
.hero-inner { max-width: 760px; }
.eyebrow { font-size: .78rem; letter-spacing: .34em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 22px; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.7rem); line-height: 1.04; letter-spacing: -.5px; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero p { color: var(--muted); font-size: 1.1rem; margin: 26px 0 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Specialties / gallery grid ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; background: var(--bg-card); border: 1px solid var(--line); transition: transform .35s ease, box-shadow .35s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(0,0,0,.5); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s; filter: grayscale(18%) brightness(.82); }
.tile:hover img { transform: scale(1.06); filter: grayscale(0) brightness(.95); }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 26px 22px 22px; background: linear-gradient(180deg, transparent, rgba(8,9,11,.92)); }
.tile .cap h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; }
.tile .cap span { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }

/* gallery image grid (masonry-ish) */
.masonry { columns: 3; column-gap: 16px; }
.masonry img { width: 100%; margin-bottom: 16px; border-radius: 4px; break-inside: avoid; filter: grayscale(12%) brightness(.9); transition: filter .3s, transform .3s; }
.masonry img:hover { filter: none; transform: translateY(-3px); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats .num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--accent); }
.stats .lbl { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- CTA banner ---------- */
.cta { position: relative; padding: 110px 0; text-align: center; background: radial-gradient(130% 120% at 50% 0%, #161922 0%, #0d0f13 55%, var(--bg) 100%); }
.cta h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 760px; margin: 0 auto 26px; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 34px; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 6px; aspect-ratio: 4/5; object-fit: cover; width: 100%; filter: grayscale(15%); }
.prose p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }
.prose p strong { color: var(--text); font-weight: 600; }

/* ---------- Service list ---------- */
.svc { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.svc .item { background: var(--bg-card); padding: 34px 28px; }
.svc .item .ic { color: var(--accent); font-size: 1.6rem; margin-bottom: 14px; }
.svc .item h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 10px; }
.svc .item p { color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.field { margin-bottom: 20px; }
.field label { display:block; font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg-card); border: 1px solid var(--line); color: var(--text); padding: 13px 14px; border-radius: 3px; font-family: var(--sans); font-size: .95rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 26px; }
.info-row .ic { color: var(--accent); font-size: 1.2rem; width: 26px; flex:none; }
.info-row h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-row a, .info-row p { font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { background: #070809; border-top: 1px solid var(--line); padding: 64px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer h4 { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.site-footer a { color: var(--muted); display: block; margin-bottom: 10px; font-size: .95rem; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-brand .name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: .95rem; max-width: 320px; }
.socials { display: flex; gap: 14px; margin-top: 16px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; margin: 0; font-size: .9rem; transition: border-color .2s, color .2s, transform .2s ease; }
.socials a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.copyright { border-top: 1px solid var(--line); padding-top: 24px; color: var(--muted); font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 120px 0 80px; text-align: center; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero p { color: var(--muted); max-width: 560px; margin: 18px auto 0; font-size: 1.1rem; }

/* ---------- Nav underline ---------- */
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after { transform: scaleX(1); }

/* ---------- Motion (entrance + scroll reveal) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes bfFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .hero-inner > *, .page-hero .wrap > * { animation: bfFadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > *:nth-child(2), .page-hero .wrap > *:nth-child(2) { animation-delay: .10s; }
  .hero-inner > *:nth-child(3), .page-hero .wrap > *:nth-child(3) { animation-delay: .20s; }
  .hero-inner > *:nth-child(4), .page-hero .wrap > *:nth-child(4) { animation-delay: .30s; }

  html.reveal-on .reveal { opacity: 0; transform: translateY(22px); }
  html.reveal-on .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }

  html.reveal-on .grid .tile.reveal { opacity: 0; transform: translateY(26px) scale(.96); }
  html.reveal-on .grid .tile.reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  html.reveal-on .grid .tile:nth-child(1).in { transition-delay: .00s; }
  html.reveal-on .grid .tile:nth-child(2).in { transition-delay: .08s; }
  html.reveal-on .grid .tile:nth-child(3).in { transition-delay: .16s; }
  html.reveal-on .grid .tile:nth-child(4).in { transition-delay: .24s; }
  html.reveal-on .grid .tile:nth-child(5).in { transition-delay: .32s; }
  html.reveal-on .grid .tile:nth-child(6).in { transition-delay: .40s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid, .svc { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 10px 28px 22px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-links a.btn { margin-top: 10px; text-align: center; }
  .nav-toggle { display: block; }
  .grid, .grid.two, .svc { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
