/* ============ RCKK design system ============ */
:root { --rotary: #0B3D91; --navy: #0A2A6B; --gold: #FFB81C; }

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; }

/* ---- floating glass navbar ---- */
#siteNav .nav-shell {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(10, 42, 107, 0.1);
  box-shadow: 0 8px 30px -12px rgba(10, 42, 107, 0.25);
  color: var(--navy);
}
#siteNav.scrolled .nav-shell { background: rgba(255, 255, 255, 0.95); box-shadow: 0 12px 36px -12px rgba(10, 42, 107, 0.35); }
.nav-link { color: #334155; }
.nav-link:hover { background: rgba(11, 61, 145, 0.08); color: var(--navy); }
.nav-link.active { background: var(--navy); color: #fff; }
#mobileNav { display: none; background: rgba(255, 255, 255, 0.97); border: 1px solid rgba(10, 42, 107, 0.1); }
#mobileNav.open {
  display: flex; flex-direction: column; gap: 0.25rem;
  animation: menu-drop 0.28s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  transform-origin: top center;
}
@keyframes menu-drop { from { opacity: 0; transform: translateY(-10px) scale(0.98); } to { opacity: 1; transform: none; } }
#mobileNav .m-link { display: flex; align-items: center; color: #334155; padding: 0.7rem 1rem; border-radius: 0.75rem; transition: background 0.2s ease; }
#mobileNav .m-link:hover { background: rgba(11, 61, 145, 0.08); }
#mobileNav .m-link.active { background: var(--navy); color: #fff; }
#mobileNav .btn-gold { display: flex; }

.btn-gold {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, #FFB81C, #ff9d00);
  color: #0A2A6B; font-weight: 800; font-size: 13px;
  padding: 0.6rem 1.2rem; border-radius: 999px;
  box-shadow: 0 8px 20px -6px rgba(255, 157, 0, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-gold:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 26px -6px rgba(255, 157, 0, 0.7); }

.btn-navy {
  display: inline-flex; align-items: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 14px;
  padding: 0.75rem 1.6rem; border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(10, 42, 107, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-navy:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(10, 42, 107, 0.7); }

.btn-ghost {
  display: inline-flex; align-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.5); color: #fff;
  font-weight: 700; font-size: 14px; padding: 0.75rem 1.6rem; border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }

/* ---- footer ---- */
.footer-bg { background: radial-gradient(1200px 400px at 20% -10%, #16489f 0%, transparent 60%), linear-gradient(180deg, #0A2A6B, #071D4D); }
.f-head { font-size: 11px; font-weight: 800; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.f-link { color: rgba(255, 255, 255, 0.75); transition: color 0.2s, padding-left 0.2s; }
.f-link:hover { color: var(--gold); padding-left: 4px; }
.soc {
  display: grid; place-items: center; height: 2.5rem; width: 2.5rem; border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}
.soc:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); border-color: transparent; }

/* ---- cards (shadcn-like) ---- */
.card {
  background: #fff; border: 1px solid rgba(2, 12, 40, 0.08); border-radius: 1.25rem;
  box-shadow: 0 4px 24px -6px rgba(2, 12, 40, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px -12px rgba(10, 42, 107, 0.28); border-color: rgba(255, 184, 28, 0.5); }

.icon-tile {
  display: grid; place-items: center; flex-shrink: 0;
  height: 3rem; width: 3rem; border-radius: 1rem;
  background: linear-gradient(135deg, #0B3D91, #16489f); color: #FFB81C;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 18px -8px rgba(10, 42, 107, 0.6);
}
.icon-tile.gold { background: linear-gradient(135deg, #FFB81C, #ff9d00); color: #0A2A6B; }

.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.4rem 0.9rem; border-radius: 999px;
}
.badge-gold { background: rgba(255, 184, 28, 0.16); color: #b97a00; border: 1px solid rgba(255, 184, 28, 0.45); }
.badge-navy { background: rgba(11, 61, 145, 0.08); color: #0A2A6B; border: 1px solid rgba(11, 61, 145, 0.2); }

/* ---- ticker marquee ---- */
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 0.75rem; width: max-content; animation: marquee 28s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- entrance + ambient animation ---- */
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.92) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -26px) scale(1.08); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-26px, 20px) scale(1.06); } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 184, 28, 0.5); } 70% { box-shadow: 0 0 0 14px rgba(255, 184, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 184, 28, 0); } }

.anim-rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.anim-pop { animation: pop 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.float-a { animation: drift 9s ease-in-out infinite; }
.float-b { animation: drift2 12s ease-in-out infinite; }
.pulse-gold { animation: pulse-ring 2.4s ease-out infinite; }
.shine-text { background: linear-gradient(110deg, #FFB81C 20%, #fff 40%, #FFB81C 60%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* gradient orbs + grid backdrop for heroes */
.hero-grid { background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 10%, #000 40%, transparent 75%); mask-image: radial-gradient(ellipse 90% 90% at 50% 10%, #000 40%, transparent 75%); }

/* ---- filter chips ---- */
.chip {
  font-size: 12px; font-weight: 700; padding: 0.5rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid rgba(2, 12, 40, 0.12); color: #475569;
  transition: all 0.2s ease; cursor: pointer;
}
.chip:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }
.chip-on { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }

/* ---- FAQ accordion ---- */
.faq { border: 1px solid rgba(2, 12, 40, 0.1); border-radius: 1rem; background: #fff; overflow: hidden; transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.faq:hover { border-color: rgba(255, 184, 28, 0.55); }
.faq[open] { box-shadow: 0 10px 30px -12px rgba(10, 42, 107, 0.25); border-color: rgba(255, 184, 28, 0.55); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem; font-weight: 700; color: #0A2A6B; font-size: 14.5px; line-height: 1.45; }
@media (min-width: 640px) { .faq summary { padding: 1rem 1.25rem; font-size: 15px; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 3px solid rgba(255, 184, 28, 0.55); outline-offset: -3px; border-radius: 1rem; }
.faq-n { flex-shrink: 0; display: grid; place-items: center; height: 2rem; width: 2rem; border-radius: 0.8rem; background: linear-gradient(135deg, #0B3D91, #16489f); color: #FFB81C; font-family: Sora, Inter, sans-serif; font-size: 12px; font-weight: 800; }
.faq[open] .faq-n { background: linear-gradient(135deg, #FFB81C, #ff9d00); color: #0A2A6B; }
.faq-q { flex: 1 1 auto; min-width: 0; }
.faq summary .faq-x { display: grid; place-items: center; height: 1.75rem; width: 1.75rem; border-radius: 999px; background: rgba(11, 61, 145, 0.08); color: #0A2A6B; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), background 0.3s ease, color 0.3s ease; flex-shrink: 0; margin-left: auto; }
.faq[open] summary .faq-x { transform: rotate(135deg); background: #FFB81C; color: #0A2A6B; }
.faq[open] summary { background: linear-gradient(90deg, rgba(255, 184, 28, 0.14), rgba(255, 184, 28, 0.03)); border-radius: 1rem 1rem 0 0; }
/* smooth height animation for the answer */
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.38s cubic-bezier(0.2, 0.7, 0.3, 1); }
.faq[open] .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { padding: 0 1rem 1.1rem 3.6rem; color: #475569; font-size: 14px; line-height: 1.75; }
@media (min-width: 640px) { .faq-a p { padding: 0 1.25rem 1.25rem 3.9rem; } }

/* ---- avenue radio pills ---- */
.ave input { position: absolute; opacity: 0; pointer-events: none; }
.ave span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 12.5px; font-weight: 700; padding: 0.55rem 1rem; border-radius: 999px; background: #f1f5f9; border: 1.5px solid transparent; color: #475569; cursor: pointer; transition: all 0.2s ease; }
.ave span:hover { border-color: #0A2A6B; color: #0A2A6B; }
.ave input:checked + span { background: #0A2A6B; color: #fff; border-color: #0A2A6B; box-shadow: 0 8px 18px -8px rgba(10, 42, 107, 0.6); }
.ave input:focus-visible + span { outline: 3px solid rgba(255, 184, 28, 0.5); }

/* ---- premium form fields ---- */
.field label, .field > p.flabel { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; margin-bottom: 0.45rem; }
.field label .req { color: #d97706; }
.field .in-wrap { position: relative; }
.field .in-wrap > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 14px; transition: color 0.2s ease; pointer-events: none; }
.field .in-wrap:focus-within > i { color: #b97a00; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; border: 1.5px solid #e2e8f0; border-radius: 0.9rem;
  padding: 0.8rem 1rem; font-size: 14px; background: #f8fafc; color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field .in-wrap input { padding-left: 2.75rem; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cbd5e1; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #FFB81C; background: #fff; box-shadow: 0 0 0 4px rgba(255, 184, 28, 0.22); }
.form-group { border: 1px solid rgba(2, 12, 40, 0.08); border-radius: 1.25rem; padding: 1.1rem; background: #fff; }
@media (min-width: 640px) { .form-group { padding: 1.5rem; } }
/* global fallback for non-.field forms (e.g. contact page) */
input, select, textarea { outline: none; }
input:focus, select:focus, textarea:focus { border-color: #FFB81C; box-shadow: 0 0 0 4px rgba(255, 184, 28, 0.22); }
.form-group > legend, .form-group > .ghead { display: flex; align-items: center; gap: 0.6rem; font-family: Sora, Inter, sans-serif; font-weight: 800; color: #0A2A6B; font-size: 15px; padding: 0 0.4rem; margin-bottom: 0.25rem; }
.form-group > .ghead .step { display: grid; place-items: center; height: 1.6rem; width: 1.6rem; border-radius: 0.6rem; background: #0A2A6B; color: #FFB81C; font-size: 11px; }

/* ---- event photo gallery + lightbox ---- */
.ev-thumb { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(4, 10, 30, 0.92);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox .lb-fig { max-width: min(1100px, 94vw); text-align: center; margin: 0; }
.lightbox img { max-width: 100%; max-height: 76vh; border-radius: 1rem; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.65); }
.lightbox figcaption { margin: 0.9rem auto 0; max-width: 60rem; color: rgba(255, 255, 255, 0.85); font-size: 13.5px; line-height: 1.6; }
.lb-btn {
  position: absolute; display: grid; place-items: center;
  height: 2.75rem; width: 2.75rem; border-radius: 999px; font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.lb-btn:hover { background: var(--gold); color: var(--navy); border-color: transparent; transform: scale(1.08); }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.08); }
.lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-next:hover { transform: translateY(-50%) scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  .anim-rise, .anim-pop, .float-a, .float-b, .ticker-track, .shine-text, .pulse-gold { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
