/* ===================================
   Bohis.net - Custom Styles
   Minimalistický Tech Design
   =================================== */

:root {
  /* Colors - Teal & Orange Theme */
  --primary-blue: #0891b2;
  --primary-dark: #0e7490;
  --primary-light: #cffafe;
  --accent-green: #f97316;
  --accent-yellow: #fbbf24;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-headings: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --spacing-4: 1rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-12: 3rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Base Styles
   =================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  line-height: 1.6;
  font-size: 16px;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* ===================================
   Navbar Styles
   =================================== */

.navbar {
  padding: 1rem 0;
  background-color: var(--white) !important;
  border-bottom: 1px solid var(--gray-300);
}

.navbar-brand {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900) !important;
}

.brand-text {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
}

.brand-text-large {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}

.nav-link {
  color: var(--gray-700) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

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

/* Zvýraznění hlavních produktů */
.nav-link-highlight {
  font-weight: 600 !important;
  color: var(--primary-blue) !important;
  position: relative;
}

.nav-link-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  transition: width 0.3s ease;
}

.nav-link-highlight:hover::after,
.nav-link-highlight.active::after {
  width: 80%;
}

.nav-link-highlight:hover {
  color: var(--primary-dark) !important;
}

/* AI služby styling */
.nav-link-ai {
  font-weight: 600 !important;
  color: var(--accent-green) !important;
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 0.35rem;
}

.nav-link-ai:hover {
  color: #ea580c !important;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-green), #ea580c);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(249, 115, 22, 0.35);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.35);
  }
  50% {
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.55), 0 0 12px rgba(249, 115, 22, 0.35);
  }
}

.nav-link-ai::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), #fb923c);
  transition: width 0.3s ease;
}

.nav-link-ai:hover::after,
.nav-link-ai.active::after {
  width: 80%;
}

.dropdown-menu {
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: var(--primary-light);
  color: var(--primary-blue);
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
}

.lang-link {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.lang-link:hover,
.lang-link.active {
  opacity: 1;
}

.flag-icon {
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 25%, #0891b2 50%, #06b6d4 75%, #22d3ee 100%);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(8, 145, 178, 0.4);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.6;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: #ffffff;
}

.hero-title .hero-accent {
  color: var(--accent-green);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.8;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-weight: 400;
}

.hero-subtitle-small {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta .btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* ===================================
   Sections
   =================================== */

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--gray-900);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-700);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================
   Buttons
   =================================== */

.btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.45);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.5);
  color: var(--primary-dark);
}

.btn-outline-primary {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.35);
  border-color: var(--primary-blue);
}

.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-success {
  background-color: var(--accent-green);
  color: var(--white);
}

.btn-success:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===================================
   Footer
   =================================== */

.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.footer-title {
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-text {
  color: #94a3b8;
  line-height: 1.7;
}

.footer-text-small {
  color: #64748b;
  font-size: 0.875rem;
}

.footer-link {
  color: #cbd5e1;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact li,
.footer-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
}

.footer a {
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--white);
  transform: translateX(2px);
}

.icon-inline {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  opacity: 0.8;
}

/* ===================================
   Page Header
   =================================== */

.page-header {
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid-small" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(8,145,178,0.06)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid-small)"/></svg>');
}

.page-header .container {
  position: relative;
  z-index: 1;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
  background: linear-gradient(135deg, #cffafe 0%, #e0f2fe 100%);
  border-radius: 24px;
  padding: 4rem 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(8, 145, 178, 0.12);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.12) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
}

/* ===================================
   Technologies Badge
   =================================== */

.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-900);
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tech-badge:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.25);
}

/* ===================================
   Utilities
   =================================== */

.transition-all {
  transition: all 0.3s ease;
}

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

.bg-light-blue {
  background: linear-gradient(135deg, #cffafe 0%, #e0f2fe 50%, #f0fdfa 100%);
  position: relative;
}

.bg-light-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(8, 145, 178, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.04) 0%, transparent 50%);
}

.shadow-custom {
  box-shadow: var(--shadow-lg);
}

.bg-section-highlight {
  background: #f8fafc;
  border-top: 3px solid var(--primary-blue);
}

.overflow-hidden {
  overflow: hidden;
}

/* ===================================
   Enhanced Shadows
   =================================== */

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* ===================================
   Map Section
   =================================== */

.map-section .ratio {
  border-radius: 16px;
  overflow: hidden;
}

.map-section iframe {
  filter: grayscale(0.2) contrast(1.1);
  transition: filter 0.3s ease;
}

.map-section:hover iframe {
  filter: grayscale(0) contrast(1);
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-300);
  }

  .language-switcher {
    order: -1;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}
