/* ============================================
   antitrubka.com — Custom Styles (Bootstrap 5.3.3)
   Clean, modern, minimal CSS
   Only global settings + essential custom components
   ============================================ */

/* CSS Variables */
:root {
  --primary: #ff6600;
  --danger: #d32f2f;
  --dark: #1a1a1a;
}

/* Global & Reset */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Custom Navigation */
.sticky-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  min-height: 70px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}

.nav-container a {
  text-decoration: none;
  font-weight: 700;
  color: var(--dark);
  transition: color 0.3s ease;
  padding: 10px 15px;
}

.nav-container a:hover {
  color: var(--danger);
}

/* B2B Partner Button */
.nav-b2b {
  color: #2e7d32;
  border: 2px solid #2e7d32;
  border-radius: 20px;
  padding: 8px 24px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-b2b:hover {
  background-color: #2e7d32;
  color: #fff;
  border-color: #2e7d32;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  position: relative;
  width: 40px;
  height: 30px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 15px;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background-color: #333;
  border-radius: 4px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 12px; }
.hamburger span:nth-child(3) { top: 24px; }

/* Active state → cross icon */
.hamburger.active span:nth-child(1) {
  top: 12px;
  transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger.active span:nth-child(3) {
  top: 12px;
  transform: rotate(-135deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-container {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    z-index: 1001;
  }

  .nav-container.active {
    display: flex;
  }

  .nav-container a {
    padding: 14px 20px;
    font-size: 1.15em;
    width: 100%;
    text-align: center;
  }
}

/* Video Container — responsive 16:9 */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Intersection Observer Animations */
.fade-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}