/* Основные стили */
body.home-page {
    margin: 0;
    padding: 0;
    background-color: #121212; /* Фон для шапки и подвала */
    font-family: Arial, sans-serif;
}

.background-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('demontazh-bg.jpeg') no-repeat center center;
    background-size: contain;
    z-index: -2;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(211, 42, 42, 0.7);
    z-index: -1;
}
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.7);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.image-container {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5)),
        url('demontazh-bg.jpeg') no-repeat center center;
    background-size: cover;
    min-height: 60vh;
    border-radius: 8px; /* Опционально: скругление углов */
    margin: 20px 0;
}

/* Стили для hero-секции */
.hero {
    padding: 40px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Стили для подвала */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem;
    text-align: center;
}
        
.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
        
.footer-section {
    margin-bottom: 1rem;
    flex: 1;
    min-width: 250px;
    padding: 0 1rem;
}

.footer-section h3 {
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 20px;
    }
}
