/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--background-color);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
    background-size: 150% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../public/logo.png');
    filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
}

@font-face {
    font-family: ForeverFreedom;
    src: url(/font/Forever\ Freedom\ Italic.ttf);
  }

.hero-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}


.hero-title {
    font-size: clamp(25rem, 20vw, 16rem);
    font-family: ForeverFreedom;
    color: var(--text-color);
    text-transform: uppercase;
    line-height: 0.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 0;
    opacity: 0.8;
    text-shadow: 0 0 30px rgba(255, 77, 77, 0.3);
    letter-spacing: 0.02em;
    text-align: center;
}

.hero-bar {
    width: 70%;
    height: 5px;
    background-color: var(--color-primary);
    margin-top: 2rem;
    opacity: 0.8;
    border-radius: 5px;
    
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
    z-index: 11;
}

.hero-footer {
    position: absolute;
    z-index: 11;
    bottom: 0;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1600px;
}

.hero-footer-left p{
    font-size: 0.8rem;
    opacity: 0.5;    
}

.hero-footer-left p:hover{
    opacity: 1;
}

.hero-footer-right a{
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.5;
    font-size: 0.8rem;
    cursor: pointer;
}

.hero-footer-right a:hover{
    opacity: 1;
}

.btn {
    width: 180px;
    height: 45px;
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Hanson', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--text-color);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -2;
}

.btn:hover {
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 14, 43, 0.2);
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(231, 14, 43, 0.2);
}

/* Animation du texte au hover */
.btn span {
    position: relative;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn:hover span {
    transform: translateX(5px);
}

/* Effet de brillance */
.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.btn:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.logo-canvas {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1);
    z-index: 2;
}

.logo-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, var(--glow-color) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.6;
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 1;
}

/* Animations */
@keyframes titleGlow {
    0% {
        text-shadow: 0 0 10px var(--glow-color);
    }
    100% {
        text-shadow: 0 0 20px var(--glow-color);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.95);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(4rem, 15vw, 10rem);
    }

    .btn {
        width: 140px;
        height: 40px;
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
    }

    .hero-cta {
        gap: 0.8rem;
    }

    .logo-canvas {
        transform: scale(1.2);
    }
}

@media (max-width: 900px) {
    .hero-title-img {
        width: 90vw;
        max-width: 95vw;
    }
}