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

:root {
  --cream:      #f0f4f8;
  --warm-white: #f7fafc;
  --blush:      #b8d4e8;
  --dusty-rose: #5e8fa8;
  --sage:       #8ab5b8;
  --ink:        #263340;
  --ink-light:  #5a7080;
  --border:     rgba(38, 51, 64, 0.12);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --section-pad: 6rem 2rem;
  --max-w: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Nav ────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: rgba(253, 251, 248, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color 0.2s;
}

.nav-name:hover {
  color: var(--dusty-rose);
}

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

nav ul a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--ink);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

/* Soft watercolor-wash background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(138, 181, 184, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 70%, rgba(94, 143, 168, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 55% 20%, rgba(184, 212, 232, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.hero-whales {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 42%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.08;
  filter: hue-rotate(-95deg) saturate(0.7) brightness(0.7);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-text {
  position: relative;
  text-align: center;
  margin-bottom: 15%;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--ink);
}

.hero-text .subtitle {
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* ── Section shared ─────────────────────────────────────── */
section {
  padding: var(--section-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--ink-light);
}

/* ── Gallery ────────────────────────────────────────────── */
#gallery {
  padding-top: 7rem;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: var(--cream);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 53, 48, 0.72) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.overlay-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  display: block;
  margin-bottom: 0.2rem;
}

.overlay-meta {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

/* ── Lightbox ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30, 26, 22, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: min(85vw, 800px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-height: 78vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

#lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
}

#lightbox-meta {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.75rem;
  transition: color 0.2s;
  line-height: 1;
}

.lightbox-close { top: 1.5rem; right: 2rem; font-size: 2rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 2rem; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: #fff;
}

/* ── About ──────────────────────────────────────────────── */
#about {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -1rem 1rem 1rem -1rem;
  background: linear-gradient(135deg, var(--blush) 0%, var(--sage) 100%);
  opacity: 0.25;
  border-radius: 2px;
  z-index: 0;
}

.about-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  z-index: 1;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

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

.about-text p:last-child {
  margin-bottom: 0;
}

/* ── Contact ────────────────────────────────────────────── */
#contact {
  background: var(--cream);
  max-width: 100%;
  padding: var(--section-pad);
}

#contact > * {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 0;
}

.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 2rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--warm-white);
  min-width: 200px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.contact-link:hover {
  border-color: var(--dusty-rose);
  box-shadow: 0 4px 24px rgba(201, 147, 138, 0.15);
  transform: translateY(-2px);
}

.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.contact-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  border-top: 1px solid var(--border);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.25rem;
  }

  nav ul {
    gap: 1.5rem;
  }

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

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-wrap {
    max-width: 300px;
    margin: 0 auto;
  }

  .contact-links {
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 4rem 1.25rem;
  }

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

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

/* ── Fade-in animation on scroll ───────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}
