/* Header styles copied from index.html (canonical). Edit this file to change header across all pages. */
/* Make the header sticky so it remains visible when scrolling */
.header-area.header-sticky {
	position: sticky;
	top: 0;
	z-index: 1100;
	background: rgba(255,255,255,0.98);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 16px rgba(0,0,0,0.08);
	border-bottom: 1px solid rgba(52,116,134,0.12);
}

.header-area.header-sticky .container { padding-left: 8px; padding-right: 8px; }

/* Fallback: if sticky is prevented by parent stacking/context, force fixed positioning
	 and push the main content down so it doesn't hide under the header. Use conservative
	 height of 70px which matches other theme rules; adjust if your header is taller. */
.header-area.header-sticky.force-fixed {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 1200 !important;
}

/* When header is fixed, offset the main content to avoid overlap. If your pages use a
	 different top-level content element, add an appropriate selector. */
.header-area.header-sticky.force-fixed + main {
	margin-top: 70px !important;
}

.header-area.header-sticky.force-fixed + .container {
	margin-top: 70px !important;
}

/* The template's custom.js adds .background-header on scroll (position: fixed !important
   in templatemo CSS). This neutralises that override so our sticky implementation is not
   broken on pages that don't have a .header-text element (shop, events, gear, etc.). */
.header-area.header-sticky.background-header {
	position: sticky !important;
	top: 0 !important;
}

.main-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	width: 100%;
	position: relative;
}
.btn-outline-secondary:hover { border-color: #ffffff; }

.logo {
	flex: 0 0 clamp(100px, 12vw, 160px);
	width: clamp(100px, 12vw, 160px);
	margin-right: 12px;
}

.logo img { height: auto; object-fit: contain; }

.nav-container {
	flex: 1.6 1 0%;
	max-width: none;
	margin-left: 8px;
	transition: all 0.3s ease-in-out;
}

.navbar-collapse { transition: all 0.3s ease; }

@media (max-width: 575.98px) {
	.main-nav { padding: 10px; }
	.logo { width: 160px; }
	.container-fluid { position: relative; padding: 0; }
	.nav-container {
		top: 100%; left: 0; right: 0; margin-top: 0.5rem;
		padding: 10px; background-color: transparent;
		border-radius: 4px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);
		z-index: 1000; width: 50% !important; max-width: 50% !important; margin-left: auto !important; margin-right: 0 !important; box-sizing: border-box;
	}
	.navbar-collapse:not(.show) { display: none; }
	.menu-buttons > div {height: 178px;background-color: rgb(253 253 253 / 90%); display: flex !important; gap: 4px !important; flex-direction: column !important; width: 100% !important;border-radius: 11px; }
	.menu-buttons button, .menu-buttons a { font-size: 14px !important; padding: 8px 12px !important; margin-bottom: 5px; }
	.custom-dropdown { width: 100% !important; }
	.custom-dropdown button { width: 100%; text-align: center; }
	.custom-dropdown-menu { position: static; width: 100%; font-size: 14px; margin-top: 0; border-radius: 0 0 4px 4px; background-color: rgba(0, 129, 156, 0.97); border-color: rgba(255,255,255,0.06); }

	/* Ensure mobile dropdowns are visible when .show is applied (fallback for pages with stacking contexts) */
	.custom-dropdown-menu.show {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		z-index: 1250 !important;
	}
	.navbar-toggler { border-color: #005a79; color: #005a79; padding: clamp(4px, 1vw, 8px); width: clamp(35px, 8vw, 56px); height: clamp(35px, 8vw, 56px); display:flex; align-items:center; justify-content:center; }
	.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(0,90,121,0.25); }
	.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 90, 121, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); width: clamp(24px, 5vw, 32px); height: clamp(24px, 5vw, 32px); }
}

@media (min-width: 576px) {
	.container-fluid.p-0 { display:flex; align-items:center; }
	.eddie-logo { width:70px; }
	.container-fluid.p-0 > .d-flex { flex:0 0 33.3333%; max-width:33.3333%; display:flex; align-items:center; gap:8px; }
	.logo { flex:0 0 auto; width: clamp(100px, 8vw, 160px); }
	.nav-container { flex:0 0 66.6666%; max-width:66.6666%; }
	.navbar-expand-sm .navbar-collapse { display:flex !important; width:100%; }
}

/* Media queries for responsive layout */
@media (max-width: 575.98px) {
	.main-nav { flex-direction: column; align-items: stretch; padding: 10px; }
	.logo { margin: 0 auto 15px; text-align: center; }
	.nav-container { width: 100%; margin-top: 5px; }
	.menu-buttons { flex-direction: column; gap: 10px; }
	#modal_trigger { width: 100%; }
}

