/* ==========================================================================
   Hybrids Sports Club - Design System & Custom Styles
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
  /* Color Palette */
  --primary-green: #d1f295;       /* Pill button light yellow-green */
  --primary-green-hover: #bfe57a;
  --dark-forest: #223e17;         /* Hero overlay & theme accent */
  --dark-text: #2c3328;           /* Contrast text */
  --body-bg: #ffffff;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  --input-bg: #fcfcfc;
  --input-border: #eeeeee;
  
  /* Highlight Card Colors */
  --purple-bg: #e6dcff;
  --purple-text: #5935aa;
  --yellow-bg: #fef0cd;
  --yellow-text: #7a5f00;
  --cyan-bg: #dbfaf0;
  --cyan-text: #056a47;
  --pink-bg: #fcdcd7;
  --pink-text: #962817;
  --blue-bg: #cfe3ff;
  --blue-text: #1d467c;
  --green-bg: #d0f0c0;
  --green-text: #2f561d;

  /* Timeline Colors */
  --tl-blue: #daf0ff;
  --tl-yellow: #fff3c4;
  --tl-green: #dcfad4;
  --tl-pink: #ffdcd6;
  --tl-purple: #e9e3ff;
  
  /* Typography */
  --font-display: 'Antonio', 'Arial Condensed', sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* Offset for navigation bar */
  font-size: 16px;
  background-color: var(--body-bg);
  color: var(--dark-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  font-family: var(--font-body);
}

input, select, textarea, button {
  font-family: var(--font-body);
}

/* ==========================================================================
   2. Layout & Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.5;
  font-weight: 400;
}

/* Layout container standard width matching mobile figma layout */
.hero-section,
.highlights-section,
.schedule-section,
.site-footer {
  width: 100%;
  max-width: 480px; /* Standard premium mobile view width as in figma screenshot */
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
}

#rsvp-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  height: 520px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 0; /* Nested navigation bar requires no offset */
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(34, 62, 23, 0.4) 0%, rgba(34, 62, 23, 0.85) 100%);
  z-index: 1;
}

.brand-logo-container {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  mix-blend-mode: screen; /* hides the black background of the logo, making it transparent */
}

@media (min-width: 1024px) {
  .brand-logo-container {
    top: 36px;
    left: 48px;
  }
  .brand-logo {
    height: 56px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 0.95;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  font-weight: 300;
  margin-bottom: 8px;
}

.hero-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.9;
}

.detail-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

/* CTA Register Now button container (outside the header frame) */
.cta-container {
  width: 100%;
  max-width: 480px;
  padding: 24px;
  background-color: var(--body-bg);
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--primary-green);
  color: #1a3011;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 16px 32px;
  border-radius: 100px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(197, 232, 142, 0.2);
  text-align: center;
}

.cta-button:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
  transform: translateY(0);
}

.highlights-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-title {
  font-size: 2.2rem;
  color: #2b2b2b;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 28px;
  line-height: 1.4;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.highlight-card {
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: none;
  line-height: 1.25;
}

.card-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.card-icon {
  width: 16px;
  height: 16px;
}

.card-description {
  font-size: 0.85rem;
  line-height: 1.35;
  opacity: 0.85;
}

/* Card Themes */
.card-purple { background-color: var(--purple-bg); color: var(--purple-text); }
.card-purple .card-icon-container { background-color: rgba(255,255,255,0.4); }
.card-purple .card-icon { color: var(--purple-text); }

.card-yellow { background-color: var(--yellow-bg); color: var(--yellow-text); }
.card-yellow .card-icon-container { background-color: rgba(255,255,255,0.4); }
.card-yellow .card-icon { color: var(--yellow-text); }

.card-cyan { background-color: var(--cyan-bg); color: var(--cyan-text); }
.card-cyan .card-icon-container { background-color: rgba(255,255,255,0.4); }
.card-cyan .card-icon { color: var(--cyan-text); }

.card-pink { background-color: var(--pink-bg); color: var(--pink-text); }
.card-pink .card-icon-container { background-color: rgba(255,255,255,0.4); }
.card-pink .card-icon { color: var(--pink-text); }

.card-blue { background-color: var(--blue-bg); color: var(--blue-text); }
.card-blue .card-icon-container { background-color: rgba(255,255,255,0.4); }
.card-blue .card-icon { color: var(--blue-text); }

.card-green { background-color: var(--green-bg); color: var(--green-text); }
.card-green .card-icon-container { background-color: rgba(255,255,255,0.4); }
.card-green .card-icon { color: var(--green-text); }

/* ==========================================================================
   5. Schedule Timeline Section
   ========================================================================== */

.schedule-section {
  padding-bottom: 48px;
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.timeline-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.time-capsule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 76px;
  min-height: 48px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
  padding: 6px;
}

.time-num {
  font-size: 1.8rem;
  line-height: 1;
}

.time-min-ampm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.9;
}

