/* Briskcornersortscou — custom styles (complements Tailwind CDN) */
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; }
.font-display { font-family: 'Manrope', 'Inter', system-ui, sans-serif; }

/* Buttons */
.btn-primary, .btn-gold, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .9rem; padding: .7rem 1.1rem; border-radius: .8rem;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn-primary { background: #0D5EAF; color: #fff; box-shadow: 0 8px 24px -10px rgba(13,94,175,.7); }
.btn-primary:hover { background: #0b4f93; transform: translateY(-1px); }
.btn-gold { background: #D4AF37; color: #101827; box-shadow: 0 8px 24px -10px rgba(212,175,55,.7); }
.btn-gold:hover { background: #e2c25a; transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(245,245,245,.18); color: #F5F5F5; background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: #D4AF37; color: #D4AF37; }
.btn-primary:focus-visible, .btn-gold:focus-visible, .btn-ghost:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid #D4AF37; outline-offset: 2px;
}

/* Navigation */
.nav-link { padding: .5rem .8rem; border-radius: .6rem; color: rgba(245,245,245,.75); transition: all .2s ease; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-link[aria-current="page"] { color: #D4AF37; background: rgba(212,175,55,.08); }

/* Surfaces */
.card { background: #1C1F24; border: 1px solid rgba(255,255,255,.08); border-radius: 1.25rem; }
.glass { background: rgba(16,24,39,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); }
.chip { display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; padding: .22rem .6rem; border-radius: 999px;
  background: rgba(13,94,175,.18); color: #bcd6f5; border: 1px solid rgba(13,94,175,.38); }
.chip-gold { background: rgba(212,175,55,.12); color: #ecd27d; border-color: rgba(212,175,55,.35); }
.badge-21 { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .75rem;
  border: 2px solid #D4AF37; color: #D4AF37; border-radius: 999px; padding: .15rem .55rem; }

/* Form controls */
.input { width: 100%; background: #1C1F24; border: 1px solid rgba(255,255,255,.12); color: #F5F5F5;
  border-radius: .8rem; padding: .7rem .9rem; font-size: .92rem; transition: border-color .2s ease, box-shadow .2s ease; }
.input::placeholder { color: rgba(245,245,245,.45); }
.input:focus { outline: none; border-color: #0D5EAF; box-shadow: 0 0 0 3px rgba(13,94,175,.35); }
select.input option { background: #1C1F24; color: #F5F5F5; }
.label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: rgba(245,245,245,.7); margin-bottom: .35rem; }

/* Hero background — floodlit stadium with deep navy gradient overlay */
.hero-stadium-night-bg {
  background-color: #101827;
  background-image:
    linear-gradient(115deg, rgba(16,24,39,.97) 0%, rgba(16,24,39,.88) 45%, rgba(13,94,175,.55) 100%),
    url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?auto=format&fit=crop&w=1920&q=80');
  background-size: cover; background-position: center;
}
/* Page header background — Athens Acropolis with navy overlay */
.page-header-acropolis-bg {
  background-color: #101827;
  background-image:
    linear-gradient(180deg, rgba(16,24,39,.9), rgba(16,24,39,.97)),
    url('https://images.unsplash.com/photo-1555993539-1732b0258235?auto=format&fit=crop&w=1920&q=80');
  background-size: cover; background-position: center;
}
.greek-meander {
  background-image: repeating-linear-gradient(90deg, rgba(212,175,55,.5) 0 12px, transparent 12px 18px);
  height: 3px;
}

/* Cards */
.loc-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; transform-style: preserve-3d; }
.loc-card:hover { transform: translateY(-5px) perspective(900px) rotateX(1.5deg); border-color: rgba(212,175,55,.35);
  box-shadow: 0 24px 50px -24px rgba(13,94,175,.55); }
.loc-card img { transition: transform .6s ease; }
.loc-card:hover img { transform: scale(1.05); }

/* 3D floating elements */
.perspective { perspective: 1400px; }
.tilt-3d { transform: rotateX(7deg) rotateY(-9deg); transform-style: preserve-3d; transition: transform .6s ease; }
.tilt-3d:hover { transform: rotateX(2deg) rotateY(-3deg); }
.float { animation: float 6s ease-in-out infinite; }
.float-delay { animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Map pins (3D-style animated markers) */
.map-pin { background: transparent; border: 0; }
.map-pin .pin-inner { position: relative; width: 24px; height: 30px; animation: pin-drop .7s cubic-bezier(.3,1.4,.5,1) both; }
.map-pin .dot { position: absolute; left: 4px; top: 2px; width: 16px; height: 16px; background: linear-gradient(135deg, #f1d36b, #D4AF37 60%, #a8861f);
  border: 3px solid #101827; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 6px 12px rgba(0,0,0,.55), inset -2px -2px 3px rgba(0,0,0,.25); }
.map-pin .pulse { position: absolute; left: 4px; top: 16px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(212,175,55,.45); animation: pin-pulse 2.2s ease-out infinite; }
.map-pin.user .dot { background: linear-gradient(135deg, #5aa2ec, #0D5EAF); border-radius: 50%; transform: none; }
.map-pin.user .pulse { background: rgba(13,94,175,.55); }
@keyframes pin-pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes pin-drop { from { transform: translateY(-34px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Leaflet dark theme */
.leaflet-container { background: #101827; font-family: 'Inter', system-ui, sans-serif; }
/* Keyless OpenStreetMap / Esri tiles rendered in the site's dark navy style */
.bcs-tiles-dark { filter: invert(100%) hue-rotate(180deg) brightness(92%) contrast(88%) saturate(55%); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #1C1F24; color: #F5F5F5; border: 1px solid rgba(255,255,255,.1); }
.leaflet-popup-content { margin: 12px 14px; font-size: 13px; line-height: 1.45; }
.leaflet-container a.leaflet-popup-close-button { color: #bbb; }
.leaflet-control-attribution { background: rgba(16,24,39,.8) !important; color: #9aa4b2 !important; }
.leaflet-control-attribution a { color: #7fb4ec !important; }
.leaflet-bar a { background: #1C1F24; color: #F5F5F5; border-bottom-color: #333; }
.leaflet-bar a:hover { background: #0D5EAF; color: #fff; }

/* Results layout (list / map / split) */
#results-list { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); align-content: start; }
#results-wrap { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
#results-wrap[data-view="list"] #map-wrap { display: none; }
#results-wrap[data-view="map"] #results-list { display: none; }
#results-wrap[data-view="map"] #results-map { height: 72vh; }
@media (min-width: 1024px) {
  #results-wrap[data-view="split"] { grid-template-columns: 1fr 1fr; }
  #results-wrap[data-view="split"] #results-list { grid-template-columns: 1fr; }
  #results-wrap[data-view="split"] #map-wrap { position: sticky; top: 1rem; align-self: start; }
}
@media (min-width: 1280px) {
  #results-wrap[data-view="split"] #results-list { grid-template-columns: repeat(2, 1fr); }
}
#results-map { height: 600px; border-radius: 1.25rem; }
.view-btn[aria-pressed="true"] { background: #0D5EAF; color: #fff; }

/* Tabs */
[role="tab"] { transition: all .2s ease; }
.tab-active { background: #0D5EAF !important; color: #fff !important; border-color: #0D5EAF !important; }

/* FAQ */
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details[open] .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform .25s ease; }

/* Suggestions dropdown */
#hero-suggest { max-height: 320px; overflow-y: auto; }

/* Legal prose */
.prose-legal h2 { font-family: 'Manrope', sans-serif; font-size: 1.35rem; font-weight: 800; color: #fff; margin: 2rem 0 .75rem; }
.prose-legal h3 { font-weight: 700; color: #fff; margin: 1.25rem 0 .5rem; }
.prose-legal p, .prose-legal li { color: rgba(245,245,245,.78); line-height: 1.75; }
.prose-legal ul { list-style: disc; padding-left: 1.25rem; margin: .5rem 0 1rem; }
.prose-legal a { color: #7fb4ec; text-decoration: underline; }

/* Lightbox */
#lightbox { z-index: 3000; }

/* Cookie consent */
.cc-banner { animation: cc-rise .35s ease-out both; border-color: rgba(212,175,55,.3); }
.cc-backdrop { background: rgba(8,12,20,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: cc-fade .2s ease-out both; }
.cc-panel { border-color: rgba(212,175,55,.3); animation: cc-rise .3s ease-out both; }
.cc-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem;
  border-radius: .9rem; background: rgba(16,24,39,.6); border: 1px solid rgba(255,255,255,.08); }
.cc-switch { appearance: none; -webkit-appearance: none; flex-shrink: 0; position: relative; width: 2.75rem; height: 1.5rem; margin-top: .1rem;
  border-radius: 999px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); cursor: pointer; transition: background-color .2s ease; }
.cc-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: #F5F5F5; box-shadow: 0 2px 4px rgba(0,0,0,.4); transition: transform .2s ease; }
.cc-switch:checked { background: #D4AF37; border-color: #D4AF37; }
.cc-switch:checked::after { transform: translateX(1.22rem); background: #101827; }
.cc-switch:disabled { opacity: .65; cursor: not-allowed; }
.cc-switch:focus-visible { outline: 2px solid #D4AF37; outline-offset: 2px; }
@keyframes cc-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cc-fade { from { opacity: 0; } to { opacity: 1; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}