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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

/* Хедер */
header {
    background-color: #004080;
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffcc00;
}

/* Главная секция */
.home-section {
    padding: 100px 0 60px;
    background: #f4f4f4;
    margin-top: 80px;
}

.home-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

.home-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
}

.services-overview {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.service-item {
    width: 30%;
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s;
}

.service-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.service-item h3 {
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #004080;
}

.service-item:hover {
    transform: translateY(-5px);
}

.btn {
    display: inline-block;
    background-color: #004080;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0066cc;
}

/* Секция услуг */
.services-section {
    padding: 60px 0;
}

.services-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
}

.accordion {
    max-width: 800px;
    margin: auto;
}

.accordion-item {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.accordion-header {
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    background-color: #f9f9f9;
    position: relative;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5em;
    transition: transform 0.3s;
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-content p {
    padding: 15px 0;
}

.accordion-content img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.pricing-table th, .pricing-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.pricing-table th {
    background-color: #004080;
    color: #fff;
}

.pricing-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.link {
    color: #004080;
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

/* Секция контактов */
.contacts-section {
    padding: 60px 0;
    background: #f4f4f4;
}

.contacts-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
}

.contact-info {
    max-width: 600px;
    margin: auto;
    font-size: 1.1em;
    line-height: 1.8;
}

.contact-info p {
    margin-bottom: 10px;
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

footer .container {
    text-align: center;
}

.legal-info {
    margin-bottom: 10px;
}

/* Форма обратной связи */
.feedback-section {
    padding: 60px 0;
    background: #fff;
}

.feedback-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
}

.feedback-section form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.feedback-section label {
    margin-bottom: 5px;
    font-weight: 500;
}

.feedback-section input, 
.feedback-section textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.feedback-section button {
    align-self: center;
}

/* Медиа запросы */
@media (max-width: 768px) {
    .services-overview {
        flex-direction: column;
        align-items: center;
    }
    
    .service-item {
        width: 80%;
    }
    
    nav ul {
        flex-direction: column;
        background-color: #004080;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        display: none;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    nav ul.show {
        display: block;
    }
    
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
}