.time-min {
  font-size: 0.9rem;
}

.time-ampm {
  font-size: 0.8rem;
}

.timeline-content-card {
  flex-grow: 1;
  background-color: #f7f9fb;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #f1f3f5;
}

.event-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 4px;
  text-transform: none;
}

.event-details {
  font-size: 0.85rem;
  color: #666666;
  line-height: 1.4;
}

/* Timeline row theme overrides based on capsules */
.bg-light-blue { background-color: var(--tl-blue); color: var(--blue-text); }
.bg-light-yellow { background-color: var(--tl-yellow); color: var(--yellow-text); }
.bg-light-green { background-color: var(--tl-green); color: var(--green-text); }
.bg-light-pink { background-color: var(--tl-pink); color: var(--pink-text); }
.bg-light-purple { background-color: var(--tl-purple); color: var(--purple-text); }

.timeline-row:nth-child(1) .timeline-content-card { background-color: #f0f7fc; border-color: #e2edf6; }
.timeline-row:nth-child(2) .timeline-content-card { background-color: #fefcf3; border-color: #f9f3db; }
.timeline-row:nth-child(3) .timeline-content-card { background-color: #f3fdf0; border-color: #e5f5e0; }
.timeline-row:nth-child(4) .timeline-content-card { background-color: #fff6f4; border-color: #fce7e4; }
.timeline-row:nth-child(5) .timeline-content-card { background-color: #f8f6ff; border-color: #efebfc; }

/* ==========================================================================
   6. Registration Section
   ========================================================================== */

.rsvp-form-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.registration-section {
  background-color: #f6fbeb;       /* Light pale green background */
  padding: 40px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
  border-radius: 0;                /* Full-width strip on mobile */
}

.registration-section .form-title,
.registration-section .form-card {
  width: 100%;
  max-width: 432px; /* Centers card content aligning with page grid (480px minus padding) */
}

.form-title {
  font-size: 2.2rem;
  color: #2b2b2b;
  margin-bottom: 16px;
  text-align: left;
}

/* Spacing and inputs styles */
.form-card {
  display: flex;
  flex-direction: column;
  gap: 8px;                        /* tight compact card gap */
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;                        /* close label-to-input proximity */
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555555;
  padding-left: 2px;
  text-transform: uppercase;       /* crisp modern label design */
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--input-border);
  background-color: var(--input-bg);
  color: var(--dark-text);
  outline: none;
  min-height: 40px;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  border-color: #a4ce63;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(197, 232, 142, 0.25);
}

/* Styling dropdown */
.select-wrapper {
  position: relative;
  display: flex;
  width: 100%;
}

.select-wrapper select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #777777;
  pointer-events: none;
  transition: transform var(--transition-fast);
}

.select-wrapper select:focus + .select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* Submit button in the registration card */
.submit-button {
  background-color: var(--primary-green);
  color: #1a3011;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all var(--transition-fast);
  text-align: center;
  box-shadow: 0 4px 12px rgba(197, 232, 142, 0.2);
  margin-top: 12px;
}

.submit-button:hover:not(:disabled) {
  background-color: var(--primary-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(197, 232, 142, 0.3);
}

.submit-button:active:not(:disabled) {
  transform: translateY(0);
}

.submit-button:disabled {
  background-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

/* Validation styling */
.error-msg {
  font-size: 0.8rem;
  color: var(--pink-text);
  margin-top: 2px;
  padding-left: 2px;
  display: none;
}

.error-msg.visible {
  display: block;
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: var(--pink-bg);
  background-color: #fffaf9;
}

.form-group input.invalid:focus,
.form-group select.invalid:focus {
  box-shadow: 0 0 0 3px rgba(252, 220, 215, 0.5);
}

/* ==========================================================================
   7. Activity Interests Section
   ========================================================================== */

.interests-section {
  width: 100%;
  max-width: 480px;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 16px;
  padding-bottom: 56px;
}

.interests-title {
  font-size: 2.2rem;
  color: #2b2b2b;
  margin-bottom: 6px;
}

.interests-subtitle {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 24px;
}
.interests-group {
  margin-top: 12px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.interests-group-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555555;
  padding-left: 2px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.interests-group-subtitle {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: -6px;
  margin-bottom: 4px;
  line-height: 1.35;
  padding-left: 2px;
  text-align: left;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.interest-tag {
  background: none;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid #cbd5e1;
  color: #475569;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all var(--transition-fast);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.interest-tag:hover {
  background-color: #f7f9fb;
  border-color: #cccccc;
}

.interest-tag.selected {
  background-color: var(--dark-forest);
  border-color: var(--dark-forest);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(34, 62, 23, 0.15);
}

/* All of the above button special styling */
#all-interests-btn {
  border-color: var(--dark-forest);
  color: var(--dark-forest);
  font-weight: 700;
}

#all-interests-btn.selected {
  background-color: var(--dark-forest);
  color: #ffffff;
  border-color: var(--dark-forest);
}

/* ==========================================================================
   8. Footer & Connections Panel
   ========================================================================== */

.site-footer {
  padding: 48px 24px;
  border-top: 1px solid #eeeeee;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
  background-color: var(--body-bg);
  width: 100%;
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.footer-logo {
  font-size: 1.6rem;
  color: var(--dark-forest);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 0.95rem;
  color: #555555;
  font-weight: 400;
  line-height: 1.4;
}

.footer-contact-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #444444;
}

.contact-link-item a {
  color: #444444;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-link-item a:hover {
  color: var(--dark-forest);
  text-decoration: underline;
}

.contact-icon {
  width: 16px;
  height: 16px;
  color: #777777;
  flex-shrink: 0;
}

.footer-admin-section {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.footer-copyright-section {
  border-top: 1px solid #eeeeee;
  width: 100%;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #888888;
}

.settings-trigger {
  background: none;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 100px;
  color: #64748b;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.settings-trigger:hover {
  background-color: #f8fafc;
  color: #334155;
  border-color: #cbd5e1;
}

.settings-trigger svg {
  width: 14px;
  height: 14px;
}

/* Settings Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: #ffffff;
  border-radius: 20px;
  width: 90%;
  max-width: 440px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  padding: 24px;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #94a3b8;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: #334155;
}

.modal-title {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 12px;
  text-transform: none;
}

.modal-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 18px;
}

.step-list {
  padding-left: 20px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-list a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.step-list a:hover {
  text-decoration: underline;
}

.copy-box {
  margin-top: 6px;
}

.copy-btn {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background-color: #e2e8f0;
}

.copy-btn.copied {
  background-color: #dcfce7;
  border-color: #86efac;
  color: #15803d;
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
  margin-bottom: 24px;
}

.modal-form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.modal-form-group input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  outline: none;
}

.modal-form-group input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  margin-top: 4px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-offline { background-color: #f59e0b; }
.status-online { background-color: #22c55e; }

.status-text {
  color: #64748b;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-primary, .btn-secondary {
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.btn-primary {
  background-color: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  background-color: #f1f5f9;
  color: #334155;
}

.btn-secondary:hover {
  background-color: #e2e8f0;
}

/* ==========================================================================
   9. Toast Notification System
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 90%;
  max-width: 380px;
}

.toast {
  background-color: #1e293b;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  animation: slideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-success {
  border-left: 4px solid #22c55e;
}

.toast-error {
  border-left: 4px solid #ef4444;
}

.toast-warning {
  border-left: 4px solid #f59e0b;
}

.toast-info {
  border-left: 4px solid #3b82f6;
}

.toast-close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  margin-left: auto;
  font-size: 1.1rem;
}

.toast-close:hover {
  color: #ffffff;
}

@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==========================================================================
   9.5. Donation Section
   ========================================================================== */

.donation-section {
  width: 100%;
  max-width: 480px;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 16px;
  padding-bottom: 56px;
}

.donation-card {
  background-color: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.donation-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.donation-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-forest);
  font-weight: 700;
  font-size: 1.1rem;
}

.donation-icon {
  width: 20px;
  height: 20px;
  color: var(--pink-text);
}

.donation-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #f1f3f5;
  padding-top: 14px;
}

.donation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #555555;
}

.donation-row .detail-label {
  font-weight: 500;
  color: #777777;
}

.donation-row .detail-val {
  font-weight: 700;
  color: var(--dark-text);
}

.donation-row.highlight-row {
  background-color: #f8fafc;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
}

.donation-row .accent-val {
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--dark-forest);
}

.copy-acc-button {
  background-color: var(--primary-green);
  color: #1a3011;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  padding: 12px;
  border-radius: 100px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  margin-top: 8px;
}

.copy-acc-button:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-1px);
}

