@charset "UTF-8";

/* 
 * CSS Custom Properties & Base Setup
 * Aesthetic: Dark Glassmorphism
 */
:root {
  --bg-color: #06070b;
  --surface-dark: #0d1017;
  --text-main: #f8f9fa;
  --text-muted: #a0aab2;
  
  --neon-cyan: #00f2fe;
  --neon-purple: #8e2de2;
  --neon-pink: #f093fb;
  --gradient-neon: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  
  --glass-bg: rgba(13, 16, 23, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.2);
  
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-40: 40px;
  --space-64: 64px;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  --transition-speed: 0.3s;
  
  --header-height-desk: 64px;
  --header-height-mob: 52px;
}

/* Reset & Accessibility */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .brand-name, .nav-links a {
  overflow-wrap: anywhere;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: var(--space-24); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: var(--space-24); margin-top: var(--space-40); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: var(--space-16); margin-top: var(--space-24); }

p {
  margin-bottom: var(--space-16);
  color: var(--text-muted);
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--neon-pink);
}

:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 4px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin-bottom: var(--space-24);
  padding-left: var(--space-24);
  color: var(--text-muted);
}

li {
  margin-bottom: var(--space-8);
}

/* Layout Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-24);
  min-width: 0;
}

.main-content {
  flex: 1;
  padding-top: var(--space-40);
  padding-bottom: var(--space-64);
  min-width: 0;
}

.section-spacing {
  margin-bottom: var(--space-64);
}

/* Header */
.site-header {
  height: var(--header-height-desk);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
}

.brand svg {
  width: 32px;
  height: 32px;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.nav-links {
  display: flex;
  gap: var(--space-24);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--neon-cyan);
}

.btn {
  display: inline-block;
  padding: var(--space-8) var(--space-16);
  background: var(--gradient-neon);
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  min-width: fit-content;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(142, 45, 226, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan) !important;
}

.btn-secondary:hover {
  background: rgba(0, 242, 254, 0.1);
  box-shadow: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-8);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  margin-bottom: 5px;
  transition: var(--transition-speed);
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

/* Hero Section */
.hero {
  position: relative;
  padding: var(--space-64) 0;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: var(--neon-purple);
  filter: blur(150px);
  opacity: 0.2;
  transform: translateX(-50%);
  z-index: -1;
  border-radius: 50%;
}

.hero-subtitle {
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-16);
}

/* Card Style: Glass overlay - full-bleed image with a translucent panel over it */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-24);
  margin-top: var(--space-40);
  min-width: 0;
}

.glass-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 400px;
  text-decoration: none;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 2px;
  background: var(--gradient-neon);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  pointer-events: none;
}

.glass-card:hover::after,
.glass-card:focus-visible::after {
  opacity: 1;
}

.glass-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 1;
}

.glass-card:hover img {
  transform: scale(1.05);
}

.card-panel {
  position: absolute;
  bottom: var(--space-16);
  left: var(--space-16);
  right: var(--space-16);
  padding: var(--space-24);
  background: rgba(10, 11, 16, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  z-index: 2;
  transition: transform var(--transition-speed) ease;
}

.glass-card:hover .card-panel {
  transform: translateY(-5px);
}

.card-panel h3 {
  margin: 0 0 var(--space-8) 0;
  color: var(--text-main);
  font-size: 1.25rem;
}

.card-panel p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
  opacity: 0.9;
}

/* Page Content Formatting */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface-dark);
  padding: var(--space-40);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.content-wrapper img {
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-24);
  width: 100%;
}

.stat-block {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-24);
  background: var(--glass-bg);
  padding: var(--space-24);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--neon-cyan);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--neon-purple);
  margin-bottom: var(--space-12); /* Required by prompt */
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-24) 0;
  min-width: 0;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: var(--space-24);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}

.data-table th, .data-table td {
  padding: var(--space-16);
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-muted);
}

.data-table th {
  background: var(--glass-bg);
  color: var(--text-main);
  font-weight: 600;
}

/* Form Styles */
.form-group {
  margin-bottom: var(--space-24);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  color: var(--text-main);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: var(--space-16);
  background: var(--surface-dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  transition: border-color var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 1px var(--neon-cyan);
}

.form-control.is-invalid {
  border-color: #ef4444;
}

.error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: var(--space-4);
}

.form-control.is-invalid + .error-msg {
  display: block;
}

.form-success {
  display: none;
  padding: var(--space-16);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  color: #10b981;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-24);
}

.form-success.is-visible {
  display: block;
}

.map-container {
  height: 300px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-24);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-align: center;
  padding: var(--space-16);
}

.map-container svg {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-8);
  fill: var(--neon-purple);
}

/* Footer */
.site-footer {
  background: var(--surface-dark);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-64) 0 var(--space-40);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-40);
  margin-bottom: var(--space-40);
}

.footer-col h4 {
  color: var(--text-main);
  margin-bottom: var(--space-16);
  font-size: 1.1rem;
}

.footer-col p, .footer-col address {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: normal;
  margin-bottom: var(--space-8);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-8);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: var(--space-24);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(13, 16, 23, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-24);
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-text {
  flex: 1 1 300px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-actions {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}

/* Media Queries */
@media (max-width: 768px) {
  .site-header {
    height: var(--header-height-mob);
  }
  
  .nav-links {
    display: none; /* Hidden by default on mobile */
    position: absolute;
    top: var(--header-height-mob);
    left: 0;
    width: 100%;
    background: var(--surface-dark);
    flex-direction: column;
    padding: var(--space-24);
    border-bottom: 1px solid var(--glass-border);
    gap: var(--space-16);
  }
  
  .nav-links.is-open {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .content-wrapper {
    padding: var(--space-24) var(--space-16);
  }

  .card-panel {
    position: relative;
    bottom: auto; left: auto; right: auto;
    border-radius: 0;
    border-left: none; border-right: none; border-bottom: none;
    transform: none !important;
  }
}

@media (max-width: 399px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .btn { padding: var(--space-8); width: 100%; }
  .cookie-actions { flex-direction: column; width: 100%; }
  .cookie-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}