/* ESHNO Design System - Based on uploaded files */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* CSS Variables for Design Tokens */
:root {
  /* Primary Colors */
  --primary: #9e3d00;
  --primary-container: #c64f00;
  --primary-fixed: #ffdbcd;
  --primary-fixed-dim: #ffb595;
  --on-primary: #ffffff;
  --on-primary-container: #fffbff;
  --on-primary-fixed: #351000;
  --on-primary-fixed-variant: #7c2e00;
  
  /* Secondary Colors */
  --secondary: #77574d;
  --secondary-container: #fed3c7;
  --secondary-fixed: #ffdbd0;
  --secondary-fixed-dim: #e7bdb1;
  --on-secondary: #ffffff;
  --on-secondary-container: #795950;
  --on-secondary-fixed: #2c160e;
  --on-secondary-fixed-variant: #5d4037;
  
  /* Tertiary Colors */
  --tertiary: #835100;
  --tertiary-container: #a46700;
  --tertiary-fixed: #ffddb9;
  --tertiary-fixed-dim: #ffb961;
  --on-tertiary: #ffffff;
  --on-tertiary-container: #fffbff;
  --on-tertiary-fixed: #2b1700;
  --on-tertiary-fixed-variant: #663e00;
  
  /* Surface Colors */
  --surface: #f9f9f9;
  --surface-bright: #f9f9f9;
  --surface-dim: #dadada;
  --surface-container: #eeeeee;
  --surface-container-low: #f3f3f3;
  --surface-container-lowest: #ffffff;
  --surface-container-high: #e8e8e8;
  --surface-container-highest: #e2e2e2;
  --surface-variant: #e2e2e2;
  --on-surface: #1a1c1c;
  --on-surface-variant: #594238;
  
  /* Error Colors */
  --error: #ba1a1a;
  --error-container: #ffdad6;
  --on-error: #ffffff;
  --on-error-container: #93000a;
  
  /* Outline Colors */
  --outline: #8c7166;
  --outline-variant: #e0c0b2;
  
  /* Inverse Colors */
  --inverse-surface: #2f3131;
  --inverse-on-surface: #f1f1f1;
  --inverse-primary: #ffb595;
  
  /* Background */
  --background: #f9f9f9;
  --on-background: #1a1c1c;
  
  /* Surface Tint */
  --surface-tint: #a23f00;
  
  /* Typography */
  --font-headline: 'Newsreader', serif;
  --font-body: 'Public Sans', sans-serif;
  --font-label: 'Public Sans', sans-serif;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--on-background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography - Headlines */
h1, h2, h3, h4, h5, h6,
.font-headline,
.font-serif {
  font-family: var(--font-headline);
  font-weight: 400;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 2rem;
  line-height: 1.3;
}

/* Body text */
.body-large {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 400;
}

.body-medium {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
}

.body-small {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 400;
}

/* Labels */
.label-large {
  font-family: var(--font-label);
  font-size: 0.875rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.1px;
}

.label-medium {
  font-family: var(--font-label);
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.label-small {
  font-family: var(--font-label);
  font-size: 0.688rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Selection styling */
::selection {
  background-color: var(--secondary-container);
  color: var(--on-surface);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
  background: var(--surface-container-low);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-container);
}

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}



/* Glass morphism for navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Button styles */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--on-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(158, 61, 0, 0.2);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(158, 61, 0, 0.05);
}

.filter-btn.active {
    background: #9e3d00 !important;
    color: white !important;
}

/* Card styles */
.card {
  background: var(--surface-container-lowest);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

    /* Additional styles for registration modal */
    .price-option {
        transition: all 0.2s ease;
    }
    .price-option:hover {
        background-color: #fef9f5;
    }
    .price-option.selected {
        border-color: #9e3d00;
        background-color: #fff3e8;
    }