/* NetworKIT - CSS Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-toggle {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    color: #00d4ff;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 0.8rem 1rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
    border-radius: 6px;
    margin: 4px;
}

.language-option:hover {
    background: rgba(0, 212, 255, 0.2);
}

.language-option.active {
    background: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00d4ff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Main Content */
main.container {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    border-radius: 20px;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Product Showcase */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 4rem 0;
    align-items: center;
}

.product-info h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.product-info p {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.features {
    list-style: none;
    margin-top: 2rem;
}

.features li {
    color: #e0e0e0;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Product Image avec coffret pour accueil */
.product-image {
    background: linear-gradient(135deg, #1a1a3e, #2a2a5e);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}


.product-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.product-visual {
    width: 200px;
    height: 180px;
    background-image: url('../images/coffret-networkit.png');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin: 0 auto 1.5rem;
    position: relative;
    border: 2px solid #2D3748;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease; /* Transition plus lente */
}


.product-visual:hover {
    transform: scale(1.4);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.6);
    z-index: 10;
    cursor: pointer; /* Indique que l'image est cliquable */
}

/* Lightbox pour agrandir les images */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.5);
}


/* Image spécifique pour la page à propos */
.product-visual.about-visual {
    background-image: url('../images/bureau-networkit.png');
}


.product-image h3 {
    color: #00d4ff;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
}

.product-image p {
    color: #b0b0b0;
    margin: 0;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 2rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
    color: white;
}

/* Services Grid - 2x2 layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 26, 62, 0.8), rgba(42, 42, 94, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.service-card h3 {
    color: #00d4ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.contact-form {
    background: linear-gradient(135deg, rgba(26, 26, 62, 0.8), rgba(42, 42, 94, 0.8));
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
    color: #e0e0e0;
}

.contact-info h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select option {
    background: #1a1a3e;
    color: #fff;
    padding: 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

/* Page Title */
.page-title {
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Legal Page */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    background: rgba(26, 26, 62, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    line-height: 1.8;
}

.legal-section h3 {
    color: #00d4ff;
    margin: 2rem 0 1rem 0;
}

.legal-section h3:first-child {
    margin-top: 0;
}

/* Footer */
footer {
    background: rgba(15, 15, 35, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-links {
    text-align: center;
    color: #a0a0a0;
}

.footer-links a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a.active {
    color: #fff;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-left {
        gap: 1rem;
    }
    
    .language-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: auto;
        background: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}


.slogan {
    font-size: 1.4rem;
    color: #00d4ff;
    font-weight: 600;
    margin: 1rem auto 1.5rem auto;
    font-style: italic;
    max-width: 500px;
    white-space: nowrap; /* Empêche les retours à la ligne */
}
