/* Main Header Styles */
.home_h1_text{
    font-family: 'GratoGrotesk', Arial, sans-serif;
}
.home_h1_text2{
    right: 320px;
    position: relative;
}
.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between; /* Изменено с space-around для лучшего выравнивания */
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 70px;
  position: relative;
}

/* Logo Styles */
.custom-logo-link {
  width: 256px;
  display: block;
  z-index: 102; /* Чтобы логотип был поверх меню */
}
.custom-logo {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop Navigation */
.desktop-menu {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
    gap: 25px;
}

.main-navigation li {
  margin: 0 15px;
  position: relative;
}

.main-navigation a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
  font-size: 16px;
}

.main-navigation a:hover {
  opacity: 0.7;
}

/* Contacts */
.header-contacts {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-phone {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-phone img{
    width: 20px;
    vertical-align: sub;
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  z-index: 101;
}

.menu-toggle img {
  width: 30px;
  height: auto;
  display: block;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-open {
  display: flex;
  opacity: 1;
}

.mobile-menu-container {
  position: relative;
  width: 90%;
  max-width: 400px;
  background: #fff;
  padding: 60px 20px 30px;
  border-radius: 10px;
  text-align: center;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.mobile-menu-overlay.is-open .mobile-menu-container {
  transform: translateY(0);
}

.mobile-logo {
  margin-bottom: 30px;
}

.mobile-logo .custom-logo {
  max-height: 60px;
  width: auto;
  margin: 0 auto;
}

.mobile-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.mobile-navigation li {
  margin-bottom: 20px;
}

.mobile-navigation a {
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s;
}

.mobile-navigation a:hover {
  color: #0066cc;
}

.mobile-phone {
  display: inline-block;
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #0066cc;
  text-decoration: none;
}

.mobile-phone a {
  color: #0066cc;
  text-decoration: none;
}

.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-close img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.mobile-menu-close:hover img {
  transform: rotate(90deg);
}

/* No Scroll Class */
.no-scroll {
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .main-navigation li {
    margin: 0 10px;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 60px;
  }
  
  .custom-logo-link {
    width: 200px;
  }
  
  .desktop-menu {
    display: none;
  }
  
  .desktop-phone{
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .header-phone {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
    .home_h1_text1, .home_h1_text2, .home_h1_text3{
        height:40px;
    }
    .home_h1_text2{
        right: 0;
        position: relative;
    }
  .custom-logo-link {
    width: 180px;
  }
  
  .mobile-menu-container {
    padding: 50px 15px 25px;
  }
  
  .mobile-navigation li {
    margin-bottom: 15px;
  }
  
  .mobile-phone {
    font-size: 18px;
      color: #343434;
  text-decoration: none;
  }
}

/* Бегущая строка с брендами */
.brands-marquee {
  height: 69px;
  background-color: #f5f5f5;
  overflow: hidden;
  position: relative;
  border-top: 1px solid #343434;
  border-bottom: 1px solid #343434;
  display: flex;
}

.marquee-content {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  animation: scroll 15s linear infinite; /* Скорость анимации сладера с брендами */
}

.brand-item {
  display: inline-flex;
  align-items: center;
  margin: 0 20px;
  font-size: 22px;
  font-family: Arial, sans-serif;
  color: #343434;
  white-space: nowrap;
}

.brand-divider {
  width: 16px;
  height: 16px;
  background-color: #6c1601;
  margin-left: 10px;
  display: inline-block;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Среди наших клиентов */


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 60px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #222;
  font-weight: 600;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 25px;
}

.client-category {
  /*background: #f9f9f9;
  padding: 35px 20px;*/
  border-radius: 8px;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.client-category:hover {
  background: #e9e9e9;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-color: transparent;
  cursor: pointer;
}

.client-icon {
  margin-bottom: 20px;
}

.client-icon .material-icons {
  font-size: 48px;
  color: #6C1601;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  display: inline-block;
}

.client-category h3 {
  font-size: 14px;
  color: #333;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr));
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 28px;
  }
  
  .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .client-icon {
  margin-right: 20px;
  margin-bottom: 0;
}

.client-category h3 {
    text-align: left;
}

  .client-category {
    padding: 5px 20px;
    display: flex;
    align-content: space-around;
    justify-content: flex-start;
    align-items: center;
}

#zoom-image{border:none;}