/* banner.css */

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}
@keyframes threedSpin {
    0% { transform: perspective(800px) rotateY(0deg); }
    100% { transform: perspective(800px) rotateY(360deg); }
}
@keyframes glow {
    0% { box-shadow: 0 0 10px #ffeb3b; }
    50% { box-shadow: 0 0 30px #ffeb3b; }
    100% { box-shadow: 0 0 10px #ffeb3b; }
}
.banner {
    background: linear-gradient(to bottom, #ff9800, #000000, #4caf50);
    color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    font-family: 'Verdana', sans-serif;
    width: 100%;
    max-width: 100%;
    margin: 50px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    position: relative;
    animation: fadeInDown 1.2s ease-in-out;
    box-sizing: border-box;
}
.banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ffffff, transparent);
    animation: bounce 2s infinite;
}
.banner h1, .banner h2 {
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Arial Black', sans-serif;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 1px;
}
.banner ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.banner li {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.1);
    padding: 15px;
    border-radius: 12px;
    transition: background 0.4s, transform 0.4s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.banner li:hover {
    background: rgba(0,0,0,0.2);
    transform: translateY(-5px);
}
.banner i {
    font-size: 60px; /* Увеличил размер для лучшей видимости */
    margin-right: 20px;
    transition: transform 0.6s;
    text-shadow: 
        0 2px 2px rgba(255,255,255,0.7), /* Улучшил тени для контраста */
        0 -2px 2px rgba(0,0,0,0.5),
        2px 0 2px rgba(0,0,0,0.3),
        -2px 0 2px rgba(0,0,0,0.3),
        0 4px 10px rgba(0,0,0,0.5);
    transform-style: preserve-3d;
    perspective: 1000px;
    filter: brightness(1.2) contrast(1.5); /* Улучшил видимость иконок */
}
.banner li:hover i {
    transform: rotateY(180deg);
}
.banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.05);
    pointer-events: none;
}
.animated-button {
    display: inline-block;
    background: #ffeb3b;
    color: #4caf50;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    margin: 20px 0;
    animation: glowButton 2s infinite;
    transition: transform 0.3s;
}
.animated-button:hover {
    transform: scale(1.1);
}
.blinking-icon {
    font-size: 120px;
    animation: blink 1.5s infinite, rotateIcon 3s linear infinite;
    margin-bottom: 30px;
}
.threed-link {
    display: inline-block;
    background: linear-gradient(to bottom, #ff9800, #f57c00);
    color: #ffffff;
    padding: 20px 40px;
    border-radius: 15px;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    margin-top: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3), inset 0 -2px 5px rgba(0,0,0,0.2);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s, box-shadow 0.5s;
    animation: threedSpin 5s linear infinite alternate, glow 2s infinite;
}
.threed-link:hover {
    transform: rotateX(20deg) rotateY(20deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4), inset 0 -4px 10px rgba(0,0,0,0.3);
}
/* Icon colors */
.icon1 { color: #ff6347; } /* Tomato - Замена пленки */
.icon2 { color: #4682b4; } /* SteelBlue - Ремонт каркаса */
.icon3 { color: #ffd700; } /* Gold - Герметизация швов */
.icon4 { color: #20b2aa; } /* LightSeaGreen - Замена поликарбоната */
.icon5 { color: #dc143c; } /* Crimson - Усиление конструкции */
.icon6 { color: #ff8c00; } /* DarkOrange - Восстановление креплений */
.icon7 { color: #32cd32; } /* LimeGreen - Ревизия вентиляции */
.icon8 { color: #c0c0c0; } /* Silver - Антикоррозийная обработка */
.icon9 { color: #9370db; } /* MediumPurple - Утепление фундамента */
.icon10 { color: #ffd700; } /* Gold - Модернизация системы */
/* Mobile adaptations */
@media (max-width: 768px) {
    .banner {
        padding: 20px;
        margin: 20px 0;
    }
    .banner h1 {
        font-size: 2.2em;
    }
    .banner h2 {
        font-size: 1.6em;
    }
    .banner ul {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 10px;
    }
    .banner li {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }
    .banner i {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 40px;
    }
    .threed-link {
        padding: 15px 25px;
        font-size: 1.2em;
    }
    .banner::after {
        height: 3px;
    }
    .animated-button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .blinking-icon {
        font-size: 80px;
    }
}
@media (max-width: 480px) {
    .banner {
        padding: 15px;
    }
    .banner h1 {
        font-size: 1.8em;
    }
    .banner p {
        font-size: 1em;
    }
}
.logo-top {
  text-align: center;
  margin-bottom: 20–30px;
}

.logo-image {
  max-width: 100%;
  height: auto;
  max-height: 120px;         /* можно изменить размер логотипа */
  display: block;
  margin: 0 auto;
  border-radius: 8px;        /* скругление углов, если нужно */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* лёгкая тень */
}

/* Чтобы логотип выглядел лучше на мобильных */
@media (max-width: 768px) {
  .logo-image {
    max-height: 90px;
  }
}