body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f1f3f5;
    color: #222;
    scroll-behavior: smooth;
}

/* Навигация */
.navbar-logo {
    height: 40px; 
    margin-right: 10px;
}

.navbar {
    background: #c62828;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}
.navbar-brand, .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: color 0.3s;
}
.navbar-brand:hover, .nav-link:hover {
    color: #ddd !important;
}

.navbar-nav .nav-link.active {
    border-bottom: 2px solid #fff;
}

/* Специальное выделение для ссылки "Магазин" */
.nav-link.store-link {
    background: #fff;
    color: #c62828 !important;
    border-radius: 20px;
    padding: 6px 14px;
    font-weight: 600;
    margin-left: 10px;
    transition: all 0.3s ease;
}
.nav-link.store-link:hover {
    background: #f8f8f8;
    color: #a61c1c !important;
}

/* Hero Section: ИСПРАВЛЕНО для читаемости текста */
header.hero {
    /* ❗ ПРОВЕРЬТЕ ПУТЬ: image02.jpg должно лежать рядом с CSS/HTML */
    background: url('image02.jpg') center center / cover no-repeat;
    position: relative; 
    overflow: hidden; 
    
    padding: 120px 20px;
    text-align: center;
    color: #fff;
}

/* 🚩 КРИТИЧЕСКОЕ ИСПРАВЛЕНИЕ: Темный оверлей для читаемости */
header.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Черный полупрозрачный оверлей (60%) */
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1; 
}

header.hero h1,
header.hero p,
header.hero .btn-custom {
    position: relative;
    z-index: 2; 
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-custom {
    background-color: #c62828;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}
.btn-custom:hover {
    background-color: #a61c1c;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Секции */
.container section {
    padding: 70px 20px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
section.visible {
    opacity: 1;
    transform: translateY(0);
}
#about, #advantages, #services, #contacts {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 40px auto; 
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#about:hover, #advantages:hover, #services:hover, #contacts:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

h2 {
    color: #c62828;
    margin-bottom: 25px;
    font-weight: 600;
}

ul {
    list-style: none;
    padding-left: 0;
}
ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
ul li i {
    color: #c62828;
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Адаптивная карта */
.map-container {
    overflow: hidden;
    position: relative;
    /* 16:9 соотношение сторон */
    padding-bottom: 56.25%; 
    height: 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none !important;
}

/* Футер */
footer {
    background: #f5f5f5;
    color: #555;
    padding: 25px 0;
    text-align: center;
}
.footer-icons i {
    margin: 0 8px;
    font-size: 1.2rem;
    color: #777;
    transition: color 0.3s;
}
.footer-icons i:hover {
    color: #c62828;
}
.footer-link {
    display: block;
    margin-top: 10px;
    color: #c62828;
    font-weight: 600;
    text-decoration: none;
}
.footer-link:hover {
    text-decoration: underline;
}