/* Fonts */
@font-face {
  font-family: "Bentham";
  src: url("/assets/Bentham-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Century Gothic";
  src: url("/assets/CenturyGothic.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Century Gothic";
  src: url("/assets/GOTHICB.TTF") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Century Gothic";
  src: url("/assets/GOTHICI.TTF") format("truetype");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Century Gothic";
  src: url("/assets/GOTHICBI.TTF") format("truetype");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

/* Theme variables - light default */
:root {
  --color-bg: #FCF7F7;
  --color-header: #19344B;
  --color-text: #19344B;
  --color-title: #709B72;
  --color-accent-green: #6A9870;
  --color-accent-red: #C5556A;
  --color-accent-purple: #CB7DB1;
  --color-accent-blue: #A0BCCB;
}

/* System dark mode preference */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #182C3F;
    --color-header: #FCF7F7;
    --color-text: #FCF7F7;
    --color-title: #709B72;
  }
}

/* Manual overrides */
[data-theme="light"] {
  --color-bg: #FCF7F7;
  --color-header: #19344B;
  --color-text: #19344B;
  --color-title: #709B72;
}

[data-theme="dark"] {
  --color-bg: #182C3F;
  --color-header: #FCF7F7;
  --color-text: #FCF7F7;
  --color-title: #709B72;
}

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: "Century Gothic", "Futura", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Theme toggle */
.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.3;
  transition: opacity 0.3s ease, color 0.4s ease;
  padding: 0.5rem;
  line-height: 1;
}

.theme-toggle:hover {
  opacity: 0.6;
}

/* Card layout */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  gap: 1.5rem;
}

.card-heading,
.card-title {
  font-family: "Bentham", "Georgia", serif;
  font-weight: normal;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  letter-spacing: 0.3em;
  white-space: nowrap;
  background: repeating-linear-gradient(135deg, #C87F3B 0%, #E8B87A 18%, #F5DEB3 20%, #E8B87A 22%, #C87F3B 40%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-flowers {
  width: 100%;
  max-width: 420px;
}

.card-flowers img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}



.card-date {
  font-family: "Century Gothic", "Futura", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--color-text);
  letter-spacing: 0.2em;
  transition: color 0.4s ease;
}

/* Content sections */
.section {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.section-heading {
  font-family: "Bentham", "Georgia", serif;
  font-weight: normal;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.2em;
  color: var(--color-header);
  margin-bottom: 1rem;
  transition: color 0.4s ease;
}

.section p {
  font-family: "Century Gothic", "Futura", sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  transition: color 0.4s ease;
}

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

/* Leaflet map */
.map-container {
  margin-top: 1.5rem;
}

.map {
  width: 100%;
  max-width: 400px;
  height: 250px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}
