/* ============================================================
   HEADER CSS — Extracted exactly from wedding-wireframe-v13.html
   ============================================================ */

/* Wedding Top Navigation */
.top-nav {
  background: #2a2a2a;
  color: white;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-nav .icon {
  background: #444;
  border: 1px solid #666;
  padding: 6px 9px;
  cursor: pointer;
  font-family: monospace;
  color: white;
  font-size: 13px;
}

.top-nav .icon:hover {
  background: #555;
}

.top-nav .nav-brand {
  font-weight: bold;
  font-size: 13px;
  margin-right: auto;
  margin-left: 6px;
  letter-spacing: 0.5px;
}

.top-nav button {
  background: transparent;
  color: white;
  border: 1px solid #555;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 11px;
  font-family: inherit;
  border-radius: 2px;
}

.top-nav button:hover {
  background: #444;
}

.top-nav button.active {
  background: #666;
  border-color: #888;
}

.top-nav .rsvp-btn {
  background: #8a6f30;
  border-color: #b0904a;
}

.top-nav .rsvp-btn:hover {
  background: #b0904a;
}

.top-nav .countdown-mini {
  font-family: monospace;
  font-size: 11px;
  color: #ddd;
  border: 1px dashed #666;
  padding: 4px 8px;
}

.top-nav .guest-status {
  font-size: 11px;
  color: #aaa;
  border-left: 1px solid #555;
  padding-left: 12px;
  margin-left: 4px;
}

/* ============ BURGER DROPDOWN MENU (v12 — site-wide secondary nav) ============ */
/* Anchored to .burger-wrap which is position:relative.
 Contains pages NOT in the primary inline top nav. */
.burger-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

#burger-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #2a2a2a;
  border: 1px solid #555;
  border-top: 2px solid #e8c47a;
  padding: 6px 0;
  min-width: 220px;
  max-height: calc(100vh - 80px);
  overflow: visible;
  z-index: 101;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  font-family: inherit;
}

#burger-dropdown[hidden] {
  display: none;
}

.burger-section {
  padding: 6px 0;
}

.burger-section + .burger-section {
  border-top: 1px solid #3d3d3d;
  margin-top: 4px;
  padding-top: 10px;
}

.burger-section-label {
  font-size: 9px;
  color: #888;
  letter-spacing: 2px;
  padding: 2px 18px 6px;
  font-family: monospace;
  text-transform: uppercase;
}

#burger-dropdown a {
  display: block;
  padding: 7px 18px;
  color: #e6e6e6;
  text-decoration: none;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.3px;
  border-left: 2px solid transparent;
}

#burger-dropdown a:hover {
  background: #3a3a3a;
  color: #fff;
  border-left-color: #e8c47a;
}

#burger-dropdown a.active {
  background: #3a3a3a;
  color: #fff;
  border-left-color: #e8c47a;
}

.top-nav .icon.burger-open {
  background: #e8c47a;
  color: #2a2a2a;
}

/* Wireframe banner */
.wireframe-banner {
  background: #f0ebe4 !important;
  border-bottom: 1px solid #e8c47a !important;
  color: #8a6f30;
  position: relative;
  z-index: 50;
  padding: 8px 20px;
  font-family: monospace !important;
  text-align: center;
}

/* Blue Theme Navigation */
.top-nav {
  background: linear-gradient(180deg, #5a7db8 0%, #3f5f94 100%) !important;
  border-bottom: 2px solid #e8c47a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-nav .icon {
  background: rgba(181, 154, 107, 0.15) !important;
  border-color: rgba(201, 168, 118, 0.4) !important;
  color: #f0ebe4 !important;
}

.top-nav .icon:hover {
  background: rgba(181, 154, 107, 0.3) !important;
}

.top-nav .nav-brand {
  color: #f0ebe4 !important;
}

.top-nav button:not(.icon):not(.rsvp-btn):not(.scalloped) {
  background: transparent !important;
  color: #f0ebe4 !important;
  border-color: rgba(247, 240, 225, 0.25) !important;
}

.top-nav button:not(.icon):not(.rsvp-btn):not(.scalloped):hover {
  background: rgba(247, 240, 225, 0.1) !important;
  border-color: #f0cf8f !important;
}

.top-nav button.active {
  background: rgba(201, 168, 118, 0.25) !important;
  border-color: #f0cf8f !important;
}

.top-nav .countdown-mini {
  color: #f0ebe4 !important;
  border-color: rgba(201, 168, 118, 0.5) !important;
  background: rgba(0, 0, 0, 0.15);
}

.top-nav .rsvp-btn {
  background: linear-gradient(180deg, #f0cf8f 0%, #e8c47a 100%) !important;
  color: #2a1f0a !important;
  border-color: #b0904a !important;
  font-weight: bold;
}

.top-nav .rsvp-btn:hover {
  background: linear-gradient(180deg, #e8c47a 0%, #f0cf8f 100%) !important;
}

.top-nav .guest-status {
  color: rgba(247, 240, 225, 0.7) !important;
  border-left-color: rgba(247, 240, 225, 0.2) !important;
}

.top-nav .guest-status a {
  color: #f0cf8f !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .top-nav {
    padding: 8px;
    gap: 6px;
  }

  .top-nav button {
    font-size: 10px;
    padding: 5px 7px;
  }

  .top-nav .nav-brand {
    font-size: 11px;
  }

  .top-nav .countdown-mini {
    font-size: 10px;
    padding: 3px 6px;
  }

  .top-nav .guest-status {
    font-size: 10px;
  }
}
.top-nav a.nav-link {
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  color: white;
  border: 1px solid #e8c47a8f;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 2px;
}

/* ============ RSVP ADMIN DROPDOWN (Burger Menu) ============ */
.burger-rsvp-admin {
  position: relative;
  display: block;
}

.burger-rsvp-trigger::after {
  content: ' ›';
  float: right;
  opacity: 0.8;
}

.burger-rsvp-menu {
  position: absolute;
  top: 0;
  left: 100%;
  background: #2a2a2a;
  border: 1px solid #e8c47a;
  border-radius: 4px;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: all 0.2s ease;
  z-index: 9999;
}

.burger-rsvp-admin:hover .burger-rsvp-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.burger-rsvp-menu a {
  display: block;
  padding: 9px 14px;
  color: white;
  text-decoration: none;
  font-size: 12px;
  border-bottom: 1px solid rgba(232, 196, 122, 0.2);
  transition: background 0.2s;
}

.burger-rsvp-menu a:last-child {
  border-bottom: none;
}

.burger-rsvp-menu a:hover {
  background: rgba(232, 196, 122, 0.15);
  color: #f0cf8f;
}