.copy-acc-button.copied {
  background-color: #dcfce7;
  color: #15803d;
}

.copy-svg-icon {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   10. Responsive Layouts for Tablet & Desktop
   ========================================================================== */

/* Tablet Screens (min-width: 768px) */
@media (min-width: 768px) {
  /* Center and expand main components */
  .hero-section,
  .cta-container,
  .highlights-section,
  .schedule-section,
  #rsvp-form,
  .donation-section,
  .partnership-section,
  .site-footer {
    max-width: 720px;
    padding-left: 32px;
    padding-right: 32px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section {
    height: 560px;
    border-radius: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-top: 24px; /* Floating margin matching desktop layout */
  }

  .hero-title {
    font-size: 4rem;
  }

  .cta-container {
    justify-content: center;
    padding: 32px;
  }

  .cta-button {
    width: auto;
    min-width: 280px;
  }

  /* Highlights Grid - 3 Columns on Tablet */
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .highlight-card {
    min-height: 140px;
  }

  /* Registration Form Full Screen Width adjust */
  .registration-section {
    border-radius: 20px;
  }
}

/* Desktop/Computer Screens (min-width: 1024px) */
@media (min-width: 1024px) {
  .hero-section,
  .cta-container,
  .highlights-section,
  .schedule-section,
  #rsvp-form,
  .donation-section,
  .partnership-section,
  .site-footer {
    max-width: 1080px;
    padding-left: 48px;
    padding-right: 48px;
  }

  .hero-section {
    height: 600px;
  }

  .hero-title {
    font-size: 5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
  }

  .hero-details {
    flex-direction: row;
    gap: 32px;
  }

  /* Center RSVP Form on Desktop */
  #rsvp-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 32px;
    margin-bottom: 48px;
    width: 100%;
  }

  .registration-section {
    border-radius: 28px;
    padding: 40px 36px;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .registration-section .form-title,
  .registration-section .form-card {
    width: 100%;
    max-width: 500px;
  }

  /* Footer side-by-side elements */
  .site-footer {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .footer-brand-section {
    max-width: 380px;
  }

  .footer-contact-section {
    gap: 16px;
  }

  .footer-admin-section {
    justify-content: flex-end;
  }

  .footer-copyright-section {
    grid-column: span 3;
    text-align: center;
    padding-top: 32px;
  }
}

/* ==========================================================================
   Partnership Section Styles
   ========================================================================== */

.partnership-section {
  width: 100%;
  max-width: 480px;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 16px;
  padding-bottom: 24px;
}

.partner-card {
  background: linear-gradient(135deg, #fffcf9 0%, #fff3ec 100%);
  border: 2px solid #ffe3d1;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  box-shadow: 0 4px 12px rgba(242, 114, 68, 0.04);
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: #ffccb0;
  box-shadow: 0 12px 28px -5px rgba(242, 114, 68, 0.12);
}

.partner-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner-icon-container {
  width: 42px;
  height: 42px;
  background-color: #ffe8db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e05a2b;
  flex-shrink: 0;
}

.partner-icon {
  width: 22px;
  height: 22px;
}

.partner-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #2c1810;
  margin: 0;
  line-height: 1.25;
}

.partner-card-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5c4c44;
  margin: 0;
}

.partner-action {
  display: flex;
  margin-top: 4px;
}

.partner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f27244;
  color: #ffffff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.92rem;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 10px rgba(242, 114, 68, 0.2);
  border: none;
  cursor: pointer;
}

.partner-btn:hover {
  background-color: #d65b2e;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(242, 114, 68, 0.3);
}

.partner-btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   Header Navigation Bar Styles
   ========================================================================== */
.navbar {
  position: absolute; /* Place inside hero section */
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  max-width: 100%; /* Fill hero container */
  height: 72px;
  background-color: transparent; /* Transparent backdrop */
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-normal);
}

