:root {
    --primary-color: #00f7ff;
    --secondary-color: #ff6b6b;
    --background: #1A1A2E;
    --text-color: #FFFFFF;
    --gradient: linear-gradient(135deg, #00f7ff, #ff6247);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.service-btn {
    background: var(--gradient);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s;
}

.service-btn:hover {
    transform: scale(1.05);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.1);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: scale(1.05);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(0, 247, 255, 0.4));
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, 
        rgba(0, 247, 255, 0.1) 0%,
        rgba(255, 98, 71, 0.1) 100%);
    filter: blur(40px);
    z-index: -1;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 0 25px rgba(0, 247, 255, 0.4));
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
        filter: drop-shadow(0 0 35px rgba(0, 247, 255, 0.6));
    }
    100% {
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 0 25px rgba(0, 247, 255, 0.4));
    }
}

.services {
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 247, 255, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.2);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s linear;
    transform-origin: 1px;
}

.menu-toggle span.active:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle span.active:nth-child(2) {
    opacity: 0;
}

.menu-toggle span.active:nth-child(3) {
    transform: rotate(-45deg);
}

/* Empêcher le défilement quand le menu est ouvert */
body.menu-open {
    overflow: hidden;
}

/* Media queries pour mobile */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--background);
        padding-top: 80px;
        transition: 0.3s;
        z-index: 1000;
        opacity: 0;
    }

    .nav-menu.active {
        top: 0;
        opacity: 1;
    }

    header {
        position: relative;
        background: var(--background);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 20px;
    }

    .service-btn {
        margin-top: 10px;
    }

    /* Ajustement du contenu principal pour éviter le chevauchement */
    main {
        padding-top: 70px;
    }

    .hero {
        min-height: calc(100vh - 70px);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

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

    .cta-buttons {
        justify-content: center;
    }

    .services {
        grid-template-columns: 1fr;
        padding: 3rem 5%;
    }

    .service-card {
        text-align: center;
    }
}

/* Ajustements pour très petits écrans */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .btn-primary, .btn-secondary {
        padding: 0.6rem 1.5rem;
    }
}