/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #41C9B4 50%, #F26440 50%);
    z-index: 0;
    opacity: 0.9;
}

/* Hero Image Container */
.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Hero Background Image */
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
    transition: transform 0.5s ease;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Left side overlay */
.hero-left .hero-overlay {
    background-color: #41C9B4;
    opacity: 0.85;
}

/* Right side overlay */
.hero-right .hero-overlay {
    background-color: #F26440;
    opacity: 0.85;
}

/* Hero Columns */
.hero-columns {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Hero Mug */
.hero-mug {
    position: absolute;
    left: 50%;
    top: 100px;
    transform: translateX(-50%);
    width: 300px;
    height: auto;
    z-index: 3;
    pointer-events: none;
}

/* Hero Half */
.hero-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 80px 20px 30px 20px;
    color: #fff;
    transition: flex 0.5s cubic-bezier(.4,1.5,.5,1);
    overflow: hidden;
}

.hero-half:hover {
    flex: 1.2;
}

.hero-half:hover .hero-bg-image {
    transform: scale(1.05);
}

.hero-content {
    max-width: 500px;
    position: relative;
    z-index: 3;
    transform: translateY(20px);
    opacity: 0.9;
    transition: transform 0.5s cubic-bezier(.4,1.5,.5,1), opacity 0.5s;
}

.hero-half:hover .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-title {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5), 0 1px 0 #fff;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
}


/* Hero Title */
.hero-title {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.10);
}

/* Hero Description */
.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.07);
}

/* Hero Button */
.hero-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid transparent;
    font-size: 1.05rem;
    transition: all 0.3s;
    margin-top: 10px;
    background: #fff;
    color: inherit;
}

/* Hero Button Left */
.hero-btn-left {
    background: #fff;
    color: #41C9B4;
    border: 2px solid #41C9B4;
}
.hero-btn-left:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* Hero Button Right */
.hero-btn-right {
    background: #fff;
    color: #F26440;
    border: 2px solid #F26440;
}
.hero-btn-right:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-section {
        height: auto;
        min-height: 600px;
        display: block;
    }
    .hero-bg {
        display: none;
    }
    .hero-columns {
        flex-direction: column;
        width: 100%;
        height: auto;
        position: relative;
    }
    .hero-half {
        width: 100%;
        min-height: 260px;
        padding: 70px 10px 40px 10px;
        border-radius: 0;
        justify-content: flex-end;
    }
    .hero-half.hero-left {
        background: #41C9B4;
    }
    .hero-half.hero-right {
        background: #F26440;
    }
    .hero-mug {
        display: none;
    }
}

@media (max-width: 700px) {
    .hero-section {
        min-height: 420px;
    }
    .hero-mug {
        width: 90px;
        top: 49%;
    }
    .hero-half {
        min-height: 180px;
        padding: 50px 6px 24px 6px;
    }
}


@media (max-width: 700px) {
    .hero-section {
        height: auto;
        min-height: 420px;
    }
    .hero-columns {
        flex-direction: column;
    }
    .hero-half {
        padding: 60px 10px 20px 10px;
    }
    .hero-mug {
        width: 120px;
        top: 10px;
    }
/* Suppression des backgrounds d'illustration inutiles */
.hero-half::before,
.hero-half::after,
.hero-left::before,
.hero-right::before {
    display: none !important;
}

.hero-half {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
    transition: all 0.5s ease;
}

.hero-half::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease, filter 0.5s ease;
    z-index: -1;
}

.hero-half:hover {
    flex: 1.2;
}

.hero-half:hover::before {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.hero-half::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0.7;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.hero-half:hover::after {
    opacity: 0.5;
}

.hero-content {
    max-width: 500px;
    position: relative;
    z-index: 1;
    transform: translateY(20px);
    opacity: 0.9;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.hero-half:hover .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #F48148;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #F48148;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.hero-btn:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover::before {
    width: 100%;
}

.hero-left .hero-btn {
    background-color: #809D79;
    border-color: #809D79;
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        height: auto;
    }

    .hero-half {
        height: 350px;
    }

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