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

body {
    font-family: 'Inter', sans-serif;
    background-color: #1e1e2f;
    color: #fff;
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #2c2c3e;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    color: #00aaff;
    font-weight: 900;
}

.logo a {
    color: #00aaff;
    text-decoration: none;
}

.logo-icon {
    width: 30px;
    height: auto;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: absolute;
    top: 25px;
    right: 20px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #00aaff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav Menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #00aaff;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        background-color: transparent;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 70px;
        right: 20px;
        background: #2c2c3e;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 1.2rem;
        color: #00aaff;
        font-weight: bold;
        text-align: right;
    }

    .nav-menu a:hover {
        color: #007acc;
    }
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to bottom, #1e1e2f, #313144);
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 120px;
    height: auto;
    position: relative;
    top: 20px; /* Fait descendre le SVG derrière la ligne */
    z-index: -1; /* SVG derrière les éléments */
}

.line {
    width: 80%; /* Longueur de la ligne */
    height: 3px; /* Épaisseur de la ligne */
    background-color: #00aaff; /* Couleur de la ligne */
    margin: 10px auto; /* Espacement entre la ligne et le texte */
}

h1 {
    font-size: 2.5rem;
    color: #00aaff;
    margin: 10px 0;
}

.hero p {
    margin-top: 1rem;
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: #00aaff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
    background: #007acc;
    transform: scale(1.05);
}

/* Portfolio Section */
.portfolio {
    padding: 50px;
    background: #252538;
    text-align: center;
}

.portfolio h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00aaff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: #2c2c3e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s;
    cursor: pointer;

}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #00aaff;
}

.card p {
    font-size: 1rem;
}

/* Store Section */
.store {
    padding: 50px;
    background: #1e1e2f;
    text-align: center;
}

.store h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00aaff;
}

.store p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.store .cta-button {
    background: #00cc66;
}

.store .cta-button:hover {
    background: #00e675;
}

/* Socials Section */
.socials {
    padding: 50px;
    background: #252538;
    text-align: center;
}

.socials h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00aaff;
}

.socials p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.socials ul {
    list-style: none;
    padding: 0;
}

.socials li {
    margin-bottom: 10px;
}

.socials a {
    color: #00aaff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.socials a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 50px;
    background: #252538;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00aaff;
}

.contact a {
    color: #00aaff;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}


/* About Section */
.about {
    padding: 50px;
    background: #1e1e2f;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00aaff;
}

.about p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    padding: 10px;
    text-align: center;
    background: #2c2c3e;
    color: #fff;
}