/**
 * Homepage: balk "IJskoude aanbiedingen"
 */

section#actie-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, #0d5a93 0%, #1373B9 55%, #3a9ad9 100%);
    color: #ffffff;
    font-family: 'Obvia', sans-serif;
}

/* Ijskristal-glans */
section#actie-banner:before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 30%, rgba(255, 255, 255, 0.18) 0, transparent 35%),
        radial-gradient(circle at 88% 80%, rgba(255, 255, 255, 0.12) 0, transparent 40%);
    pointer-events: none;
}

/* Vallende sneeuwvlokken (decoratief) */
.actie-banner-sneeuw {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.actie-banner-sneeuw i {
    position: absolute;
    top: -30px;
    color: rgba(255, 255, 255, 0.22);
    animation: actieSneeuw 9s linear infinite;
}

.actie-banner-sneeuw i:nth-child(1) { left: 38%; font-size: 18px; animation-delay: 0s; }
.actie-banner-sneeuw i:nth-child(2) { left: 62%; font-size: 12px; animation-delay: 3s; animation-duration: 11s; }
.actie-banner-sneeuw i:nth-child(3) { left: 82%; font-size: 22px; animation-delay: 6s; animation-duration: 13s; }

@keyframes actieSneeuw {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    15%  { opacity: 1; }
    100% { transform: translateY(160px) rotate(180deg); opacity: 0; }
}

.actie-banner-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 22px 0;
}

/* Intro */
.actie-banner-intro {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
    color: #ffffff;
    text-decoration: none;
}

.actie-banner-icoon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 100%;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
}

.actie-banner-icoon i {
    animation: actieDraai 12s linear infinite;
}

@keyframes actieDraai {
    to { transform: rotate(360deg); }
}

.actie-banner-tekst {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.actie-banner-tekst strong {
    font-size: 30px;
    line-height: 34px;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
}

.actie-banner-tekst span {
    font-size: 17px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.92);
}

/* Motoren */
.actie-banner-motoren {
    display: flex;
    gap: 10px;
    flex: 0 1 auto;
}

.actie-banner-motor {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.actie-banner-motor:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

.actie-banner-motor .motor-naam {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.actie-banner-motor .motor-prijzen {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.actie-banner-motor .motor-nieuw {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
}

.actie-banner-motor .motor-actie {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

/* Knop */
.actie-banner-knop {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 100px;
    background: var(--yellowcolor, #FCBE02);
    color: #04112A;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.actie-banner-knop:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    color: #04112A;
}

.actie-banner-knop i {
    transition: transform 0.2s ease;
}

.actie-banner-knop:hover i {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
    .actie-banner-sneeuw,
    .actie-banner-icoon i {
        animation: none;
    }
    .actie-banner-sneeuw {
        display: none;
    }
}

/* Responsive */
@media only screen and (min-width: 1101px) {
    .actie-banner-tekst strong {
        font-size: 26px;
        line-height: 30px;
        white-space: nowrap;
    }
}

@media only screen and (max-width: 1300px) {
    .actie-banner-motor:nth-child(3) {
        display: none;
    }
}

@media only screen and (max-width: 1100px) {
    .actie-banner-inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    .actie-banner-intro {
        flex: 1 1 100%;
    }

    .actie-banner-motoren {
        flex: 1 1 auto;
    }

    .actie-banner-motor:nth-child(3) {
        display: flex;
    }
}

@media only screen and (max-width: 700px) {
    .actie-banner-inner {
        padding: 18px 0;
    }

    .actie-banner-icoon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .actie-banner-tekst strong {
        font-size: 22px;
        line-height: 26px;
    }

    .actie-banner-tekst span {
        font-size: 15px;
        line-height: 21px;
    }

    .actie-banner-motoren {
        flex: 1 1 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }

    .actie-banner-knop {
        flex: 1 1 100%;
        justify-content: center;
    }
}
