/* Martial Arts Studio Custom Styles */

/* Font imports for martial arts themed fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Custom CSS variables */
:root {
  --fight-red: #dc2626;
  --fight-yellow: #fbbf24;
  --fight-black: #111827;
  --fight-gray: #374151;
}

/* Global styles */
body {
  font-family: 'Rajdhani', sans-serif;
  background: linear-gradient(135deg, #000000 0%, #111827 50%, #1f2937 100%);
  color: #ffffff;
}

/* Typography enhancements */
.font-martial {
  font-family: 'Orbitron', 'Impact', 'Arial Black', sans-serif;
  font-weight: 700;
}

/* Header enhancements */
header {
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(220, 38, 38, 0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* Hero section enhancements */
.hero-bg {
  background: 
    radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, #000000 0%, #111827 100%);
}

/* Button enhancements */
.btn-fight {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-fight::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-fight:hover::before {
  left: 100%;
}

/* Card hover effects */
.coach-card {
  transition: all 0.3s ease;
  border: 2px solid var(--fight-red);
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
}

.coach-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--fight-yellow);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3);
}

/* Booking steps animation */
.booking-step {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.booking-step.hidden {
  animation: none;
  opacity: 0;
}

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

/* Time slot selection */
.time-slot {
  transition: all 0.3s ease;
  position: relative;
}

.time-slot:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

.time-slot.selected {
  background: var(--fight-red) !important;
  border-color: var(--fight-yellow) !important;
  transform: scale(1.1);
}

/* Form enhancements */
input, select, textarea {
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--fight-yellow);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

/* Table enhancements */
table {
  border-collapse: separate;
  border-spacing: 0;
}

table th {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

table tbody tr:hover {
  background-color: rgba(220, 38, 38, 0.1);
}

/* Status badges */
.status-badge {
  position: relative;
  overflow: hidden;
}

.status-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.8s;
}

.status-badge:hover::before {
  left: 100%;
}

/* Loading states */
.loading {
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--fight-red);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
  }
  
  .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive enhancements */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .coach-card {
    margin-bottom: 1rem;
  }
  
  .booking-step {
    padding: 1.5rem !important;
  }
  
  table {
    font-size: 0.875rem;
  }
  
  .time-slot {
    padding: 0.75rem !important;
    font-size: 0.875rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --fight-red: #ff0000;
    --fight-yellow: #ffff00;
    --fight-black: #000000;
    --fight-gray: #808080;
  }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
  body {
    background: #000000;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .bg-fight-red, .bg-fight-gray, .bg-black {
    background: white !important;
    border: 1px solid black !important;
  }
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible for better keyboard navigation */
.focus-visible {
  outline: 2px solid var(--fight-yellow);
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--fight-black);
}

::-webkit-scrollbar-thumb {
  background: var(--fight-red);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b91c1c;
}

/* Notification styles */
.notification {
  animation: slideInRight 0.5s ease;
}

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

/* Modal overlay */
.modal-overlay {
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Selection styles */
::selection {
  background-color: var(--fight-red);
  color: white;
}

::-moz-selection {
  background-color: var(--fight-red);
  color: white;
}

/* Gradient text effects */
.gradient-text {
  background: linear-gradient(45deg, var(--fight-red), var(--fight-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Neon glow effects */
.neon-glow {
  text-shadow: 
    0 0 5px var(--fight-red),
    0 0 10px var(--fight-red),
    0 0 15px var(--fight-red),
    0 0 20px var(--fight-red);
}

/* Fighting stance silhouettes (decorative) */
.fighter-silhouette::before {
  content: '🥋';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  opacity: 0.1;
  pointer-events: none;
}