/* Общие настройки */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

/* === Фиксированная шапка === */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #e74c3c;
  color: white;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5px;
}

/* Логотип */

.logo {
  
 
}

.logo a {
  color: white;
  font-size: 1.6em;
  font-weight: bold;
  text-decoration: none;
}

/* Десктопное меню */
.desktop-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.desktop-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  transition: opacity 0.3s;
}

.desktop-menu a:hover {
  opacity: 0.8;
}

.btn-header {
  background: #4CAF50;
  
  color: white !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.1em;
}

/* Мобильное меню — гамбургер */
.menu-toggle {
  display: none;
 
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
   background: none !important;
  padding: 0 !important;
  border: none !important;
  
  cursor: pointer;
  z-index: 1090;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: white; 
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Анимация при клике */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}


.mobile-menu {
  position: fixed;
  top: 70px;
  left: -100%;
  width: 100%;
  background: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 20px;
  gap: 20px;
  transition: left 0.4s ease;
  z-index: 1000;
  display: none;
}

.mobile-menu.active {
  left: 0;
  display: flex;
}

/* Показывать только на мобильных */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .btn-header {
    font-size: 1em;
    padding: 8px 14px;
	
  }
}

/* === Главный экран (hero) === */
.hero {
 
 background: url('../img/evak7.png') no-repeat center/cover;
  color: white;
  text-align: center;
  padding: 180px 20px 80px;
  margin-top: 0;
}
/* Замена фона для мобильных устройств (ширина ≤ 768px) */
@media (max-width: 768px) {
  .hero {
    background: url('../img/evak14.png') no-repeat center/cover;
  }
}

.hero h1 {
  font-size: 2.8em;
  margin-bottom: 15px;
}

.lead {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-main {
  display: inline-block;
  background: #f39c12;
  color: white;
  padding: 16px 32px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Услуги */
.services-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.8em;
  color: #2c3e50;
}

.section-titl {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8em;
  color: white;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  padding: 25px;
  width: 100%;
  max-width: 350px;
}

.card h3 {
  margin-bottom: 12px;
  color: #2c3e50;
  font-size: 1.4em;
  text-align: center;
}

.card p {
  color: #555;
  font-size: 1em;
  line-height: 1.6;
  text-align: center;
}

/* Где работаем */
.map-section {
  background: #4CAF50;
  color: white;
  padding: 20px 0;
}

.map-section .section-title {
  color: white;
}

.location-text {
  text-align: center;
  font-size: 1.2em;
  color: white;
  max-width: 800px;
  margin: 20px auto 0;
  line-height: 1.7;
}

/* Подвал */
footer {
  text-align: center;
  padding: 10px 20px;
  background: #4CAF50;
  color: white;
  font-size: 0.9em;
  
}
footer  .container {
	display: flex;
	justify-content: center;
}
.sprint {
	margin-left: 50px;
}
footer p {
  margin: 8px 0;
}

/* === Адаптивность === */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.4em;
  }
  .lead {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .mobile-menu a {
    font-size: 1.2em;
    padding: 10px 0;
    text-decoration: none;
	text-transform: uppercase;
  }
}

/* === Таблица прайса === */
.pricing-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.table-container {
  max-width: 75%;
  margin: 20px auto;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-family: Arial, sans-serif;
}

th, td {
  padding: 5px 10px;
  border: 1px solid #ddd;
  text-align: center;
}

td:first-child {
  text-align: left;
}

th {
  background-color: #4CAF50;
  color: white;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #ddefee;
}
.marka {
	text-align: center; 
	margin-top: 20px; 
	color: #777; 
	font-style: italic;
}


/* === Фотогалерея === */
.gallery-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery img {
    height: 200px;
  }
  .contakts-section {
	  display: none;
  }
}
.contakts-section {
	text-align: center;
}
.contakts-section a{
	font-size: 200%;
	color: black;
	text-decoration: none;
}
.contakts-section p{
	padding:0 0 50px 0;
}
/* === Калькулятор === */ /**/
.calculator {
  max-width: 500px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #FFFFFF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

select, input[type="number"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.calculator  button {
  background-color: #e74c3c;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.calculator  button:hover {
  background-color: #c0392b;
}
 .btnchik {
    background: url("../img/icon-256x256.png") center/contain no-repeat;
    width: 15%;
    height:15%;
	position: fixed;
    top: 85%;
    left: 80%;
	animation: animate 7s  linear infinite ;	
}


 @keyframes animate
{
0%
{transform: rotateY(-180deg);}
100%
{transform: rotateY(180deg);}
}
.mobile { display: none; }
@media only screen and (min-device-width : 320px)
and (max-device-width : 600px){ .mobile { display: inline; }}

.buttons {
	display: flex;
	justify-content: center;
}

.btn {
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 10px;
}

.btn-truck {
  background: #e74c3c;
   color: white !important;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
}
.list {
	margin-left: 20px;
	
}
.list li::marker {
	color: #4CAF50;
	font-size: 18px;
}