/* Technical industrial theme - Teknica Consolidated Styles */

/* 1. Base Reset & Defaults */
html {
  scroll-behavior: smooth;
}

* {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: #565d6d;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1A2B3D;
}

/* 2. Core Brand Utilities */
.orange-accent { color: #F28627; }
.bg-orange-accent { background-color: #F28627; }
.border-orange-accent { border-color: #F28627; }

/* 3. Typography Helpers */
.font-sora { font-family: "Sora", ui-sans-serif, system-ui, sans-serif; }
.font-inter { font-family: "Inter", ui-sans-serif, system-ui, sans-serif; }
.font-figtree { font-family: "Figtree", ui-sans-serif, system-ui, sans-serif; }
.text-balance { text-wrap: balance; }
.font-numeric { font-variant-numeric: tabular-nums; }

/* 4. Scrollbar Handling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #F28627; /* Using brand accent */
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e0751d;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none;  /* Firefox */
}

/* 5. UI Elements Shadows & Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.custom-shadow-sm {
  box-shadow: 0 1px 2.5px 0 rgba(23, 26, 31, 0.07), 0 0 2px 0 rgba(23, 26, 31, 0.08);
}

.custom-shadow-lg {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.card-shadow {
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.03);
}
.card-shadow:hover {
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
}

.payment-card-shadow {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.qr-container-shadow {
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
}

/* 6. Selection & Interactive States */
::selection {
  background-color: #f28627;
  color: white;
}

button:focus-visible, 
a:focus-visible, 
input:focus-visible {
  outline: 2px solid #f28627;
  outline-offset: 2px;
}

button:active {
  transform: scale(0.98);
}

/* 7. Special Effects */
.mask-fade-bottom {
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.video-gradient-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 100%);
}

.map-gradient-overlay {
  background: linear-gradient(to bottom, transparent 80%, white 100%);
}

.story-dashed-border {
  border: 1.5px dashed #fed7aa;
  border-radius: 24px;
}

.dashed-border {
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='12' ry='12' stroke='%23CBD5E1FF' stroke-width='2' stroke-dasharray='6%2c 8' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
  border-radius: 12px;
}

/* 8. Utility Classes */
.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.no-spinner {
  -moz-appearance: textfield;
}

.antialiased-dark {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
