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

:root {
  --garnet: #782f40;
  --garnet-dark: #5a1e2e;
  --garnet-light: #9a4a5a;
  --gold: #ceb888;
  --gold-dark: #a89060;
  --gold-light: #e8d8ac;
  --bg: var(--color-background-primary);
  --bg2: var(--color-background-secondary);
  --text: var(--color-text-primary);
  --text2: var(--color-text-secondary);
  --border: var(--color-border-tertiary);
}

.page {
  font-family: "Sora";
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.navbar {
  background: var(--garnet);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10rem;
  height: 75px;
  border-bottom: 3px solid var(--gold);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.brand-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.navbar-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.navbar-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s;
  cursor: pointer;
  font-weight: 400;
}

.navbar-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.navbar-links a.active {
  background: rgba(206, 184, 136, 0.25);
  color: var(--gold-light);
}

.hero {
  background: linear-gradient(135deg, var(--garnet-dark) 0%, var(--garnet) 60%, var(--garnet-light) 100%);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(206, 184, 136, 0.04) 30px, rgba(206, 184, 136, 0.04) 31px);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  margin-top: 4px;
  margin-bottom: 4px;
}

.hero-sub {
  font-size: 13px;
  color: var(--gold-light);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

.main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20vw;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  margin-left: 15%;
  margin-right: 15%;
}

.section-title {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--garnet);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title .counter {
  color: var(--text2);
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.showcase-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.card-preview {
  height: 450px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  cursor: pointer;
  user-select: none;
}

.card-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-nav {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: #fff;
}

.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
}

.card-arrow.prev {
  left: 10px;
}

.card-arrow.next {
  right: 10px;
}

.card-info {
  padding: 1rem 1.25rem;
}

.card-tag {
  display: inline-block;
  background: var(--gold-light);
  color: var(--garnet-dark);
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.card-info h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
}

.card-info p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 10px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text2);
  border-top: 0.5px solid var(--border);
  padding-top: 10px;
}

.card-meta .author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-btn {
  margin-left: auto;
  background: var(--garnet);
  color: #fff;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  font-family: var(--font-sans);
}

.view-btn:hover {
  background: var(--garnet-dark);
}

.meeting-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}

.meeting-header {
  background: var(--garnet);
  padding: 12px 14px;
  border-bottom: 2px solid var(--gold);
}

.meeting-header h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.meeting-header h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 350;
}

.meeting-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: 2px;
}

.meeting-body {
  padding: 14px;
}

.meeting-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.meeting-row:last-child {
  margin-bottom: 0;
}

.meeting-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.meeting-label {
  font-size: 16px;
  color: var(--text2);
  margin-bottom: 2px;
}

.meeting-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.meeting-sub {
  font-size: 14px;
  color: var(--text2);
  margin-top: 1px;
}

.rsvp-btn {
  width: 100%;
  background: var(--garnet);
  color: #fff;
  border: none;
  padding: 9px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  margin-top: 12px;
  border-top: 1px solid var(--color-border-tertiary);
  padding-top: 13px;
}

.rsvp-btn:hover {
  background: var(--garnet-dark);
}

.links-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.links-header {
  padding: 10px 14px;
  border-bottom: 0.5px solid var(--border);
}

.links-header h3 {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text2);
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 0.5px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  transition: background 0.1s;
}

.quick-link:last-child {
  border-bottom: none;
}

.quick-link:hover {
  background: var(--bg2);
}

.quick-link-icon {
  font-size: 14px;
  width: 20px;
  text-align: center;
}

.quick-link-arrow {
  margin-left: auto;
  color: var(--text2);
  font-size: 11px;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.15s;
}

.navbar-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .navbar {
    padding: 0 1.25rem;
  }

  .navbar-brand span {
    display: none;
  }

  .main {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
    padding: 1rem;
  }
}

@media (max-width: 560px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
    padding: 0 1rem;
    align-content: center;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 0.5rem;
    gap: 0;
  }

  .navbar-links li {
    width: 100%;
  }

  .navbar-links a {
    display: block;
    padding: 6px 10px;
    border-radius: 4px;
  }

  .navbar.open .navbar-links {
    display: flex;
  }
}

.site-footer {
  background: var(--garnet);
  border-top: 3px solid var(--gold);
  color: #fff;
  text-align: center;
  padding: 1.25rem 1rem;
  font-size: 0.85rem;
  margin-top: auto;
}

.site-footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.6rem;
}

.site-footer a {
  color: var(--gold-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.site-footer a:hover {
  opacity: 1;
}

.site-footer svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
