/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

.hero {
    width: 100%;
    height: 78vh;
    background-image: url("https://omarchedesminis.fr/img/cms/omarchedesminisbanniereacc.png");
    background-size: cover;
    background-position: top;
    position: relative;
    animation: slowZoom 22s ease-in-out infinite;
}

/* Contenu texte */
.hero-content {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    max-width: 900px;
    padding: 1.5rem 2rem;
}

/* Nom du magasin */
.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 14px rgba(0,0,0,0.35);
    margin-bottom: 0.8rem;
    animation: titleFloat 6s ease-in-out infinite;
}

/* Texte descriptif */
.hero-text {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.6;
    color: #4a2e17;
    background: rgba(251, 203, 154, 0.88);
    padding: 0.9rem 1.3rem;
    border-radius: 10px;
}

/* ANIMATIONS */
@keyframes slowZoom {
    0% { background-size: 100%; }
    50% { background-size: 105%; }
    100% { background-size: 100%; }
}

@keyframes titleFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* =======================
   RESPONSIVE
   ======================= */

/* Tablette */
@media (max-width: 1024px) {
    .hero {
        height: 60vh;
    }

    .hero-content {
        bottom: 8%;
        padding: 1.2rem 1.5rem;
    }

    .hero-text {
        font-size: 1.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
        animation: none; /* performance mobile */
    }

    .hero-content {
        bottom: 6%;
        width: 90%;
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-text {
        font-size: 1.05rem;
        padding: 0.8rem 1rem;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .hero {
        height: 45vh;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-text {
        font-size: 1rem;
    }
}
