/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #050505;

    color: #ffffff;

    overflow-x: hidden;
}


/* ==========================================
   NAVBAR
========================================== */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 80px;

    z-index: 1000;

    background:
        rgba(5, 5, 5, 0.75);

    backdrop-filter:
        blur(15px);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}


.navbar-container {

    position: relative;

    width: 100%;

    height: 100%;

    margin: auto;

    padding: 0 25px;

    display: flex;

    align-items: center;
}


/* ==========================================
   NOM DU SITE
========================================== */

.logo {

    color: #ffffff;

    text-decoration: none;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: 1px;

    transition: 0.3s;

    /* Le nom reste complètement à gauche */

    margin-right: auto;
}


.logo:hover {

    opacity: 0.7;
}


/* ==========================================
   NAVIGATION CENTRÉE
========================================== */

.navigation {

    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 32px;
}


.navigation a {

    position: relative;

    color:
        rgba(255, 255, 255, 0.65);

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s;
}


.navigation a:hover {

    color: white;
}


.navigation a.active {

    color: white;
}


.navigation a.active::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -10px;

    width: 100%;

    height: 2px;

    background: white;
}


/* ==========================================
   HERO
========================================== */

.hero {

    position: relative;

    min-height: 100vh;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding:
        120px 30px 80px;

    overflow: hidden;
}


/* ==========================================
   IMAGE DE FOND
========================================== */

.hero-background {

    position: absolute;

    inset: 0;

    background-image:
        url("../assets/images/fond-jjk.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    transform: scale(1.03);

    z-index: 0;
}


/* ==========================================
   OVERLAY
========================================== */

.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:

        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92),
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.90)
        );
}


/* ==========================================
   CONTENU
========================================== */

.hero-content {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 900px;

    animation:
        fadeIn 1s ease;
}


/* ==========================================
   PETIT TITRE DORÉ
========================================== */

.category {

    margin-bottom: 20px;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 5px;

    color: #d4af37;

    text-shadow:
        0 0 15px rgba(212, 175, 55, 0.25);
}


/* ==========================================
   TITRE PRINCIPAL
========================================== */

.hero h1 {

    font-size:
        clamp(38px, 5vw, 62px);

    line-height: 1;

    font-weight: 900;

    letter-spacing: -1px;

    text-transform: uppercase;

    margin-bottom: 25px;

    color: #ffffff;
}


/* ==========================================
   SOUS TITRE
========================================== */

.location {

    font-size: 21px;

    font-weight: 600;

    color:
        rgba(255, 255, 255, 0.82);

    margin-bottom: 25px;
}


/* ==========================================
   DESCRIPTION
========================================== */

.description {

    max-width: 650px;

    margin:
        0 auto 40px;

    font-size: 16px;

    line-height: 1.8;

    color:
        rgba(255, 255, 255, 0.65);
}


/* ==========================================
   STATISTIQUES
========================================== */

.statistics {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 80px;

    margin-bottom: 42px;
}


.stat {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;
}


.stat strong {

    font-size: 28px;

    font-weight: 900;

    color: white;
}


.stat span {

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    color:
        rgba(255, 255, 255, 0.50);
}


/* ==========================================
   BOUTONS
========================================== */

.hero-buttons {

    display: flex;

    justify-content: center;

    gap: 15px;
}


.button {

    min-width: 185px;

    padding:
        15px 28px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 6px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    transition: 0.3s;
}


/* ==========================================
   BOUTON PRINCIPAL
========================================== */

.button.primary {

    background: white;

    color: black;

    border:
        1px solid white;
}


.button.primary:hover {

    background: transparent;

    color: white;

    transform:
        translateY(-3px);
}


/* ==========================================
   BOUTON SECONDAIRE
========================================== */

.button.secondary {

    color: white;

    background:
        rgba(255, 255, 255, 0.05);

    border:
        1px solid rgba(255, 255, 255, 0.25);

    backdrop-filter:
        blur(10px);
}


.button.secondary:hover {

    background:
        rgba(255, 255, 255, 0.12);

    transform:
        translateY(-3px);
}


/* ==========================================
   FOOTER
========================================== */

footer {

    padding:
        25px;

    text-align: center;

    background: #030303;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    color:
        rgba(255, 255, 255, 0.4);

    font-size: 12px;
}


/* ==========================================
   ANIMATION
========================================== */

