  /* Общие стили */
  body {
    padding-top: 60px;
    margin: 0;
    font-family: Arial, sans-serif;
  }

  /* Шапка - фиксированная */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333;
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .logo {
    color: #fff;
    font-size: 20px;
  }
  /* Гамбургер */
  .burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
  }
  .burger span {
    display: block;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
  }

  /* Меню для десктопа */
  nav {
    display: flex;
    gap: 15px;
  }
  nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    cursor: pointer;
  }
  #linkPrice {
    border: 1px solid #fff;
  }
  #linkPrice:hover {
    background-color: #fff;
    color: #000;
  }

  /* Мобильное меню */
  @media (max-width: 768px) {
  
    nav {
      display: none;
    }
    .burger {
      display: flex;
    }
    #overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.8);
      display: none;
      z-index: 1000;
      padding: 20px;
      box-sizing: border-box;
    }
    #overlay.active {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    #overlay nav {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-top: 50px;
    }
    #overlay nav a {
      color: #fff;
      font-size: 24px;
      text-decoration: none;
      cursor: pointer;
    }
  }
  
  #mainContent{
    padding-top: 80px;
  }

  /* Контент блоки – чтобы не скрывались, добавим padding, чтобы не под шапкой */
  /* Каждый блок снизу будет отступом для прокрутки */
#mainContent,
#aboutContent,
#servicesContent,
#contactsContent,
#priceContent {
  width: 100%;

  margin: 0;
  padding: 20px 20px 20px 20px; /* отступ снизу, чтобы не уходил под фиксированную шапку */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* Разные фоны для наглядности */
#contactsContent {   height: 100vh; }
#mainContent { 
 
 }
 /* Стили для ДОСТАВКИ ---------------------------------------------------*/
#aboutContent { 
    height: 100vh;
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url("Дрова\ с\ комаза.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; 
 color: #a5a5a5;
  font-size:250%;
  font-weight: bold;
  }
 #infoBtn {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  /* чтобы было проще — ширина по содержимому */
  display: inline-block;
}

#infoBox {
  margin-top: 10px;
  height: 50px; /* высота, можно подогнать */
  overflow: hidden;
  background-color: #eef;
  width: fit-content; /* чтобы ширина совпадала с содержимым */
  border: 1px solid #99c;
  padding: 10px;
  box-sizing: border-box;
  transition: height 0.3s ease, width 0.3s ease;
}

/* чтобы скрывать */
.hidden {
  height: 0;
  padding: 0;
  border: none;
}

.adaptive-button {
  padding: 10px 20px;
  width: 250  px;
}
#toggleBtn{
font-size: 20px;
}

/* Для больших экранов */
@media (min-width: 900px) {
  .adaptive-button {
    width: 700px;
  }
  .sylki a{
    margin-right: 15px;
  }
}

/* Конец  Стили для Доставки */


/* Стили для контакта --------------------------------------------------------*/


#servicesContent {
 height: 100vh;
  margin-top: 0;
  padding-top: 0;
 
}
#servicesContent p{
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* по умолчанию так */
  align-items: stretch; /* чтобы растянуть содержимое по ширине */
}


/* Конец Стили для контакта */

/* Cтили для звказа------------------------------------------------------- */
#feedbackForm input[type="tel"],
#feedbackForm select,
#feedbackForm button {
  width: 100%; /* чтобы все элементы резались в ширину контейнера */
  box-sizing: border-box; /* чтобы padding и border учитывались в ширине */
  height: 40px; /* одинаковая высота для всех элементов */
  padding: 8px 12px; /* внутренние отступы */
  font-size: 16px; /* шрифт, чтобы выглядело аккуратно */
  margin-bottom: 10px; /* расстояние между элементами */
  margin-top: 10px; /* расстояние между элементами */
}
#priceContent {
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url("дрова\ для\ заказа.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; 
    color: #a5a5a5; 
   height: 100v;
   
  } 
label{
   font-size: 1.5rem;
  
   
}
.zakaz{
  font-size: 250%;
  font-weight: bold;
}
/* конец Cтили для звказа */

#mapContainer {
  width: 100vw;      /* на всю ширину окна браузера */
  height: 100vh;     /* на всю высоту окна браузера */
  margin: 0;
  padding: 0;
}
/* Стили для цееннаааааааааааа */


    .cards-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      padding: 40px;
      background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
      font-family: 'Arial', sans-serif;
    }

    /* Стиль карточек */
    .card {
      flex: 1 1 300px;
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
      max-width: 350px;
    }
    .min{
      display: none;
    }
    
    /* Адаптивные стили для мини экранов */
 @media (max-width: 768px) {
  .max{
        display: none;
      }
  .min{
      display: block;
    }
 }
    /* Адаптивные стили для больших экранов */
    @media (min-width: 768px) {
      .cards-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        
      }
     
    }

    .call-button {
    padding: 15px 30px;
    font-size: 1.2em;
    background-color: #0c0c0c; /* Зеленый цвет */
    color: white;
    border: none;
    border-radius: 26px;
    cursor: pointer;
    width: 100%;
    max-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
  }
a{
  
}
  .call-button:hover {
    background-color: #45a049;
  }