/* ------------------------------------------------
   Base / Reset
-------------------------------------------------- */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #F9FAFB;
  color: #1F2937;
}

.container, .dashboard-container, .dashboard {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

/* ========== Impersonation banner ========== */
:root{
  --header-height: 180px;
  --header-height-small: 150px; /* was 88px */
}

/* Ensure main content always starts below header */
main.container {
  margin-top: var(--header-height);
  transition: margin-top 0.25s ease;
}
body.has-impersonation main.container {
  margin-top: calc(var(--header-height) + 36px);
}

html, body {
  background: #F9FAFB;
  color: #1F2937;
}


/* banner unchanged */
.impersonation-banner{
  position:fixed; top:0; left:0; right:0;
  z-index:1200;
  background:#fff3cd; color:#856404;
  text-align:center; padding:6px 0;
  border-bottom:1px solid #ffeeba; font-weight:500;
}
body.has-impersonation{ padding-top: calc(var(--header-height) + 36px); }
.return-link{ color:#0c5460; font-weight:700; margin-left:10px; text-decoration:underline; }
.return-link:hover{ color:#084c54; }

/* header: remove overflow:hidden (it was clipping the nav when it wrapped) */
.site-header{
  position:fixed; top:0; left:0; right:0;
  height:var(--header-height);
  background:#2D7FF9; color:#fff;
  z-index:1100;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
  display:flex; align-items:center; justify-content:center;
  transition:height .25s ease-in-out, background .25s ease-in-out;
  /* overflow:hidden;  <-- REMOVE this line */
}

.site-header * {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* give the inner stack a touch of breathing room so content never kisses edges */
.header-inner{
  height:100%;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  gap:8px; width:100%;
  padding-block: 6px; /* helps avoid accidental clipping on tight heights */
}

/* slightly larger logo for large state; scaling keeps it safe when shrunk */
.logo-img{
  height:110px;           /* was 96px */
  width:auto;
  transform-origin:center;
  transition:transform .25s ease, height .25s ease;
}

/* Nav stays centered and never clips */
.nav-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;       /* ✅ center all items vertically */
  gap:18px;
  transition:transform .25s ease, opacity .25s ease;
  margin-bottom:6px;
}

.nav-links a{
  display:inline-block;     /* ✅ consistent box model for all links */
  color:#fff;
  text-decoration:none;
  font-weight:500;
  font-size:1rem;
  line-height:1.2;          /* ✅ consistent line height */
  padding:0;                /* base: no vertical padding */
  transition:opacity .2s ease;
}
.nav-links a:hover{ opacity:.85; text-decoration:underline; }

/* Highlight for staff dashboard link — aligned with others */
.nav-links a[href*="staff/dashboard"]{
  background:rgba(255,255,255,.15);
  padding:0 10px;           /* ✅ only horizontal padding */
  border-radius:6px;
  align-self:center;        /* ✅ ensure same vertical centering in flex row */
}
.nav-links a[href*="staff/dashboard"]:hover{
  background:rgba(255,255,255,.25);
}

/* responsive safety: tighten spacing on small screens so two-line nav doesn’t overflow */
@media (max-width: 480px){
  :root{
    --header-height: 200px;       /* a bit more headroom on very small screens */
    --header-height-small: 96px;  /* slightly taller when shrunk */
  }
  .logo-img{ height:100px; }
  .nav-links{ gap:12px; }
  .nav-links a{ font-size:0.95rem; }
}

/* ------------------------------------------------
   Cards / Buttons / Misc
-------------------------------------------------- */
.card, .event-card, .stat-card, .form-container, .orders-table {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.card:hover, .event-card:hover { transform: translateY(-3px); }

.btn, .btn-primary, .btn-secondary, .btn-view {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn, .btn-primary { background-color: #4e8cff; color: #fff; }
.btn-primary:hover { background-color: #3b6edb; }
.btn-secondary {
  background-color: #e0e0e0;
  color: #333;
  margin-left: 10px;
}
.btn-secondary:hover { background-color: #ccc; }
.btn-view {
  background-color: #28a745;
  color: #fff;
  margin-top: 10px;
  padding: 8px 16px;
}
.btn-view:hover { background-color: #218838; }

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.stat-card {
  flex: 1 1 200px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  text-align: center;
}
.stat-card h3 { margin-bottom: 10px; font-weight: 500; }
.value { font-size: 2rem; font-weight: 700; }

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.event-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.styled-form input, .styled-form textarea, .styled-form select {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}
.orders-table th, .orders-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.orders-table th { background: #f9f9f9; font-weight: 600; }
.orders-table tr:hover { background: #f3f7ff; }

.messages {
  max-width: 600px;
  margin: 20px auto;
  padding: 10px;
}
.message {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.subtitle { color: #666; margin-bottom: 30px; }
.no-events, .no-orders { color: #888; font-style: italic; }

#order-search-input:focus {
  outline: none;
  border-color: #4e8cff;
  box-shadow: 0 0 4px rgba(78,140,255,0.4);
}

/* --- Staff Dashboard User Actions --- */
.role-cell {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-badge {
  background: #dc3545;
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 8px;
  white-space: nowrap;
  align-self: center;
}

.table-actions {
  display: flex;
  align-items: center;        /* ✅ fixes vertical misalignment */
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  white-space: nowrap;
}

.table-actions a {
  display: inline-flex;       /* ✅ keeps buttons level */
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px 10px;
  font-size: 0.85rem;
  border-radius: 6px;
  white-space: nowrap;
}

/* --- Fine-tuning button alignment inside table actions --- */
.table-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 7px 11px;             /* unified padding for all buttons */
  font-size: 0.85rem;
  line-height: 1;                /* 🔧 stops baseline offset */
  border-radius: 6px;
  white-space: nowrap;
  vertical-align: middle;
}

.table-actions .btn-view {
  margin-top: 0 !important;      /* override any inherited spacing */
  position: relative;
  top: 0;                        /* ensure same baseline */
}

/* ====== Publish / Unpublish Buttons ====== */

.btn-publish {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  margin-top: 8px;
  margin-right: 8px;
}

.btn-publish-active {
  background-color: #28a745; /* green */
}

.btn-publish-active:hover {
  background-color: #218838;
}

.btn-unpublish {
  background-color: #dc3545; /* red */
}

.btn-unpublish:hover {
  background-color: #c82333;
}

.status-badge {
  display: inline-block;
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.policy-card input.policy-title {
  width: 100%;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.policy-card textarea.policy-content {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 120px;
}

/* 🕒 NZDT Clock */
#nav-current-time {
  position: fixed;
  top: 10px;
  right: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(81, 85, 107, 0.8);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* 🌏 Unified footer */
.site-footer {
  text-align: center;
  padding: 25px 0;
  background: #ffffff;
  border-top: 1px solid #ddd;
  color: #555;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 4px 0;
}

.footer-disclaimer {
  font-style: italic;
  color: #777;
  font-size: 0.85rem;
}

.footer-links a {
  color: #2d7ff9;
  text-decoration: none;
  font-weight: 500;
  margin: 0 4px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-logo img {
  display: block;
  margin: 14px auto 0;
  max-height: 100px;
  opacity: 0.9;
}

/* Dynamic ticket table controls */
.ticket-types-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.ticket-types-table th,
.ticket-types-table td {
  padding: 8px;
  border-bottom: 1px solid #eee;
}

.ticket-types-table th {
  background: #f5f7fa;
  text-align: left;
  font-weight: 600;
  color: #333;
}

.remove-row {
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  background: #dc3545;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
}

.remove-row:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#add-ticket-type {
  margin-top: 8px;
  font-size: 0.95rem;
}

/* Publish toggle switch */
.publish-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 24px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 26px;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background-color: #28a745;
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

.toggle-label {
  font-weight: 500;
  color: #333;
}

/* Inline terms */
.terms-wrapper {
  margin: 24px 0;
}

.terms-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #333;
}

.terms-label a {
  color: #2d7ff9;
  text-decoration: none;
}

.terms-label a:hover {
  text-decoration: underline;
}

/* Inline terms fix */
.terms-wrapper {
  margin: 20px 0;
}

.terms-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #333;
}

.terms-label a {
  color: #2d7ff9;
  text-decoration: none;
}

.terms-label a:hover {
  text-decoration: underline;
}

/* Publish toggle switch */
.publish-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 24px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 26px;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background-color: #28a745;
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

.toggle-label {
  font-weight: 500;
  color: #333;
}

/* 🔧 Final inline alignment fix for terms checkbox */
.terms-wrapper {
  margin: 20px 0;
  text-align: left; /* ensure it doesn't float right in .styled-form */
}

.terms-label {
  display: inline-flex !important; /* force side-by-side */
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px;
  flex-wrap: nowrap;
  font-size: 0.95rem;
  color: #333;
}

.terms-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  transform: scale(1.1); /* subtle visual polish */
}

.terms-label span,
.terms-label a {
  line-height: 1.4;
  vertical-align: middle;
}

.terms-label a {
  color: #2d7ff9;
  text-decoration: none;
}

.terms-label a:hover {
  text-decoration: underline;
}

/* 🧩 Fix input overflow inside .form-container cards */
.form-container form {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.styled-form input,
.styled-form textarea,
.styled-form select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: block;
}

.sales-bar {
  width: 100%;
  height: 10px;
  background-color: #e6e6e6;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 6px;
}

.sales-bar-fill {
  height: 100%;
  background-color: #2d7ff9;
  transition: width 0.4s ease;
}

/* ===============================
   🎟️ Ticket Status Badges
=================================*/
.ticket-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.ticket-status.onsale {
  background-color: #28a745; /* green */
}

.ticket-status.soon {
  background-color: #6c757d; /* grey */
}

.ticket-status.closed {
  background-color: #999; /* darker grey */
}

.ticket-status.soldout {
  background-color: #dc3545; /* red */
}

/* ===============================
   🎟️ Public Event Page Buttons
=================================*/
.event-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.event-actions a {
  display: inline-block;
  min-width: 160px;
  text-align: center;
}

.event-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.event-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: 12px;
}

.event-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.event-banner .event-title {
  position: absolute;
  bottom: 20px;
  left: 30px;
  font-size: 2.2rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Fix grid stretch issue on event layout */
.event-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: flex-start; /* prevent full-height stretch */
}

.event-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.event-meta li {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.event-description p {
  color: #555;
  line-height: 1.6;
}


/* Limit sidebar card height to its content */
.event-tickets {
  height: auto;
  align-self: start;
}

.ticket-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.ticket-table th,
.ticket-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.ticket-status {
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 6px;
}

.ticket-status.soldout { color: #c62828; background: #fdecea; }
.ticket-status.onsale { color: #2e7d32; background: #e8f5e9; }
.ticket-status.soon { color: #ff9800; background: #fff3e0; }
.ticket-status.closed { color: #555; background: #f2f2f2; }

.event-actions {
  text-align: center;
  margin-top: 15px;
}

.btn-disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
}

.home-container section { margin: 80px 0; text-align: center; }
/* ===============================
   🧡 HERO SECTION (Playful Bruno)
================================= */

.hero {
  position: relative;
  padding: 100px 20px 120px;
  background: transparent;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 15px;
  line-height: 1.15;
}

.hero-text p {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: #4b5563;
  margin-bottom: 25px;
  line-height: 1.6;
  max-width: 540px;
}

.hero-buttons a {
  margin-right: 12px;
}

/* Bruno the mascot */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  transform: translateY(40px);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.15));
  transition: transform 0.4s ease, filter 0.4s ease;
  animation: floaty 5s ease-in-out infinite;
}

.hero-image img:hover {
  transform: translateY(30px) scale(1.03);
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.25));
}

/* subtle floating motion */
@keyframes floaty {
  0% { transform: translateY(40px); }
  50% { transform: translateY(30px); }
  100% { transform: translateY(40px); }
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 25px;
  }

  .hero-image img {
    max-width: 340px;
    transform: translateY(20px);
  }
}

/* ===============================
   🗨️ Bruno Speech Bubble
================================= */

.bruno-wrapper {
  position: relative;
  display: inline-block;
}

/* the bubble itself */
.bruno-wrapper::before {
  content: "Kia ora, I’m Bruno 👋";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #1f2937;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  white-space: nowrap;
  animation: popIn 0.8s ease-out;
}

/* the little triangle pointer */
.bruno-wrapper::after {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* appear animation */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

/* responsive positioning */
@media (max-width: 900px) {
  .bruno-wrapper::before {
    top: -50px;
    font-size: 0.9rem;
  }
  .bruno-wrapper::after {
    top: -14px;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
.feature-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.feature-card img {
  width: 60px;
  margin-bottom: 15px;
}
.feature-card h3 { color: #111; margin-bottom: 10px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
}
.step-number {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
blockquote {
  background: #fff;
  border-left: 4px solid #2563eb;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.cta-final { margin-top: 100px; }

.event-list-page {
  text-align: center;
  margin-top: 40px;
}
.event-list-page h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.subtitle {
  color: #666;
  margin-bottom: 40px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.event-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.event-card-body {
  padding: 15px 20px 25px;
}
.event-card-body h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #1f2937;
}
.event-date {
  font-weight: 600;
  color: #2563eb;
  margin-top: 6px;
}
.event-location {
  color: #555;
  margin-bottom: 15px;
}

/* ------------------------------------------
   SmplTix – About Page Custom Styling
------------------------------------------- */

/* Base text + layout feel */
body {
  background-color: #F9FAFB;
  color: #1F2937;
  font-family: 'Inter', sans-serif;
}

/* Headings */
h1, h2, h3 {
  color: #1F2937;
  font-weight: 700;
}

/* Highlight key phrases */
strong {
  color: #2563EB; /* SmplTix blue accent */
}

/* Hero section */
section:first-of-type {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border-radius: 24px;
  padding: 60px 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Value cards */
section div.bg-white {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

section div.bg-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* CTA buttons */
a.bg-blue-600 {
  background-color: #2563EB;
  transition: all 0.2s ease;
}
a.bg-blue-600:hover {
  background-color: #1E40AF;
}

a.bg-gray-100 {
  transition: all 0.2s ease;
}
a.bg-gray-100:hover {
  background-color: #E5E7EB;
}

/* Bruno image subtle hover */
img[alt*="Bruno"]:hover {
  transform: rotate(-2deg) scale(1.05);
  transition: transform 0.3s ease;
}

/* Section spacing */
section {
  scroll-margin-top: 100px;
}

/* ===========================================
   🧭 Static Page Spacing Fix (About / Contact)
=========================================== */
.page-static main.container {
  /* Override default margin from base.css */
  margin-top: 100px !important;  /* instead of var(--header-height) */
}

@media (max-width: 600px) {
  .page-static main.container {
    margin-top: 120px !important;
  }
}

/* ===============================
   🚀 Coming Soon Page Styling
=================================*/

.coming-soon-container {
  max-width: 500px;
  margin: 120px auto;
  text-align: center;
  padding: 40px 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.coming-soon-container h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1F2937;
  margin-bottom: 0.5em;
}

.coming-soon-container p {
  color: #4B5563;
  margin-bottom: 2em;
  font-size: 1.05rem;
  line-height: 1.6;
}

.coming-soon-logo {
  width: 160px;
  display: block;
  margin: 0 auto 15px;
}

.notify-form input[type="email"] {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.25s ease;
}

.notify-form input[type="email"]:focus {
  outline: none;
  border-color: #2D7FF9;
  box-shadow: 0 0 0 3px rgba(45,127,249,0.15);
}

.success-message {
  color: #16A34A;
  margin-top: 10px;
  display: none;
  font-weight: 600;
}

.corner-login {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 0.9em;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.corner-login:hover {
  color: #2D7FF9;
}

.event-description {
  white-space: pre-wrap;
  line-height: 1.6;
  color: #374151; /* text-gray-700 */
  margin: 20px 0;
  text-align: left;
}
