@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Raleway:wght@300;400;600&display=swap');

:root {
  --bg: hsl(30, 50%, 97%);
  --fg: hsl(0, 18%, 20%);
  --primary: hsl(340, 35%, 48%);
  --primary-fg: hsl(30, 50%, 97%);
  --secondary: hsl(38, 45%, 75%);
  --muted-fg: hsl(0, 12%, 45%);
  --rose-dark: hsl(340, 30%, 28%);

  --border: hsl(340, 20%, 88%);
  --accent: hsl(38, 50%, 85%);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Raleway', sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.page { position: relative; min-height: 100vh; }

.container {
  position: relative;
  z-index: 10;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ── */
header {
  padding: 4rem 0 2rem;
  text-align: center;
}

.pre-heading {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--primary);
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
  animation: fadeInDown 1s ease-out both;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  color: var(--rose-dark);
  margin-bottom: 0.35rem;
  animation: fadeInDown 1s 0.15s ease-out both;
}

.subtitle {
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--muted-fg);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s 0.3s ease-out both;
}

.hero-img {
  width: 75%;
  max-width: 420px;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  opacity: 0.92;
  transition: opacity 0.3s, transform 0.3s;
  animation: fadeInUp 0.8s 0.5s ease-out both;
}

.hero-img:hover { opacity: 1; transform: scale(1.02); }

/* ── Sections ── */
.section {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  animation: fadeInUp 0.7s ease-out both;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rose-dark);
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.section p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

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

.section a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: color 0.3s, border-color 0.3s;
}

.section a:hover {
  color: var(--rose-dark);
  border-bottom-color: var(--primary);
}

/* ── Images ── */
.img-wrapper { text-align: center; margin-bottom: 1.25rem; }

.section img {
  width: 75%;
  max-width: 420px;
  border-radius: 10px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.1);
  opacity: 0.88;
  transition: opacity 0.3s, transform 0.3s;
}

.section img:hover { opacity: 1; transform: scale(1.02); }

/* ── Footer ── */
footer {
  padding: 3rem 0;
  text-align: center;
  color: var(--muted-fg);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* ── Scroll Button ── */
.btn-scroll {
  display: none;
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 99;
  background: var(--primary);
  color: var(--primary-fg);
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-scroll:hover { background: var(--rose-dark); }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  header { padding-top: 2.5rem; }
  .hero-img, .section img { width: 88%; }
}
