:root {
  --color-bg: #000000;
  --color-accent: #b91c1c; /* красный */
  --color-text: #ffffff;
  --color-gray: #aaaaaa;
}

/* Анимация появления */
.section h2, 
.section p, 
.section li, 
.hero h1, 
.hero p, 
.btn-red, 
.btn-white {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section h2.visible, 
.section p.visible, 
.section li.visible, 
.hero h1.visible, 
.hero p.visible, 
.btn-red.visible, 
.btn-white.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: linear-gradient(to bottom right, #000000, #1a0000);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Секции: каждая во весь экран */
.section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

/* Header */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  z-index: 100;
}

.logo a {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
}
.logo span {
  color: var(--color-accent);
}

.nav a {
  margin: 0 1rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}
.nav a:hover {
  color: var(--color-accent);
}

.header-btn a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
}

/* Hero */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.hero {
  background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.3)),
              url("../img/truck.jpg") no-repeat center/cover;
}

.hero-logo {
  margin-bottom: 1rem;
}

.hero-logo img {
  width: min(60vw, 420px);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.45));
}

/* Броский слоган */
.hero-tagline {
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: clamp(1.6rem, 3.2vw + 1rem, 3rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}


.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

.hero p {
  margin-bottom: 2rem;
  color: var(--color-gray);
}

.hero-buttons a {
  display: inline-block;
  margin: 0 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
}
.btn-red {
  background: var(--color-accent);
  color: var(--color-text);
}
.btn-red:hover {
  background: #dc2626;
}
.btn-white {
  background: #fff;
  color: #000;
}
.btn-white:hover {
  background: #e5e5e5;
}

/* About */
.about {
  background: linear-gradient(to bottom right, #000, #1a0000);
  flex-direction: column;
}

.about-content {
  max-width: 900px;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-accent);
}

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

.about h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.about ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
}

.about li {
  background: var(--color-accent);
  color: var(--color-text);
  padding: 1rem;
  font-weight: 600;
  border-radius: 8px;
}

/* Contact */
.contact {
  background: linear-gradient(to bottom right, #000, #330000);
  flex-direction: column;
}

.contact-content {
  max-width: 600px;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.contact p {
  color: var(--color-gray);
  margin-bottom: 2rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border: 1px solid #333;
  border-radius: 6px;
  background: #000;
  color: var(--color-text);
}

.contact input:focus,
.contact textarea:focus {
  border-color: var(--color-accent);
  outline: none;
}

.contact button {
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 700;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: #dc2626;
}

/* Privacy Policy */
.privacy-wrapper {
  display: flex;
  gap: 3rem;
  padding: 8rem 4rem 4rem; /* сверху отступ, чтобы не залезал header */
  max-width: 1400px;
  margin: 0 auto;
  color: var(--color-text);
  background: linear-gradient(to bottom right, #000000, #1a0000); /* чёрный → тёмно-красный */
  border-radius: 12px; /* чтобы красиво отделялось от фона */
}


.privacy-left {
  flex: 1;
}

.privacy-right {
  flex: 2;
}

.privacy-left h2 {
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.privacy-left ul li {
  margin-bottom: 0.5rem;
  color: var(--color-gray);
}

.privacy-right h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.privacy-right h2 {
  font-size: 1.5rem;
  color: #888;
  margin-bottom: 2rem;
}

.privacy-right p,
.privacy-right li {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}

.policy-sections h3 {
  font-size: 1.3rem;
  color: var(--color-accent);
  margin: 2rem 0 0.5rem;
}

.policy-sections li {
  margin-bottom: 0.5rem;
}

.policy-sections a {
  text-decoration: none;
  color: var(--color-accent);
}

/* Footer */
.footer {
  background: #000;
  color: var(--color-gray);
  padding: 3rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.footer-info {
  flex: 1;
  min-width: 280px;
}

.footer-info h3 {
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-info a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-info a:hover {
  color: var(--color-accent);
}

.footer-info p {
  margin-bottom: 0.6rem;
  color: #bbb;
}

.footer-disclaimer {
  font-size: 0.85rem;
  margin-top: 1rem;
  color: #777;
  line-height: 1.4;
}

.footer-map {
  flex: 1;
  min-width: 300px;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #777;
}


/* На маленьких экранах — логотип чуть шире */
@media (max-width: 640px) {
  .hero-logo img { width: min(75vw, 420px); }
}