/* Dropdown styling */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 1000; display: none; min-width: 100%; margin-top: 2px; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.dropdown-menu.show { display: block; }
.dropdown-menu-dark { background-color: #005a79; border: 1px solid rgba(255,255,255,0.1); }
.dropdown-menu-dark .dropdown-item { color: white; padding: 8px 12px; font-size: clamp(12px, 2.5vw, 14px); }
.dropdown-menu-dark .dropdown-item:hover { background-color: #0082ad; }
.custom-dropdown { position: relative; display: inline-block; }
.custom-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  padding: 6px; margin-top: 0;
  background: #fff;
  border: 1px solid rgba(52,116,134,0.15);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
  list-style: none; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1000;
}
.custom-dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-dropdown-menu li { padding: 0; margin: 0; }
.custom-dropdown-menu li a {
  display: block; padding: 8px 14px;
  color: #1a3a5c; font-weight: 600; font-size: clamp(12px, 2.5vw, 13.5px);
  text-decoration: none; border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.custom-dropdown-menu li a:hover { background: rgba(52,116,134,0.1); color: #347486; }
.custom-dropdown-menu li + li { margin-top: 1px; }
.custom-dropdown-menu.show ~ .overlay { position: fixed; inset: 0; z-index: 999; }

/* Mobile: revert to teal background on small screens */
@media (max-width: 575.98px) {
  .custom-dropdown-menu {
    display: none;
    position: static; transform: none; border-radius: 8px; margin-top: 4px;
    background: rgba(0, 129, 156, 0.97);
    border-color: rgba(255,255,255,0.06);
    box-shadow: none;
    opacity: 1; visibility: visible;
  }
  .custom-dropdown-menu.show { display: block; transform: none; }
  .custom-dropdown-menu li a { color: #fff; border-radius: 6px; }
  .custom-dropdown-menu li a:hover { background: rgba(255,255,255,0.15); color: #fff; }
}

/* Nav CTA buttons */
.nav-cta {
  background: #347486;
  color: #fff !important;
  border: none !important;
  border-radius: 9px;
  padding: 8px 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 3px 10px rgba(26,82,118,0.2);
  position: relative;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: #2a6a7a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(26,82,118,0.3);
  color: #fff !important;
}
.nav-cta:active { transform: translateY(0); background: #245e6c; box-shadow: 0 2px 6px rgba(26,82,118,0.2); }

/* Current-page active state */
.nav-cta.page-active {
  background: #1a5276;
  box-shadow: 0 4px 14px rgba(26,82,118,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.nav-cta.page-active:hover { background: #154460; }

/* Log In — outlined to distinguish from nav buttons */
#modal_trigger.nav-cta {
  background: #fff;
  border: 2px solid #347486 !important;
  color: #347486 !important;
  box-shadow: none;
  font-weight: 700;
}
#modal_trigger.nav-cta:hover {
  background: #347486;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(26,82,118,0.3);
  transform: translateY(-2px);
}

/* ── Login coming-soon modal ── */
.login-soon-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
}
.login-soon-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.86);
  background: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.32);
  z-index: 1600;
  display: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.login-soon-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.login-soon-top {
  background: linear-gradient(135deg, #3b96b1 0%, #1a5276 100%);
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
}
.login-soon-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1b3a5c;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.login-soon-body {
  padding: 24px 28px 16px;
  text-align: center;
  color: #556;
  line-height: 1.75;
  font-size: 0.93rem;
}
.login-soon-footer {
  padding: 0 28px 26px;
  text-align: center;
}
.login-soon-footer button {
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 32px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease;
  min-width: 150px;
}
.login-soon-footer button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  color: #fff;
}

/* Placeholder color for inputs/textareas inside the message modal */
/* Scoped so it only affects the message modal used across pages (#messageModal) */
#messageModal input::placeholder,
#messageModal textarea::placeholder {
	color: #6c757d; /* muted gray that matches other form controls */
	opacity: 1; /* ensure visible in all browsers */
}

/* Vendor-prefixed selectors for older browsers */
#messageModal input::-webkit-input-placeholder,
#messageModal textarea::-webkit-input-placeholder { color: #6c757d; opacity: 1; }
#messageModal input::-moz-placeholder,
#messageModal textarea::-moz-placeholder { color: #6c757d; opacity: 1; }
#messageModal input:-ms-input-placeholder,
#messageModal textarea:-ms-input-placeholder { color: #6c757d; opacity: 1; }
#messageModal input:-moz-placeholder,
#messageModal textarea:-moz-placeholder { color: #6c757d; opacity: 1; }

