body{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0A0A0A;
    color:white;
    position: relative;
    --logo-opacity: 0.18;
    --logo-scale: 1;
}
body::before{
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 420px; /*taille du logo*/
    height: 420px;
    background-image: url("/Phoenixtech/Img/logo.png"); /*le logo*/
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: var(--logo-opacity); /*trasparence*/
    transform: translate(-50%, -50%) scale(var(--logo-scale));
    pointer-events: none; /*évite les bugs de clic*/
    z-index: -1;
}

/*NAVBAR*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #000;
    border-bottom: 1px solid #FFD700;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700;
}

.nav-links a {
    margin-left: 20px;
    color: #FFF;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links .active {
    color: #FFD700;
}

/* HERO */
.hero {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(to bottom, #333, #FFD700);
    position: relative;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}
.hero-with-logo {
    position: relative;
    background: linear-gradient(to bottom, #333, #FFD700);
}
/* Le texte passe devant*/
.hero-with-logo h1,
.hero-with-logo p {
    position: relative;
    z-index: 2;
}

/*Responsive mobile*/
@media (max-width: 768px) {
    body::before {
        width: 260px;
        height: 260px;
       /* opacity: 0.22; /*un peu plus visilble sur mobile*/
    }
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #FFD700;
    color:black;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
}

/* PRESENTATION */
.presentation {
    padding: 50px 20px;
    text-align: center;
}

.presentation h2 {
    color: #FFD700;
}

/* SERVICES */
.services {
    padding: 50px 20px;
    text-align: center;
}

.services h2 {
    color: #FFD700;
    margin-bottom: 40px;
}

.service-box {
    background: #111;
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    border-radius: 8px;
}

.cta {
    text-align: center;
    padding: 60px 20px;
    background: #111;
}

.cta h2 {
    color: #FFD700;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #000;
}