:root {
  --bg: #f7f4f1;
  --card: #ffffff;
  --accent-soft: #ffe4de;
  --text-main: #333333;
  --text-soft: #777777;
  --border: #e0d7cf;
  --shadow-soft: 0 16px 32px rgba(0, 0, 0, 0.08);
  --radius-xl: 24px;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #ffe8df 0, #f7f4f1 45%, #f2efe9 100%);
  color: var(--text-main);
  line-height: 1.5;
  padding: 16px;
  display: flex;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 800px;
}

/* CARDS / LAYOUT */

.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 18px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

/* MOBILE-FIRST HERO */

.hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.hero-text {
  width: 100%;
}

.subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.hero h1 {
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-line {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.hero-photo-wrapper {
  width: 100%;
  max-width: 260px;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  border: 6px solid #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

/* Slightly wider layout on bigger screens */
@media (min-width: 768px) {
  .card {
    padding: 24px 22px;
  }

  .hero {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: center;
  }

  .hero-text {
    max-width: 60%;
  }

  .hero-photo-wrapper {
    max-width: 260px;
  }
}

/* SECTION TITLES */

.section-title {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a3c38;
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 14px;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* On larger screens, show 2 across */
@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: #f5eee9;
  cursor: pointer;
}

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

/* Slight hover effect (works as tap highlight too) */
.gallery-item:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* VIDEOS */

.video-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 600px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.video-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #fff, #f8f2ec);
  padding: 8px;
}

video {
  width: 100%;
  border-radius: 12px;
  background: #000;
  outline: none;
}

/* FOOTER */

footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 6px;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 12px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  position: relative;
}

.lightbox img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

/* Close button sits above image; big enough for mobile thumb */
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
}
