:root {
  --bg: #fbf7f0;
  --ink: #3a3340;
  --muted: #7c7488;
  --accent: #c8638b;
  --accent-dark: #a44a6f;
  --sky: #8ec6d6;
  --card: #ffffff;
  --shadow: 0 8px 24px rgba(58, 51, 64, 0.12);
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Quicksand", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image: radial-gradient(circle at 20% -10%, #fff3f7 0, transparent 45%),
                    radial-gradient(circle at 90% 0, #eef7fa 0, transparent 40%);
  line-height: 1.65;
}

h1, h2, h3, .brand-title {
  font-family: "Fredoka", "Quicksand", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent-dark);
}

a { color: var(--accent-dark); }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.brand-text { display: flex; flex-direction: column; }

.brand-title { font-size: 1.4rem; }

.brand-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
  border-color: var(--accent);
}

/* ---------- Main ---------- */
.site-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.intro {
  text-align: center;
  max-width: 720px;
  margin: 0.5rem auto 2.5rem;
  font-size: 1.15rem;
  color: var(--muted);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  margin: 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(58, 51, 64, 0.18);
}

.gallery-link {
  display: block;
  cursor: zoom-in;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #f0eaf2;
}

.gallery-item figcaption {
  padding: 0.7rem 0.9rem 0.9rem;
  font-family: "Fredoka", sans-serif;
  font-size: 1rem;
  color: var(--accent-dark);
  text-align: center;
}

/* ---------- About page ---------- */
.page { max-width: 760px; margin: 0 auto; }

.about-banner {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.about h1 { text-align: center; margin-bottom: 1.5rem; }

.about-portrait {
  float: right;
  width: 220px;
  max-width: 45%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 0 1rem 1.5rem;
}

.about h2 {
  clear: both;
  margin-top: 2rem;
  font-size: 1.3rem;
}

.about ul { padding-left: 1.2rem; }
.about li { margin: 0.35rem 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #ece4e9;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  color: var(--muted);
}

.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.social a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.social a:hover { color: var(--accent-dark); }

.contact { margin: 0.5rem 0; }
.copyright { font-size: 0.85rem; margin: 0.5rem 0 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 22, 32, 0.92);
  padding: 2rem;
}

.lightbox[hidden] { display: none; }

.lightbox-figure {
  margin: 0;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-figure img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-figure figcaption {
  color: #fff;
  font-family: "Fredoka", sans-serif;
  margin-top: 0.85rem;
  font-size: 1.1rem;
}

.lightbox button {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  line-height: 1;
  transition: background 0.15s;
}

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

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .site-header { justify-content: center; text-align: center; }
  .brand { flex-direction: column; text-align: center; }
  .site-nav ul { justify-content: center; }
  .gallery-item img { height: 200px; }
  .about-portrait { float: none; display: block; margin: 0 auto 1.5rem; max-width: 70%; }
}
