/* Общие стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: #000;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Шапка */
.header {
    background-color: #222;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.logo-text {
    font-size: 32px;
    color: #f9b233;
    font-weight: bold;
}

/* Меню */
.nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav ul li a:hover {
    background-color: #f9b233;
    color: #000;
}

/* Главный баннер */
.hero {
    text-align: center;
    padding: 100px 20px;
}

.hero h2, .hero p {
    text-align: center;
}

/* Услуги */
.services .service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-item {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(255, 200, 0, 0.2);
}

.btn {
    background-color: #f9b233;
    color: #000;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    background-color: #fff;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #222;
    color: #fff;
    padding: 20px;
    margin: 10% auto;
    width: 50%;
    text-align: center;
    border-radius: 10px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

/* Портфолио */
.portfolio-slider {
    position: relative;
    overflow: hidden;
    max-height: 100%; /* Вернули размер портфолио */
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slider img {
    width: 100%;
    flex-shrink: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #f9b233;
    color: #000;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Контакты */
.contact-box {
    background-color: #111;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(255, 200, 0, 0.3);
    margin-top: 60px; /* Увеличено расстояние между контактами и портфолио */
}

.contact-info p {
    font-size: 18px;
    color: #f9b233;
    margin: 10px 0;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    color: #f9b233;
}

/* Наши документы */
.documents {
    text-align: center;
    padding: 50px 0;
}

.documents h2 {
    margin-bottom: 20px;
}

.document-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.document-item {
    width: 60px; /* Уменьшен размер документов в 2 раза */
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(255, 200, 0, 0.3);
}

.document-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
