
/* Общие стили */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

header,
section {
    flex-shrink: 0;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    background-color: #111;
    color: white;
}
body {
    font-family: 'Century Gothic', Arial, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: rgb(0, 0, 0);
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

/* Навигация */
header {
    background-color: #000000;
    color: white;
    padding: 20px 0;
    text-align: center;

    position: relative;
    width: 100%;
    z-index: 1;
}

.logo-link {
    text-decoration: none;
    color: white;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.logo-link:hover {
    color: #80EDDD;
    transform: scale(1.1);
}

header .logo h1 {
    margin: 0;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

header .logo h1:hover {
    transform: scale(1.1);
}

header nav ul {
    list-style: none;
    margin-top: 10px;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #80EDDD;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
}

header nav ul li a:hover {
    color: #80EDDD;
}

header nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Герой-секция */
.hero {
    height: 90vh; /* Высота секции */
    background: url('11.png') no-repeat center center/cover; /* Фон-картинка */
    display: flex;
    justify-content: center; /* Центрирование по горизонтали */
    align-items: center; /* Центрирование по вертикали */
    text-align: center; /* Центрирование текста */
    color: white;
    padding: 0 20px; /* Отступы по бокам */
}

.hero-content {
    display: flex;
    flex-direction: column; /* Элементы выстраиваются вертикально */
    align-items: center; /* Центрирование элементов по горизонтали */
    gap: 20px; /* Отступ между элементами */
}

.hero .btn {
    margin-top: -170px;
    order: -1; /* Перемещаем кнопку на первое место */
    padding: 12px 40px; /* Размер кнопки */
    background-color: #80EDDD; /* Цвет кнопки */
    color: #000; /* Цвет текста */
    font-size: 1.2rem; /* Размер текста кнопки */
    font-weight: bold;
    text-decoration: none;
    border-radius: 15px; /* Закругленные углы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Тень */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Расстояние между текстом и иконкой */
}

.hero .btn:hover {
    background-color: #6FD1C2; /* Цвет кнопки при наведении */
    transform: translateY(-3px); /* Эффект подъема */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* Увеличенная тень */
}

.hero .btn:active {
    transform: translateY(0); /* Возврат в исходное положение при нажатии */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Тень при нажатии */
}

.hero h2 {
    font-size: 3.5rem; /* Крупный заголовок */
    font-weight: 700; /* Жирный шрифт */
    margin: 0; /* Убираем отступы */
    line-height: 1.2; /* Высота строки */
    text-shadow: 3px -1px 4px rgba(0, 0, 0, 0.5);
        transform: translateY(30px);
    animation: fadeInText 1.4s ease-out forwards;

}

.hero p {
    font-size: 1.5rem; /* Размер подзаголовка */
    margin: 0; /* Убираем отступы */
    line-height: 1.6;
    text-shadow: 3px -1px 4px rgba(0, 0, 0, 0.5);
        transform: translateY(30px);
    animation: fadeInText 1.4s ease-out forwards;
}
.hero .btn {
    padding: 12px 40px;
    background-color: #80EDDD;
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInText 1.4s ease-out forwards;
}

.hero .btn:hover {
    background-color: #6FD1C2;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.hero .btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Анимации */
@keyframes fadeInText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Секция услуг */
.services {
    padding: 35px 0;
    background-color: #ffffff;
    text-align: center;
}

.services h3 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service {
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(105, 103, 104, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(105, 103, 104, 0.2);
}

.service h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service p {
    font-size: 1rem;
}

/* Портфолио */
.portfolio {
    padding: 10px 0;
    background-color: #000000;
    text-align: center;
}

.portfolio h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 92%;
    

}

.portfolio-item img {
    width: 100%;
    border-radius: 8px;
    
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item:hover::before {
    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
}

/* идите на хуй */

/* Контактная форма */
.contact {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 1rem;
    margin-bottom: 8px;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: #000000;
    color: #fff;
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #80EDDD;
}

/* Подвал */
footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 15px;
    transition: background-color 0.3s ease;
}

/* Заставка */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    z-index: 1000;
    animation: fade-out 2s forwards;
}

#splash-screen img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

@keyframes fade-out {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Секция "About" */
/*
.about {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 20px;
    gap: 20px;
    min-height: 100vh;
    background: url('77.png') no-repeat center center/cover;
}
*/


.about-text {
    max-width: 60%;
    color:white;
  
    padding: 20px;
    border-radius: 8px;
}
.highlight {
    color: #80EDDD;
    line-height: 1.6;
}

.about-text h2 {
     color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
   color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.6;
   
}



/* Медиа-запросы */
@media (max-width: 768px) {
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about {
        flex-direction: column;
        padding: 20px;
    }

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

    .about-text {
        max-width: 100%;
    }
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  align-items: flex-start;
}

/* Слайдер слева */
.slider-section {
  flex: 1 1 60%;
  min-width: 300px;
}

/* Swiper-контейнер */
.swiper {
  width: 100%;
  height: auto;
}

/* Картинки в слайдере */
.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

/* Текст справа */
.about-text {
  flex: 1 1 35%;
  min-width: 280px;
  font-size: 16px;
  line-height: 1.5;
}
.portfolio-categories {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 0;
}

.category-link {
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.category-link:hover {
    background-color: #444;
}

.portfolio-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 20px;
  box-sizing: border-box;
}

.portfolio-item {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
}

.portfolio-item h3 {
    margin: 12px 16px 4px;
    font-size: 1.2rem;
    order: 1;
}

.portfolio-item p {
    margin: 0 16px 16px;
    font-size: 1rem;
    color: #555;
    order: 2;
}
.modal {
  display: none;
  position: fixed;
  z-index: 99;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 25px #fff;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
}
.slideshow {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slideshow .slide.active {
  opacity: 1;
}

#modalVideo {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  display: none;
}
#modalVideo {
  min-width: 400px;
  min-height: 300px;
}
#chat-icon.notify {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
