/* Общие стили */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Шапка сайта */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-right: auto; /* Изменено для выравнивания */
}

.main-nav {
    display: flex;
    gap: 25px;
    margin-right: auto; /* Добавлено для выравнивания */
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s;
    padding: 8px 12px; /* Добавлено для лучшего клика */
}

.nav-link:hover {
    color: #D30B0B; /* Изменено на красный */
}

.callback-btn {
    background-color: #D30B0B; /* Красный цвет */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    margin-left: 20px; /* Добавлено для отступа */
}

.callback-btn:hover {
    background-color: #D30B0B; /* Темнее при наведении */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(211, 11, 11, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo {
        margin-right: 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav {
        margin-right: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .callback-btn {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Основное содержимое страницы политики */
.privacy-main {
    padding: 60px 0 40px;
    background-color: #f9f9f9;
    min-height: calc(100vh - 300px);
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-content {
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-top: 30px;
    line-height: 1.8;
    color: #444;
}

.privacy-content h1 {
    color: #1e88e5;
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
}

.privacy-content h2 {
    color:  #D30B0B;
    margin-top: 50px;
    font-weight: 600;
    font-size: 24px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}

.privacy-content h3 {
    color: #333;
    margin-top: 30px;
    font-weight: 500;
    font-size: 18px;
}

.privacy-list {
    padding-left: 20px;
    margin: 20px 0;
}

.privacy-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.privacy-list li:before {
    content: "•";
    color: #1e88e5;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.highlight {
    background-color: #f0f7ff;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 500;
}

.section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #1e88e5, transparent);
    margin: 40px 0;
}

.privacy-content a {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-content a:hover {
    color: #0d5ba8;
    text-decoration: underline;
}

/* Футер */
.site-footer {
    background-color: #1e88e5;
    color: white;
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 20px;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #e3f2fd;
    text-decoration: underline;
}

.footer-section p {
    margin: 10px 0;
    text-align: left;
}

.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: #1e88e5;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
    font-weight: bold;
}

.social-button:hover {
    transform: translateY(-3px);
}

.social-button.vk:hover {
    background-color: #4a76a8;
    color: white;
}

.social-button.whatsapp:hover {
    background-color: #25D366;
    color: white;
}

.social-button.telegram:hover {
    background-color: #0088cc;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Адаптивность */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section p {
        text-align: center;
    }
    
    .social-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 30px;
    }
    
    .privacy-content h1 {
        font-size: 28px;
    }
    
    .privacy-content h2 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .main-nav {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .phone {
        font-size: 12px;
    }
    
    .privacy-content {
        padding: 20px;
    }
    
    .privacy-content h1 {
        font-size: 24px;
    }
    
    .privacy-list li {
        padding-left: 20px;
    }
}

.callback-btn:hover {
    background-color: #2980b9;
}

/* Основные глобальные стили */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

/* Цветовая схема на основе #D30B0B */
:root {
    --primary-color: #D30B0B;
    --primary-dark: #A00808;
    --primary-light: #FF3A3A;
    --primary-extra-light: rgba(211, 11, 11, 0.1);
}

/* Шапка сайта */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: auto;
    font-family: 'Playfair Display', serif;
}

.main-nav {
    display: flex;
    gap: 25px;
    margin-right: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover:after {
    width: 100%;
}

.callback-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(211, 11, 11, 0.3);
}

.callback-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 11, 11, 0.4);
}

/* Герой-секция */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.7)), url('../img/ypppkvka.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 28px;
    margin: 15px 0;
    letter-spacing: 5px;
    position: relative;
    display: inline-block;
    padding: 0 25px;
}

.hero-subtitle:before,
.hero-subtitle:after {
    content: '~';
    position: absolute;
    top: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.hero-subtitle:before {
    left: 0;
}

.hero-subtitle:after {
    right: 0;
}

/* Разделители */
.divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color, #D30B0B); /* Если --primary-color нет, использует #D30B0B */
	color: #D30B0B;
    margin: 20px auto;
    border-radius: 2px;
}

/* Секции */
.section-title {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

/* Карточки */
.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-top: 4px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Футер */
.site-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: rgba(255,255,255,0.5);
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.social-button {
    background: rgba(255,255,255,0.2);
}

.social-button:hover {
    background: rgba(255,255,255,0.3);
}

/* Модальное окно */
.modal-content {
    border-top: 5px solid var(--primary-color);
}

.submit-btn {
    background-color: var(--primary-color);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-link {
        font-size: 14px;
    }
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: auto;
    font-family: 'Playfair Display', serif;
    text-decoration: none; /* Убираем подчеркивание */
    cursor: pointer; /* Меняем курсор при наведении */
    transition: color 0.3s ease; /* Плавное изменение цвета */
}

.logo:hover {
    color: var(--primary-dark); /* Изменение цвета при наведении */
    text-decoration: none; /* Гарантируем, что подчеркивания не будет */
}