/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1140px;
    margin: auto;
    padding: 0 1rem;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    background-color: #fff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

.logo {
    text-decoration: none;
    color: #333;
    font-size: 1.5em;
    font-weight: bold;
}

.main-nav ul {
    list-style-type: none;
    display: flex;
}

.main-nav li a {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease-in-out;
}

.main-nav li a:hover {
    color: #ffcc00;
}

.hero-section {
    min-height: calc(100vh - 60px); /* высота окна минус высота хедера */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(to bottom right, #ffd700, #ffb300);
    color: white;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 1rem;
}

.hero-section button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease-in-out;
    margin-top: 20px;
}

.hero-section button:hover {
    background-color: white;
    color: black;
}

.about-us img {
    width: 100%;
    max-width: 300px;
    margin-top: 1rem;
}

.services {
    background-color: #fefefe;
    padding: 3rem 0;
}

.service-items {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    margin-top: 30px;
}

.project-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border-radius: 5px;
    outline: none;
    resize: vertical;
}

.contact form button[type="submit"] {
    background-color: #ffcc00;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease-in-out;
}

.contact form button[type="submit"]:hover {
    opacity: 0.8;
}

.site-footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

.img__src{
    border-radius: 10px;
}


.vebenan_exsapating{
  max-width: 50%;
  position: relative;
  margin: auto;
  height: 300px;
  margin-bottom: 15px;
}
.vebenan_exsapating .couragin img {
  object-fit: cover;
  width: 100%;
  height: 300px;
  border: none !important;
  box-shadow: none !important;
  border-radius: 10px;
}
.vebenan_exsapating .prev, .vebenan_exsapating .next {
  cursor: pointer;
  position: absolute;
  top: 0;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}
.vebenan_exsapating .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.vebenan_exsapating .prev:hover,
.vebenan_exsapating .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.dasemau-souldke {
  position: absolute;
  color: #fff;
  font-size: 35px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 1px 1px 1px #000, 0 0 1em #000;
}

.vebenan_exsapating-dots {
  text-align: center;
}
.asequ_tomore_katima{
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 2px;
  background-color: #ddd;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.kepectation,
.asequ_tomore_katima:hover {
  background-color: #aaa;
}

.vebenan_exsapating .couragin {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}
@-webkit-keyframes fade {
  from {
  opacity: .4
  }
  to {
  opacity: 1
  }
}
@keyframes fade {
  from {
  opacity: .4
  }
  to {
  opacity: 1
  }
}








/* Адаптивность для мобильных устройств */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .hero-section h1 {
        font-size: 2.5em;
    }

    .main-nav ul {
        flex-wrap: wrap;
    }

    .main-nav li a {
        padding: 5px 10px;
    }

    .service-items,
    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }

    .about-us img {
        max-width: 100%;
    }

    .vebenan_exsapating{
  max-width: 90%;
  position: relative;
  margin: auto;
  height: 300px;
  margin-bottom: 15px;
}
}

/* Для планшетов */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .service-items,
    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}