/*
Theme Name: Knightmate
Description: Thème personnalisé pour Knightmate Cybersécurité
Version: 1.0
*/

/* Import des polices Google */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@400;700&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0a14;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation FIXE */
.knightmate-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 10, 20, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 70px;
}

.logo-link {
    text-decoration: none; 	/* Supprime le soulignement du titre dans la barre de navigation */
    display: flex;
    align-items: center;
    padding: 8px 0; 		/* Ajustez cette valeur pour ajuster le logo de la barre de navigation */
    gap: 10px; 			/* Ajoute un peu d'espace entre le logo de navigation et le titre de navigation */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    position: relative;
    top: 3px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.knightmate-nav-links {
    display: flex;
    list-style: none;
}

.knightmate-nav-links li {
    margin-left: 2rem;
}

.knightmate-nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.knightmate-nav-links a:hover {
    color: #0096ff;
}

.knightmate-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0096ff;
    transition: width 0.3s ease;
}

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

/* Contenu principal */
.knightmate-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    position: relative;
}

/* Hero Section */
.knightmate-hero {
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 4rem 5%;
    min-height: 80vh;
    display: flex;
}

.knightmate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/wp-content/uploads/knightmate-assets/fond_knightmate.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.4);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.knightmate-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0;
}

.hero-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    position: relative;
    top: 5px;
}

.slogan {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 600px;
    line-height: 1.5;
    color: #e0e0e0;
    margin: 0;
}

/* Message de construction */
.construction-message {
    max-width: 600px;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
    text-align: center;
    backdrop-filter: blur(5px);
    margin: 0;
}

.construction-message strong {
    color: #00cc66;
    font-weight: 600;
}

/* Pages secondaires */
.knightmate-page-content {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
    width: 100%;
    flex: 1;
    padding: 2rem 5%;
}

.knightmate-page-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00cc66;
    text-align: center;
}

.knightmate-page-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.knightmate-page-content h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    color: #00cc66;
}

.knightmate-page-content p {
    margin-bottom: 1.2rem;
    color: #ccc;
    line-height: 1.7;
}

.knightmate-page-content strong {
    color: #fff;
}

.approach-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #00cc66;
}

.service-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid #0096ff;
}

.service-section h3 {
    color: #0096ff;
    border-bottom: none;
    margin-top: 0;
}

.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.service-what, .service-result {
    flex: 1;
    min-width: 250px;
}

.service-what h4, .service-result h4 {
    color: #00cc66;
    margin-bottom: 0.5rem;
}

.contact-info {
    text-align: center;
    margin: 2rem 0;
}

.contact-email {
    display: inline-block;
    font-size: 1.3rem;
    color: #00cc66;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid #00cc66;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 1rem 0;
}

.contact-email:hover {
    background: #00cc66;
    color: #0a0a14;
    transform: translateY(-2px);
}

.back-button {
    display: inline-block;
    margin: 2rem 0;
    padding: 0.5rem 1.5rem;
    background: #00cc66;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.back-button:hover {
    background: #00aa55;
}

/* Footer */
.knightmate-footer {
    background: rgba(5, 5, 10, 0.9);
    padding: 1rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    flex-shrink: 0;
}

.knightmate-footer a {
    color: #00cc66;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.knightmate-footer a:hover {
    color: #00ff88;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    margin: 2px 0;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
    .knightmate-hero h1 {
        font-size: 3rem;
    }
    
    .hero-logo {
        width: 60px;
        height: 60px;
    }
    
    .slogan {
        font-size: 1.2rem;
    }
    
    .knightmate-page-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .knightmate-nav {
        padding: 0.8rem 5%;
        height: 60px;
    }
    
    .knightmate-main-content {
        margin-top: 60px;
        min-height: calc(100vh - 60px);
    }
    
    .knightmate-page-content {
        padding: 1.5rem 5%;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
    
    .knightmate-nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 20, 0.98);
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        backdrop-filter: blur(10px);
    }
    
    .knightmate-nav-links.active {
        display: flex;
    }
    
    .knightmate-nav-links li {
        margin: 0.8rem 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .knightmate-hero h1 {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
    }
    
    .slogan {
        font-size: 1.1rem;
    }
    
    .construction-message {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .knightmate-footer {
        padding: 0.8rem 5%;
    }
    
    .knightmate-page-content h2 {
        font-size: 2rem;
    }
    
    .knightmate-page-content h3 {
        font-size: 1.3rem;
    }
    
    .knightmate-page-content h4 {
        font-size: 1.1rem;
    }
    
    .service-details {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .knightmate-nav {
        height: 55px;
    }
    
    .knightmate-main-content {
        margin-top: 55px;
        min-height: calc(100vh - 55px);
    }
    
    .knightmate-page-content {
        padding: 1rem 5%;
    }
    
    .knightmate-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-logo {
        width: 60px;
        height: 60px;
    }
    
    .slogan {
        font-size: 1rem;
    }
    
    .construction-message {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    .knightmate-page-content h2 {
        font-size: 1.8rem;
    }
    
    .knightmate-page-content h3 {
        font-size: 1.1rem;
    }
    
    .knightmate-page-content h4 {
        font-size: 1rem;
    }
    
    .knightmate-nav-links {
        top: 55px;
    }
    
    .contact-email {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .service-section {
        padding: 1.5rem;
    }
}