@keyframes fadeIn {

    from {

        opacity: 0;

        transform:
            translateY(25px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .navbar-container {

        padding:
            0 20px;
    }


    .navigation {

        gap: 18px;
    }


    .navigation a {

        font-size: 12px;
    }


    .statistics {

        gap: 40px;
    }
}


@media (max-width: 650px) {

    .navbar {

        height: auto;

        padding:
            18px 0;
    }


    .navbar-container {

        flex-direction: column;

        gap: 18px;
    }


    .logo {

        margin-right: 0;
    }


    .navigation {

        position: static;

        transform: none;

        flex-wrap: wrap;

        justify-content: center;

        gap:
            15px 20px;
    }


    .hero {

        padding-top: 180px;
    }


    .hero h1 {

        font-size: 45px;

        letter-spacing: -1px;
    }


    .location {

        font-size: 17px;
    }


    .description {

        font-size: 14px;
    }


    .statistics {

        gap: 25px;
    }


    .stat strong {

        font-size: 22px;
    }


    .stat span {

        font-size: 9px;
    }


    .hero-buttons {

        flex-direction: column;

        align-items: center;
    }


    .button {

        width: 100%;

        max-width: 300px;
    }
}

/* ==========================================
   PAGE DISCORD
========================================== */

.discord-page {

    min-height: 100vh;

    padding: 130px 50px 80px;

    background:
        radial-gradient(
            circle at top center,
            rgba(212, 175, 55, 0.10),
            transparent 45%
        ),
        #050505;

    display: flex;

    align-items: center;

    justify-content: center;
}


.discord-container {

    width: 100%;

    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 35px;

    align-items: stretch;
}


/* ==========================================
   GRAND ENCADREMENT
========================================== */

.discord-card {

    min-height: 650px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    background:
        rgba(12, 12, 12, 0.88);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 16px;

    backdrop-filter: blur(15px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45);

    transition: 0.35s ease;
}


.discord-card:hover {

    transform: translateY(-6px);

    border-color:
        rgba(212, 175, 55, 0.45);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.60);
}


/* ==========================================
   GRANDE ZONE IMAGE
========================================== */

.discord-image {

    width: 100%;

    height: 360px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.12),
            rgba(255, 255, 255, 0.025)
        );

    border-bottom:
        1px solid rgba(255, 255, 255, 0.10);

    color:
        rgba(255, 255, 255, 0.25);

    font-size: 12px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.discord-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}


/* ==========================================
   CONTENU
========================================== */

.discord-card-content {

    flex: 1;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 45px 50px 50px;

    text-align: center;
}


/* ==========================================
   TITRE GOLD
========================================== */

.discord-card-content h1 {

    margin-bottom: 22px;

    font-size: 30px;

    font-weight: 900;

    color: #d4af37;

    letter-spacing: -0.5px;

    text-shadow:
        0 0 20px
        rgba(212, 175, 55, 0.18);
}


/* ==========================================
   TEXTE BLANC
========================================== */

.discord-card-content p {

    max-width: 520px;

    margin: 0 auto 32px;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 15px;

    line-height: 1.8;
}


/* ==========================================
   BOUTON REJOINDRE
========================================== */

.discord-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 230px;

    padding: 16px 30px;

    border-radius: 7px;

    text-decoration: none;

    background: #ffffff;

    color: #050505;

    font-size: 14px;

    font-weight: 800;

    transition: 0.3s ease;
}


.discord-button:hover {

    transform: translateY(-4px);

    background: #d4af37;

    color: #050505;

    box-shadow:
        0 10px 30px
        rgba(212, 175, 55, 0.25);
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .discord-page {

        padding:
            120px 25px 60px;
    }


    .discord-container {

        grid-template-columns: 1fr;

        max-width: 700px;
    }


    .discord-card {

        min-height: 600px;
    }

}


@media (max-width: 650px) {

    .discord-page {

        padding:
            120px 15px 50px;
    }


    .discord-card {

        min-height: 550px;

        border-radius: 12px;
    }


    .discord-image {

        height: 280px;
    }


    .discord-card-content {

        padding:
            35px 25px 40px;
    }


    .discord-card-content h1 {

        font-size: 24px;
    }


    .discord-card-content p {

        font-size: 14px;
    }


    .discord-button {

        width: 100%;

        max-width: 280px;
    }

}