/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #0b0f17;
  color: #ffffff;
  line-height: 1.6;
}

a {
    color: #00c2ff;	
}

p{
	margin-bottom: 20px;
}
/* =========================
   CONTAINER
========================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 15, 25, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* LOGO */
.logo {
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  color: white;
  letter-spacing: 1px;
}

.logo span {
  color: #00c2ff;
}

/* NAV */
.nav {
  display: flex;
  gap: 25px;
}

.nav-link {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
}

.nav-link:hover {
  color: #00c2ff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #00c2ff;
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

/* =========================
   HAMBURGER MENU
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: white;
  transition: 0.3s;
}

/* open animation */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================
   bagerus
========================= */
.bagerus {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: url("images/багер.webp") center/cover no-repeat;
}

.bagerus-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.4));
}

.bagerus-content {
  position: relative;
  z-index: 2;
}

.bagerus h1 {
  font-size: 48px;
  font-weight: 800;
  max-width: 600px;
}

.bagerus p {
  margin-top: 15px;
  max-width: 500px;
  color: #ccc;
}

/* =========================
   BUTTON
========================= */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  background: #00c2ff;
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 194, 255, 0.3);
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 80px 0;
}

.section.dark {
  background: #0f1625;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

/* =========================
   GRID CARDS
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 15px;
  transition: 0.3s;
  backdrop-filter: blur(10px);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: #bbb;
}

/* hover */
.hover-rise:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* =========================
   ABOUT
========================= */
.split {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.stats {
  display: flex;
  gap: 20px;
}

.stat {
  text-align: center;
}

.stat b {
  font-size: 28px;
  color: #00c2ff;
}

/* =========================
   FORM
========================= */
.form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form input,
.form textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #111a2b;
  color: white;
}

.form textarea {
  min-height: 120px;
}

/* =========================
   FOOTER
========================= */
.footer {
  text-align: center;
  padding: 20px;
  background: #0a0f1a;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================
   ANIMATIONS
========================= */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    width: 200px;
    padding: 20px;
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .bagerus h1 {
    font-size: 32px;
  }

  .split {
    flex-direction: column;
  }
}