/* === Общие стили === */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F9F9F9;
    color: #333333;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #556B2F;
}

/* === Шапка сайта === */
header {
    background: url('../img/nawafon.png') no-repeat center center;
    background-size: cover;
    color: #FFFFFF;
    padding: 30px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .logo a {
    color: #FFFFFF;
    font-weight: bold;
    font-size: 24px;
    text-decoration: none;
}

header nav {
    margin-top: 10px;
}

header nav a {
    color: #FFFFFF;
    margin-right: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
}

header nav a:hover {
    color: #FFD700;
}

/* === Логотип === */
.logo img {
    vertical-align: middle;
}

/* === Контент === */
main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f9f9f9 0%, #eae8e0 30%, #f3f0e5 60%, #f9f9f9 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    backdrop-filter: blur(2px);
}

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

/* === Секции с контентом === */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #007BFF;
}

.intro-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
}

/* === Карточки услуг/описания === */
.features-grid,
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.feature-box,
.service-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 30px;
    flex: 1 1 300px;
    transition: transform 0.3s ease;
}

.feature-box:hover,
.service-box:hover {
    transform: translateY(-5px);
}

.feature-box h3,
.service-box h3 {
    color: #007BFF;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* === Преимущества === */
.benefits {
    margin-top: 60px;
}

.benefits-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.benefits ul {
    list-style: none;
    padding-left: 0;
}

.benefits li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 25px;
}

.benefits li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #007BFF;
}

/* === Футер === */
footer {
    background-color: #556B2F;
    color: #FFFFFF;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

footer a {
    color: #FFD700;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* === Форма === */
form {
    max-width: 600px;
    margin: 0 auto;
}

form label {
    display: block;
    margin-bottom: 15px;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-sizing: border-box;
}

form textarea {
    height: 150px;
}

/* === Навигация === */
.nav-links {
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.nav-links:hover {
    color: #007BFF;
}

/* === Footer === */
footer {
    background-color: #556B2F;
    color: #FFFFFF;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content p {
    margin: 8px 0;
    font-size: 1rem;
}

.footer-content a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.footer-links span {
    color: #ccc;
}