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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222;
  line-height: 1.6;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: #333;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

/* ── Header ── */
.site-header {
  background: #1a1a1a;
  padding: 1rem 0;
  text-align: center;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  max-height: 100px;
  margin: 0 auto;
  border-radius: 4px;
}

/* ── Hero Section ── */
.hero {
  position: relative;
  background: #2c2c2c;
  color: #fff;
  text-align: center;
  padding: 6rem 1.5rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(40, 40, 40, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── Reunion Info Section ── */
.reunion-info {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.reunion-info h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.event-details {
  font-size: 1.1rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 1rem;
}

/* ── Countdown Timer ── */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  padding: 1rem 0.75rem;
  background: #1a1a1a;
  border-radius: 6px;
}

.countdown-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  margin-top: 0.35rem;
}

.registration-note {
  color: #555;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Button ── */
.btn {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 3px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: #555;
}

/* ── Get in Touch Section ── */
.get-in-touch {
  background: #f5f5f5;
  text-align: center;
  padding: 3rem 1.5rem;
}

.get-in-touch h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.get-in-touch p {
  max-width: 600px;
  margin: 0 auto;
  color: #555;
}

/* ── Contact Section ── */
.contact {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.contact h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact > p {
  color: #555;
  margin-bottom: 2rem;
}

/* ── Contact Form ── */
.contact-form {
  text-align: left;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  flex: 1;
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #555;
}

.contact-form .btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 1.05rem;
}

/* ── Event Hero Image ── */
.event-hero {
  width: 100%;
  max-height: 450px;
  overflow: hidden;
}

.event-hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ── Event Content ── */
.event-content {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.event-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.event-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.event-description {
  color: #444;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.event-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: left;
  margin-bottom: 2rem;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 6px;
}

.event-info-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: #1a1a1a;
}

.event-info-item p {
  color: #555;
  font-size: 0.95rem;
}

.event-detail-block {
  margin-bottom: 1.5rem;
}

.event-content a {
  color: #333;
  text-decoration: underline;
}

/* ── RSVP Section ── */
.rsvp-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
}

.rsvp-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.rsvp-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}

.rsvp-btn {
  padding: 0.65rem 2rem;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  border: 2px solid #333;
  background: #fff;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rsvp-btn:first-child {
  border-radius: 3px 0 0 3px;
}

.rsvp-btn:last-child {
  border-radius: 0 3px 3px 0;
  border-left: none;
}

.rsvp-btn.active {
  background: #333;
  color: #fff;
}

.rsvp-form {
  text-align: left;
}

.rsvp-form .btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.form-group select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
}

.form-group select:focus {
  outline: none;
  border-color: #555;
}

/* ── Back Link ── */
.back-link {
  text-align: center;
  padding: 0 1.5rem 3rem;
}

.btn-outline {
  background: transparent;
  color: #333;
  border: 2px solid #333;
}

.btn-outline:hover,
.btn-outline:focus {
  background: #333;
  color: #fff;
}

/* ── Footer ── */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .countdown {
    gap: 0.75rem;
  }

  .countdown-item {
    min-width: 60px;
    padding: 0.75rem 0.5rem;
  }

  .countdown-value {
    font-size: 1.5rem;
  }
}
