body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 30px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left h1 {
    margin: 0 0 5px 0;
    font-size: 36px;
}

.header-left p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.header-right {
    flex-shrink: 0;
}

.consult-button {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.consult-button:hover {
    background-color: #d35400;
}
h1 {
    margin: 0;
    font-size: 36px;
}

section {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #2c3e50;
    color: white;
}
/* Стили для кнопки "Получить консультацию" */
.consult-button {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}

.consult-button:hover {
    background-color: #d35400;
}

/* Модальное окно (всплывающее) */
.modal {
    display: none;           /* Скрыто по умолчанию */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);  /* Полупрозрачный фон */
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Крестик закрытия */
.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: black;
}

/* Поля формы */
.modal-content label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.modal-content input[type="tel"],
.modal-content input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Чекбокс */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal !important;
    margin-top: 15px;
}

.checkbox-label input {
    width: auto !important;
}

/* Кнопка отправки */
.submit-button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    font-weight: bold;
}

.submit-button:hover {
    background-color: #1a252f;
}
/* ===== МЕНЮ С ВКЛАДКАМИ ===== */
.tabs-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s;
}

.tab-button:hover {
    background-color: #e67e22;
    color: white;
}

.tab-button.active {
    background-color: #2c3e50;
    color: white;
}

/* ===== КОНТЕНТ ВКЛАДОК ===== */
.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Сетка внутри вкладок */
.content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.text-block {
    flex: 1;
    min-width: 250px;
}

.text-block h3 {
    color: #2c3e50;
    margin-top: 20px;
}

.text-block ul {
    padding-left: 20px;
}

.image-block {
    flex: 1;
    min-width: 250px;
}

.image-block img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Галерея проектов */
.projects-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.project-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.project-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-item img:hover {
    transform: scale(1.03);
}

.project-item p {
    margin-top: 10px;
    font-weight: 500;
}

/* Стили для старых картинок, чтобы они нормально отображались */
.image-block img,
.projects-gallery img {
    max-width: 100%;
    height: auto;
}