/**
 * Dynamiz Theme Banner - Styles
 */

.dynamizthemebannerlight-container {
    width: 100%;
    margin: 0 auto 30px;
    position: relative;
}

.dynamizthemebannerlight-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* min-height: 300px; */
    display: block;
}

/* Rendre la card cliquable quand elle est un lien */
.dynamizthemebannerlight-card-link {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dynamizthemebannerlight-card-link:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.dynamizthemebannerlight-card-link:active {
    transform: scale(0.99);
}

/* Désactiver l'animation sur mobile */
@media (max-width: 1024px) {
    .dynamizthemebannerlight-card-link {
        transition: none;
    }

    .dynamizthemebannerlight-card-link:hover {
        transform: none;
        box-shadow: none;
    }

    .dynamizthemebannerlight-card-link:active {
        transform: none;
    }
}

.dynamizthemebannerlight-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.dynamizthemebannerlight-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2;
}

.dynamizthemebannerlight-content-inner {
    text-align: center;
    max-width: 800px;
}

.dynamizthemebannerlight-title {
    color: #ffffff;
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); */
    margin: 0 0 20px;
    font-size: 1.5rem !important;
    font-weight: 700;
    line-height: 1.2;
}

.dynamizthemebannerlight-button-wrapper {
    margin-top: 25px;
}

/* .dynamizthemebannerlight-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
} */

/* .dynamizthemebannerlight-button:hover {
    background-color: #0056b3;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
} */

.dynamizthemebannerlight-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .dynamizthemebannerlight-wrapper {
        min-height: 200px;
    }

    .dynamizthemebannerlight-content {
        padding: 15px;
    }

    .dynamizthemebannerlight-title {
        /* font-size: 1.8rem; */
        margin-bottom: 15px;
    }

    .dynamizthemebannerlight-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .dynamizthemebannerlight-wrapper {
        min-height: 150px;
    }

    .dynamizthemebannerlight-title {
        /* font-size: 1.3rem; */
    }

    .dynamizthemebannerlight-button {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
}
