* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Comfortaa", sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #e2d5c3 100%);
}

/* Логотип в углу */
.corner-logo {
  position: fixed;

  z-index: 1100;
}

.corner-logo img {
  width: 120px;
  height: auto;
}

/* Навигация */
.nav {
  position: fixed;
  width: 100%;
  padding: 20px 5%;
  background: #1a1d3c;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: #012a24;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #ee4b16;
}

.burger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Главный экран */
.hero {
  height: 100vh;
  background: url("https://via.placeholder.com/1920x1080") center/cover
    no-repeat;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  color: white;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}
.btnlog {
  display: inline-block;
  align-self: center;
  height: 30px;
  font-size: 12px;
  text-align: center;
  padding: 7px 20px;
  background:  #ef4b18cc;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: transform 0.3s;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  background:  #ef4b18cc;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: transform 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
}

/* Услуги */
.services {
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.services h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
  color: #012a24;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: #012a24;
  margin-bottom: 15px;
}



/* Галерея */
.gallery {
  padding: 80px 5%;
  background: white;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
  color: #012a24;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 10px;
}

/* Преимущества */
.advantages {
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.advantages h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
  color: #012a24;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.advantage-item {
  text-align: center;
}

.advantage-item .icon {
  width: 60px;
  height: 60px;
  background: #ee4b16;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

/* Форма и контакты */
.contact {
  padding: 80px 5%;
  background: white;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.form h2,
.contacts h2 {
  margin-bottom: 30px;
  color: #012a24;
  font-size: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #f0ebe2;
  border-radius: 8px;
  font-size: 16px;
}

iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1a1d3c;
    flex-direction: column;
    padding: 20px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

 
}
.corner-logo {
  display: flex;
  gap: 30px;
  left: 10px;
  right: unset;
 
}

.hero {
  background: url(images/slide.jpg) center/cover no-repeat;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.about {
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  color: #012a24;
  font-size: 36px;
  margin-bottom: 30px;
}

.gallery-grid {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 10px;
}

.gallery-item {
  display: inline-block;
  width: 300px;
  height: 200px;
  margin-right: 15px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.hero {
  position: relative;
  background: url("images/slide.jpg") center/cover no-repeat;
  text-align: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0;
  border-radius: 10px;
}

.hero-content h1 {
    font-family: "Comfortaa", sans-serif;
 font-size: 56px;
  
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 20px;
  font-style: italic;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.btn {
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
.gallery-grid {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 10px;
  display: flex;
}

.gallery-item {
  flex: 0 0 auto;
  width: 300px;
  height: 200px;
  margin-right: 15px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .gallery-item {
    width: 200px;
    height: 130px;
  }

  .gallery-grid {
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    width: 160px;
    height: 100px;
  }
}
.advantage-item h3 {
    color: #012a24;
    margin-bottom: 10px;
    font-size: 22px;
}

.advantage-item p {
    font-size: 16px;
    color: #555;
}

.advantage-item .icon {
    font-size: 40px;
    background: none;
    margin-bottom: 10px;
}
.nav {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.nav-menu a, .logo, .burger {
    color: #fff;
    transition: color 0.3s ease;
}

.nav.scrolled .nav-menu a,
.nav.scrolled .logo,
.nav.scrolled .burger {
    color: #012a24;
}
/* Стили для иконок Font Awesome в разделе преимуществ */
.advantage-item .icon {
    font-size: 36px;
    color: #ee4b16;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff3e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-item .icon:hover {
    transform: scale(1.1);
    background: #f7e4c9;
}
.mygokna{
  text-decoration: underline;
  border-bottom: 1px #0c175b;
 text-underline-offset: 5px;

}
