:root {
  --bg: #f7f2f5;
  --surface: #fff9fc;
  --text: #4f4158;
  --muted: #7e7188;
  --primary: #b28fc8;
  --secondary: #9ea77a;
  --accent: #cdb579;
  --shadow: 0 16px 40px rgba(97, 68, 116, 0.12);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #fff 0%, var(--bg) 55%);
  line-height: 1.65;
}
h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.15;
  margin: 0 0 0.8rem;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; border-radius: 16px; }
.container { width: min(1120px, 92%); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 242, 245, 0.84);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--text); }
.brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.brand strong { display: block; font-size: 1.1rem; }
.brand span { color: var(--muted); font-size: 0.8rem; }
nav { display: flex; gap: 1rem; flex-wrap: wrap; }
nav a { font-weight: 600; color: var(--text); }

.hero { padding: 4.5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.eyebrow { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; color: var(--secondary); font-weight: 700; }
.hero h1 { font-size: clamp(2rem, 5vw, 4rem); color: #5d4770; }
.hero p { color: var(--muted); max-width: 60ch; }
.hero-media img { box-shadow: var(--shadow); }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.1rem; }

.btn {
  background: linear-gradient(120deg, var(--primary), #9270aa);
  color: #fff; border: none; padding: 0.75rem 1.2rem; border-radius: 999px; font-weight: 600;
}
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1rem auto 3rem; }
.card {
  background: var(--surface); border: 1px solid #eee2f2; border-radius: 18px; padding: 1.2rem;
  box-shadow: var(--shadow);
}
.card h3 { color: #6f5590; font-size: 1.6rem; }

.video-section { padding: 2.5rem 0; background: #f2edf3; }
.video-section video {
  width: min(820px, 100%);
  margin-inline: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.gallery { padding: 3.5rem 0; }
.gallery h2, .cta h2, .blog-listing h1, .article h1 { font-size: clamp(2rem, 4vw, 3rem); color: #5f4877; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 16px; }
.gallery-grid img { height: 240px; width: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }

.cta { padding: 3rem 0 4rem; text-align: center; }
.cta p { color: var(--muted); max-width: 760px; margin: 0 auto 1.1rem; }

.blog-listing, .article { padding: 3rem 0; }
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0 3rem; }
.post-card { background: var(--surface); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.post-card img { height: 240px; width: 100%; object-fit: cover; border-radius: 0; }
.post-body { padding: 1rem; }
.meta { color: var(--muted); font-size: 0.9rem; }
.article-cover { max-height: 450px; width: 100%; object-fit: cover; margin-bottom: 1rem; }

.site-footer { background: #efe8f1; border-top: 1px solid #e4d8ea; padding-top: 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1rem; }
.footer-bottom { border-top: 1px solid #dfcfeb; margin-top: 1rem; padding: 1rem 0; color: var(--muted); }

.admin-card {
  max-width: 740px;
  margin: 2rem auto 4rem;
  background: var(--surface);
  border: 1px solid #eee2f2;
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.admin-card form { display: grid; gap: 0.8rem; }
.admin-card label { font-weight: 600; color: #624a79; }
.admin-card input,
.admin-card textarea {
  width: 100%;
  border: 1px solid #dccae8;
  border-radius: 10px;
  padding: 0.7rem;
  font: inherit;
  background: #fff;
}
.admin-card textarea { min-height: 110px; resize: vertical; }
.message-ok { color: #2f7b43; font-weight: 600; }
.message-error { color: #9e2e42; font-weight: 600; }

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.floaty { animation: floaty 4s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .hero-grid, .highlights, .posts-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
