/* ==========================================================================
   ORIGINALS, s.r.o. - Modern Light Theme Stylesheet
   Color Palette:
   - Primary Blue: #0C71C3
   - Primary Blue Dark: #095593
   - Primary Blue Light: #e6f3fc
   - Dark Slate: #1e293b
   - Neutral Gray: #333333
   - Backgrounds: #ffffff / #f8fafc / #f1f5f9
   - Borders: #e2e8f0
   ========================================================================== */

:root {
  --orig-blue: #0C71C3;
  --orig-blue-dark: #095593;
  --orig-blue-light: #e8f4fd;
  --orig-blue-glow: rgba(12, 113, 195, 0.18);
  --orig-dark: #1e293b;
  --orig-charcoal: #333333;
  --orig-muted: #64748b;
  --orig-border: #e2e8f0;
  --orig-card-bg: #ffffff;
  --orig-surface: #f8fafc;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', "Courier New", monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(12, 113, 195, 0.12), 0 10px 15px -3px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 25px 40px -10px rgba(12, 113, 195, 0.18);
}

/* Base Setup */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: var(--font-main);
  color: var(--orig-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modern Light Grid Pattern Background */
.bg-grid-pattern {
  background-color: #ffffff;
  background-image: 
    radial-gradient(rgba(12, 113, 195, 0.06) 1.5px, transparent 1.5px),
    radial-gradient(rgba(15, 23, 42, 0.03) 1.5px, #ffffff 1.5px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
}

.bg-surface-subtle {
  background-color: var(--orig-surface);
}

/* Typography Helpers */
.font-mono {
  font-family: var(--font-mono) !important;
}

.text-primary-blue {
  color: var(--orig-blue) !important;
}

.text-charcoal {
  color: var(--orig-charcoal) !important;
}

.text-muted-custom {
  color: var(--orig-muted) !important;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar-custom {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all 0.3s ease;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-custom.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.97);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: #334155;
  padding: 0.5rem 0.9rem !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orig-blue) !important;
  background-color: var(--orig-blue-light);
}

.nav-brand-logo {
  height: 38px;
  width: auto;
  transition: transform 0.2s ease;
}

.nav-brand-logo:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   Hero & Interactive Binary Canvas
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.hero-glow-blob {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.hero-glow-blob-1 {
  top: -150px;
  left: 10%;
  background: radial-gradient(circle, rgba(12, 113, 195, 0.3) 0%, rgba(12, 113, 195, 0) 70%);
}

.hero-glow-blob-2 {
  top: 50px;
  right: 5%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(56, 189, 248, 0) 70%);
}

.binary-canvas-wrapper {
  position: relative;
  width: 100%;
  cursor: crosshair;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.5rem 0;
  user-select: none;
}

.binary-canvas-wrapper:hover {
  border: none;
  box-shadow: none;
}

#binaryCanvas {
  display: block;
  width: 100%;
}

.canvas-hint-pill {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--orig-border);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  color: var(--orig-muted);
  box-shadow: var(--shadow-sm);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.canvas-hint-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--orig-blue);
  animation: pulse-dot 1.8s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--orig-blue-light);
  border: 1px solid rgba(12, 113, 195, 0.2);
  border-radius: 9999px;
  color: var(--orig-blue-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orig-blue);
  margin-bottom: 0.6rem;
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--orig-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Service Cards
   ========================================================================== */
.service-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(12, 113, 195, 0.35);
  box-shadow: var(--shadow-hover);
}

.service-image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--orig-blue);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.2rem;
}

.feature-list li {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-list li i {
  color: var(--orig-blue);
  font-size: 1rem;
  line-height: 1.2;
}

/* ==========================================================================
   Flagship Project Cards (Pretekaj.sk & Sport Ticket)
   ========================================================================== */
.project-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.35s ease;
  height: 100%;
}

