@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.nav-link {
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff8800;
    transition: width 0.3s ease;
}

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

.dropdown:hover .dropdown-menu {
    display: block;
}

.contact-form input, .contact-form textarea {
    transition: all 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #ff8800;
    box-shadow: 0 0 0 3px rgba(255, 136, 0, 0.2);
}

.map-container {
    height: 400px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Используется на catalog.html, aerock-mini.html, aerock-r.html, aerock-rd.html */
@media (max-width: 640px) {
  .text-center h1 {
    font-size: 2rem; /* Уменьшаем размер шрифта для мобильных */
    line-height: 1.2;
    padding-left: 1rem;
    padding-right: 1rem;

  }

  .text-center p {
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;

  }
}
@media (max-width: 768px) {
  .text-center h1 {
    font-size: 2rem;
  }
  .text-center p {
    font-size: 1.1rem;
  }
}
@media (max-width: 400px) {
  .text-center h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    hyphens: auto;
  }
}