.navbar-container {
  width: 100%;
  height: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end; /* Align mobile toggle to the right */
  align-items: center;
  position: relative;
}

/* Mobile Toggle Hamburger Icon */
.navbar-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.navbar-toggle span {
  width: 100%;
  height: 2px;
  background-color: #ffffff; /* White spans for visibility over hero overlay */
  border-radius: 4px;
  transition: all var(--transition-normal);
  transform-origin: left center;
}

/* Hamburger active transformation to 'X' */
.navbar-toggle.active span {
  background-color: var(--dark-text); /* Turn dark when menu drawer opens */
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(2px, -1px);
}

.navbar-toggle.active span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 1px);
}

/* Navigation Menu (Drawer/Drop-down style for mobile) */
.navbar-menu {
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98); /* White dropdown menu background */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  list-style: none;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-link {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-text); /* Dark text links for mobile dropdown */
  text-decoration: none;
  display: block;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.navbar-link:hover {
  color: var(--dark-forest);
}

/* Tablet & Desktop Navigation Overrides */
@media (min-width: 768px) {
  .navbar {
    max-width: 100%;
    left: 0;
    transform: none;
    background-color: transparent;
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    height: 80px;
  }
  
  .navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-toggle {
    display: none; /* Hide burger on tablet/desktop */
  }
  
  .navbar-menu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    background-color: #ffffff; /* White pill background */
    border-radius: 100px;
    padding: 6px;
    flex-direction: row;
    gap: 4px;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: none;
  }
  
  .navbar-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text); /* Dark text for links inside white pill */
    padding: 8px 18px;
    border-radius: 100px;
    display: inline-block;
    transition: all var(--transition-fast);
  }
  
  .navbar-link:hover {
    color: var(--dark-forest);
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  .navbar-link.active {
    background-color: var(--primary-green); /* Active tab green capsule background */
    color: #1a3011;
  }
}

