/* 
  prostir.1ab.army - Простір Підтримки 1 Штурмового Батальйону
  - Solid Dark Graphite Palette (Однотонний темний графіт #13161c / #191c25 / #202430)
  - Refined High-Contrast Typography (Pure White #ffffff & Slate #94a3b8)
  - Clean Minimalist Cards, Buttons, and Pill Filters
  - HD Full-Color Venue Photography
*/

@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700&family=Unbounded:wght@600;700;800;900&display=swap');

:root {
  --bg-body: #000000;
  --bg-surface-primary: #0a0b0e;
  --bg-surface-secondary: #12141a;
  --bg-surface-tertiary: #1a1d26;
  --bg-card: #0e1015;
  --bg-card-hover: #161820;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-highlight: rgba(255, 255, 255, 0.3);
  
  --accent-orange: #f58220;
  --accent-orange-hover: #e07316;
  --accent-orange-glow: rgba(245, 130, 32, 0.25);
  
  --text-pure: #ffffff;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  --font-main: 'Golos Text', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', 'Golos Text', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Unbounded', 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #000000;
}

/* Tactical Deep Black Canvas (Глибокий чорний фон з акцентами) */
body, .graphite-bg {
  background-color: #000000;
  color: var(--text-light);
  font-family: var(--font-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  color: var(--text-pure);
  font-weight: 700;
}

/* Dark Graphite Cards */
.dark-card, .light-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.35);
}

.dark-card:hover, .light-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dark-card-static {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.35);
}

/* Primary High-Contrast Button (Solid White with Orange Hover) */
.btn-modern-primary {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.12);
  min-height: 42px;
}

.btn-modern-primary:hover {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-orange-glow);
}

.btn-modern-primary:active {
  transform: translateY(0);
}

/* Secondary Button (Graphite Surface with Border) */
.btn-modern-secondary {
  background-color: var(--bg-surface-secondary);
  color: var(--text-light);
  border: 1px solid var(--border-medium);
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
}

.btn-modern-secondary:hover {
  background-color: var(--bg-surface-tertiary);
  border-color: var(--border-highlight);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-modern-secondary:active {
  transform: translateY(0);
}

/* Category Filter Pills */
.category-pill, .quick-tag-btn {
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface-secondary);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.category-pill:hover, .quick-tag-btn:hover {
  background-color: var(--bg-surface-tertiary);
  border-color: var(--border-medium);
  color: #ffffff;
}

.category-pill.active, .quick-tag-btn.active {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 800;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.25);
}

.category-pill.active span.count-badge {
  background-color: #000000;
  color: #ffffff;
}

/* Form Controls & Inputs */
.dark-select, .dark-input {
  appearance: none;
  background-color: var(--bg-surface-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
  font-family: var(--font-main);
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease-in-out;
}

.dark-select:focus, .dark-input:focus {
  border-color: var(--accent-orange);
  background-color: var(--bg-surface-secondary);
  box-shadow: 0 0 0 2px var(--accent-orange-glow);
}

/* Unified Filter Bar */
.unified-filter-bar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
}

.filter-segment {
  background-color: var(--bg-surface-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.2s ease-in-out;
}

.filter-segment:hover {
  background-color: var(--bg-surface-secondary);
  border-color: var(--border-medium);
}

.filter-segment:focus-within {
  border-color: var(--accent-orange);
  background-color: var(--bg-surface-secondary);
  box-shadow: 0 0 0 2px var(--accent-orange-glow);
}

/* Badges */
.badge-solid-white {
  background-color: #ffffff;
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.badge-frosted-dark {
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-heading);
  font-weight: 600;
}

.badge-tag {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.badge-tag:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

/* Full-Color Photos */
.venue-photo-container {
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: #181c24;
}

.venue-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-card:hover .venue-photo, .light-card:hover .venue-photo {
  transform: scale(1.05);
}

/* Modals */
.modal-backdrop-dark {
  background-color: rgba(10, 12, 16, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-dialog-dark {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  max-height: 90vh;
  overflow-y: auto;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #1a1d26;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* No Scrollbar Utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background-color: #0e1015;
  color: #ffffff;
  border: 1px solid rgba(245, 130, 32, 0.3);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.8), 0 0 15px rgba(245, 130, 32, 0.15);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideUp 0.25s ease-out;
  max-width: calc(100vw - 48px);
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
