:root {
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --accent: #fbbf24;
  --accent-soft: rgba(251, 191, 36, 0.15);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --card-bg: #111827;
  --card-border: #1f2937;
  --section-alt-bg: #020617;
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.45);
  --radius-lg: 18px;
  --transition-fast: 0.2s ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text-main);
}

/* HERO */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("https://images.pexels.com/photos/3171837/pexels-photo-3171837.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  color: #f9fafb;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(251, 191, 36, 0.35), transparent 55%),
              linear-gradient(to bottom, rgba(15, 23, 42, 0.85), rgba(3, 7, 18, 0.95));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 4rem);
  margin-bottom: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #e5e7eb;
}

.hero-date-place {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--accent);
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #111827;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, #facc15, #f97316);
}

/* NAVBAR */

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.top-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.top-nav a:hover {
  color: var(--accent);
  background: rgba(15, 23, 42, 0.8);
}

/* GENERAL SECTIONS */

.section {
  padding: 4rem 1.5rem;
}

.section-alt {
  background: var(--section-alt-bg);
}

.section-inner {
  margin: 0 auto;
  max-width: 960px;
}

.section h2 {
  font-size: 1.9rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section p {
  color: var(--text-muted);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* INFO GRID */

.info-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.info-card {
  background: linear-gradient(135deg, #020617, #020617);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--card-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.info-card p {
  margin: 0;
}

/* TIMELINE */

.timeline {
  list-style: none;
  padding-left: 0;
  margin-top: 2rem;
  border-left: 2px solid rgba(75, 85, 99, 0.6);
}

.timeline li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.8rem;
}

.timeline .time {
  position: absolute;
  left: -0.3rem;
  top: 0;
  transform: translate(-100%, 0);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.timeline .event {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(55, 65, 81, 0.8);
}

/* UPDATES */

.updates-list {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.update-item {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: var(--shadow-soft);
}

.update-date {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* GIFTS */

.gift-ideas {
  margin-top: 1.5rem;
  list-style: none;
  padding-left: 0;
}

.gift-ideas li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
}

.gift-ideas li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  top: 0;
  color: var(--accent);
}

/* GUESTBOOK */

.guestbook-placeholder {
  margin-top: 1.7rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.7);
}

/* GUESTBOOK FORM + MESSAGES */

.guestbook-form {
  margin-top: 1.8rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(15, 23, 42, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-row label {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.form-row input,
.form-row textarea {
  border-radius: 10px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  background: #020617;
  color: var(--text-main);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.form-status {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-status.error {
  color: #f97373;
}

.guestbook-messages {
  margin-top: 2rem;
}

.guestbook-message-list {
  display: grid;
  gap: 1rem;
}

.guestbook-message {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.guestbook-message h3 {
  margin: 0 0 0.2rem 0;
}

.guestbook-date {
  margin: 0 0 0.7rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* FOOTER */

.footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(31, 41, 55, 0.7);
  background: #020617;
}

/* RESPONSIVE */

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