.project-card:hover {
  border-color: rgba(12, 113, 195, 0.4);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.project-card-header {
  padding: 1.75rem 2rem 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.project-logo-frame {
  height: 52px;
  max-width: 200px;
  display: flex;
  align-items: center;
}

.project-logo-frame img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.project-pill-tag {
  background-color: var(--orig-blue-light);
  color: var(--orig-blue);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(12, 113, 195, 0.15);
}

.project-card-body {
  padding: 2rem;
}

/* ==========================================================================
   Clients / References (1/3 Width Cards Grid)
   ========================================================================== */
.client-feature-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.client-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(12, 113, 195, 0.35);
  box-shadow: var(--shadow-hover);
}

.client-card-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1.25rem;
}

.client-logo-wrapper {
  width: 74px;
  height: 74px;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  border: 1px solid var(--orig-border);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.client-feature-card:hover .client-logo-wrapper {
  transform: scale(1.04);
  border-color: var(--orig-blue);
}

.client-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.client-header-meta {
  flex-grow: 1;
}

.client-category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orig-blue);
  background: var(--orig-blue-light);
  padding: 2px 8px;
  border-radius: 9999px;
  margin-bottom: 4px;
}

.client-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.client-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.client-deliverables-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orig-muted);
  margin-bottom: 0.75rem;
  display: block;
}

.client-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 1.25rem;
}

.client-deliverables-list li {
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.client-deliverables-list li i {
  font-size: 1rem;
  margin-top: 1px;
}

.client-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.client-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--orig-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

.client-visit-btn:hover {
  color: var(--orig-blue-dark);
  transform: translateX(3px);
}

.client-logo-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 160px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.client-logo-card:hover {
  border-color: var(--orig-blue);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.client-logo-card img {
  max-height: 60px;
  max-width: 140px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(20%);
}

.client-logo-card:hover img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.client-logo-name {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s ease;
}

.client-logo-card:hover .client-logo-name {
  color: var(--orig-blue);
}

.client-external-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.8rem;
  color: #94a3b8;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.client-logo-card:hover .client-external-icon {
  opacity: 1;
  transform: translate(2px, -2px);
  color: var(--orig-blue);
}

/* ==========================================================================
   Contact Section & Interactive Cards
   ========================================================================== */
.contact-box {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-item-card {
  background: var(--orig-surface);
  border: 1px solid var(--orig-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.contact-item-card:hover {
  background: #ffffff;
  border-color: var(--orig-blue);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  color: inherit;
}

.contact-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: var(--orig-blue-light);
  color: var(--orig-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.company-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--orig-border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.84rem;
  color: #475569;
}

/* ==========================================================================
   Buttons & Micro-interactions
   ========================================================================== */
.btn-primary-blue {
  background-color: var(--orig-blue);
  color: #ffffff;
  border: 1px solid var(--orig-blue);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(12, 113, 195, 0.25);
}

.btn-primary-blue:hover,
.btn-primary-blue:focus {
  background-color: var(--orig-blue-dark);
  border-color: var(--orig-blue-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 113, 195, 0.35);
}

.btn-outline-custom {
  background-color: transparent;
  color: #1e293b;
  border: 1px solid var(--orig-border);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.btn-outline-custom:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--orig-blue);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border: 1px solid #25D366;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background-color: #1faa52;
  border-color: #1faa52;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.32);
}

/* Copy button feedback */
.copy-btn {
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--orig-muted);
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s;
}

.copy-btn:hover {
  color: var(--orig-blue);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--orig-border);
  padding: 3rem 0 2rem 0;
  color: var(--orig-muted);
  font-size: 0.9rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--orig-surface);
  border: 1px solid var(--orig-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background-color: var(--orig-blue);
  border-color: var(--orig-blue);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Toast alert notification */
#toastNotification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  pointer-events: none;
}

#toastNotification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 5.5rem;
    padding-bottom: 3rem;
  }
  .contact-box {
    padding: 1.5rem;
  }
}
