/* ── Variables ── */
:root {
  --rose:      #e8647a;
  --rose-dark: #c94a60;
  --blush:     #fce8ec;
  --gold:      #c9954c;
  --dark:      #1a1a1a;
  --mid:       #555;
  --light:     #f8f4f5;
  --border:    #ecdde0;
  --white:     #ffffff;
  --radius:    12px;
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Base ── */
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--light);
  color: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.title-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--rose);
  letter-spacing: -0.02em;
}

.title-sub {
  font-size: 0.7rem;
  color: var(--mid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.15s;
}

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


/* ── Main ── */
.site-main { flex: 1; }

.page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* ── Tag filter ── */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tag-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--mid);
  transition: all 0.15s;
  cursor: pointer;
}

.tag-pill:hover,
.tag-pill--active {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

/* ── Photo grid ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

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

@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; }
}

/* ── Photo card ── */
.photo-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}

.photo-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--blush);
}

.photo-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.photo-card:hover .photo-card__image-wrap img {
  transform: scale(1.04);
}

.photo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: var(--white);
}

.photo-card:hover .photo-card__overlay { opacity: 1; }

.photo-card__caption {
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.photo-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  opacity: 0.85;
}

.photo-card__tag {
  font-size: 0.72rem;
  color: var(--white);
  opacity: 0.9;
}

.photo-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: 0.85rem;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox--open { display: flex; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.lightbox__tags .tag-pill {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.lightbox__close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close:hover { background: rgba(255,255,255,0.28); }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
}

.empty-state__emoji { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 0.75rem; }
.empty-state p { color: var(--mid); }
.empty-state a { color: var(--rose); font-weight: 600; }

/* ── Photo detail ── */
.photo-detail {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.photo-detail__back { margin-bottom: 1.5rem; }

.back-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.15s;
}

.back-link:hover { color: var(--rose); }

.photo-detail__layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .photo-detail__layout { grid-template-columns: 1fr; }
}

.photo-detail__image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blush);
  box-shadow: var(--shadow);
}

.photo-detail__image {
  width: 100%;
  height: auto;
  display: block;
}

.photo-detail__placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
}

.photo-detail__info {
  position: sticky;
  top: 90px;
}

.photo-detail__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.photo-detail__byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--mid);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.photo-detail__caption {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

.photo-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Landing page ── */
.landing { display: flex; flex-direction: column; }

.landing-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: var(--blush);
}

.landing-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  color: var(--white);
}

.landing-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.landing-hero__tagline {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.landing-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 700px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  width: 100%;
}

@media (max-width: 500px) {
  .landing-nav { grid-template-columns: 1fr; }
}

.landing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.landing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  border-color: var(--rose);
}

.landing-card__icon { font-size: 2.2rem; margin-bottom: 0.75rem; }

.landing-card__label {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--rose);
  margin-bottom: 0.4rem;
}

.landing-card__sub {
  font-size: 0.82rem;
  color: var(--mid);
}

/* ── Story page ── */
.story-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.story-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow);
}

.story-photo { width: 100%; height: auto; display: block; }

/* ── About page ── */
.about-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 700px) {
  .about-layout { grid-template-columns: 1fr; }
}

.about-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo {
  width: 100%;
  height: auto;
  display: block;
}

.about-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  color: var(--rose);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.about-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--dark);
  margin-bottom: 2rem;
}

.about-bio p { margin-bottom: 1em; }
.about-bio strong { font-weight: 600; }
.about-bio em { font-style: italic; }

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  transition: opacity 0.15s;
}

.instagram-link:hover { opacity: 0.85; }

.about-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-back {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rose);
  transition: opacity 0.15s;
}

.about-back:hover { opacity: 0.7; }

/* ── Footer ── */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.25rem;
  font-size: 0.8rem;
  color: var(--mid);
}
