/* 🔹 Подключение Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

/* 🔹 Общие стили */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; scroll-behavior: smooth; }
body { background: #f9f9f9; color: #333; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; text-align: center; }

/* 🔹 Навигация */
.navbar { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    background: rgba(255, 255, 255, 0.9); 
    padding: 15px 0; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8em; font-weight: bold; text-decoration: none; color: #0071e3; }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: #333; font-size: 1em; transition: color 0.3s; }
.btn-contact { background-color: #0071e3; color: white !important; padding: 8px 15px; border-radius: 5px; }

/* 🔹 Kangelase sektsioon */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

/* 🔹 Peamine pilt */
.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* 🔹 Poluprotseeriv kiht */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Tume kiht */
    z-index: -1;
}

/* 🔹 Tekst */
.hero .container {
    position: relative;
    z-index: 1;
}
.hero h1 { font-size: 3.5em; font-weight: 600; text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); }
.hero p { font-size: 1.4em; margin-top: 10px; opacity: 0.9; }
.btn { display: inline-block; margin-top: 20px; padding: 15px 30px; background-color: #0071e3; color: white; text-decoration: none; font-size: 1.2em; border-radius: 8px; transition: background 0.3s, transform 0.2s; }
.btn:hover { background-color: #005bb5; transform: scale(1.05); }

/* 🔹 Контентные блоки */
section { padding: 80px 0; background: white; }
h2 { font-size: 2.2em; margin-bottom: 30px; }

/* 🔹 Преимущества */
.why-us { background: #f5f5f7; }
.benefits { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.benefit { background: white; padding: 25px; border-radius: 10px; width: 30%; min-width: 280px; text-align: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); transition: transform 0.3s; }
.benefit:hover { transform: scale(1.05); }
.benefit h3 { font-size: 1.4em; margin-bottom: 10px; }

/* 🔹 Галерея */
.gallery-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap; /* Запрещает перенос элементов */
    padding-bottom: 10px; /* Чтобы картинки не слипались с границами */
}

/* 🔹 Изображения в галерее */
.gallery-item img {
    width: auto;
    height: 250px; /* Фиксированная высота для выравнивания */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* 🔹 Эффект увеличения */
.gallery-item:hover img {
    transform: scale(1.1);
}

/* 🔹 Этапы работы */
.workflow { background: white; }
.workflow-steps { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.step { background: #f5f5f7; padding: 25px; border-radius: 10px; width: 22%; min-width: 250px; text-align: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); transition: transform 0.3s; }
.step:hover { transform: scale(1.05); }
.step h3 { font-size: 1.4em; margin-bottom: 10px; }

/* 🔹 Контакты */
.contact { background: #0071e3; color: white; }
.contact form { display: flex; flex-direction: column; gap: 15px; max-width: 500px; margin: 0 auto; }
.contact input, .contact textarea { padding: 10px; border-radius: 5px; border: none; width: 100%; }

/* 🔹 Футер */
footer { background: #333; color: white; text-align: center; padding: 20px; }