:root {
    --primary-color: #ff5733;
    --dark-bg: #ffffff;
    --dark-bg-secondary: #b3b1b1;
    --text-light: #000000;
    --text-secondary: #000000;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.sidebar {
    background-color: rgba(161, 159, 153, 0.61);
    height: 100vh;
    position: fixed;
    width: 250px;
    z-index: 1000;
    display: flex;
    box-shadow: 1px 0px 50px rgb(61, 56, 54);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 30px;
    padding-left: 20px;
}
.social-icon {
    font-size: 2rem;
    margin: 0 7px;
    color: #000000; /* Couleur noire */
    transition: transform 0.2s ease;
  }

  .social-icon:hover {
    transform: scale(1.2);
    color: #000000; /* Toujours noir même au survol */
  }
.logo {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-self: center;
}
.img-fluid{
    width: 10.5em;
}
/* Ajoutez ces styles à votre fichier style.css existant */

/* Styles pour l'en-tête mobile qui contiendra le logo et les liens sociaux */
.mobile-header {
    display: none; /* Masqué par défaut, affiché seulement sur mobile */
    padding: 15px;
    background-color: rgba(161, 159, 153, 0.61);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

/* Style pour les ajustements mobiles */
@media (max-width: 576px) {
    /* Afficher l'en-tête mobile */
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Styles pour le logo dans l'en-tête mobile */
    .mobile-header .logo {
        width: auto;
        margin: 0;
    }
    
    .mobile-header .logo img {
        width: 8em;
        height: auto;
    }
    
    /* Styles pour les liens sociaux dans l'en-tête mobile */
    .mobile-social {
        display: flex;
        gap: 10px;
    }
    
    /* Ajuster l'espacement du contenu principal pour la barre de navigation en bas et l'en-tête en haut */
    .main-content {
        margin-left: 0;
        padding-top: 80px; /* Espace pour l'en-tête mobile */
        padding-bottom: 80px; /* Espace pour la barre de navigation en bas */
    }
    
    /* Déplacer la sidebar en bas */
    .sidebar {
        width: 100%;
        height: 60px;
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 0;
        z-index: 1000;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* Masquer le logo et les liens sociaux dans la sidebar */
    .sidebar .logo, 
    .sidebar .container.text-center {
        display: none;
    }
    
    /* Ajuster la navigation pour qu'elle soit horizontale */
    .sidebar .nav {
        flex-direction: row !important;
        width: 100%;
        justify-content: space-around;
        margin: 0;
        padding: 0;
    }
    
    .sidebar .nav-item {
        width: auto;
        margin: 0;
    }
    
    .sidebar .nav-link {
        padding: 5px;
        font-size: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .sidebar .nav-link span {
        display: block;
        font-size: 10px;
        margin-top: 2px;
    }
}

.nav-item {
    width: 100%;
    margin: 10px 0;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 10px;
    display: flex;
    align-items: center;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.527);
    border-radius: 5px;
}

.main-content {
    margin-left: 250px;
    padding: 40px;
}

.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.corner-accent {
    position: absolute;
    width: 1000px;
    height: 100px;
    border: 3px solid var(--primary-color);
    border-top: none;
    border-left: none;
    bottom: 70px;
    right: -10px;
}

.corner-accent-top {
    position: absolute;
    width: 1000px;
    height: 100px;
    border: 3px solid var(--primary-color);
    border-bottom: none;
    border-right: none;
    top: 100px;
    left: 5px;
}

.hero-text {
    max-width: 600px;
}

.greeting {
    font-size: 18px;
    margin-bottom: 10px;
}

.highlight {
    color: var(--primary-color);
    font-weight: 200px;
    width: 40%;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    margin-right: 15px;
    margin-bottom: 15px;
}

.cta-btn:hover {
    background-color: #000000;
    transform: translateY(-2px);
    color: white;
}

.profile-img {
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
    max-height: 400px;
}

.theme-colors {
    position: absolute;
    bottom: -3%;
    right: 30px;
}

.theme-colors .colors {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.color-option {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.color-option.active {
    border: 2px solid white;
}

.color-orange {
    background-color: #ff5733;
}

.color-blue {
    background-color: #3498db;
}

.color-green {
    background-color: #2ecc71;
}

.color-red{
    background-color: #ff0080;
}

/* Section Styles */
section {
    min-height: 100vh;
    padding: 80px 0 50px;
    /*display:none;*/
}

section.active {
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
}

/* About Section */
.about-text {
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-info {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 15px;
}

.info-label {
    font-weight: 600;
    width: 130px;
    color: var(--primary-color);
}

/* Skills Section */
.skill-category {
    margin-bottom: 40px;
}

.skill-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.skill-item {
    margin-bottom: 25px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress {
    height: 10px;
    background-color: var(--dark-bg-secondary);
}

.progress-bar {
    background-color: var(--primary-color);
}

/* Contact Section */
.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 87, 51, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.contact-form .form-control {
    background-color: var(--dark-bg-secondary);
    border: none;
    color: var(--text-light);
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.contact-form .form-control:focus {
    box-shadow: 0 0 0 2px var(--primary-color);
}

.contact-form textarea.form-control {
    min-height: 150px;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .main-content {
        padding: 30px;
    }
    .corner-accent{
        width: 90%;
        height: 70px;
        bottom: 3%;
    }
    .corner-accent-top {
        width: 90%;
        height: 70px;
        top: 10%;
    }
}

@media (max-width: 990px) {
    .hero-section {
        flex-direction: column;
    }

    .profile-img-container {
        margin-top: 40px;
        margin-bottom: 60px;
    }
    
    .corner-accent{
        width: 40%;
        height: 70px;
    }
    .corner-accent-top {
        width: 40%;
        height: 70px;
        top: 10%;
    }

}

@media (max-width: 768px) {
    .sidebar {
        width: 70px;
        padding-left: 0;
        align-items: center;
    }
    
    .sidebar .logo p {
        display: none;
    }
    
    .sidebar::after {
        content: 'CL';
        color: var(--primary-color);
        font-weight: bold;
        font-size: 24px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .main-content {
        margin-left: 70px;
        padding: 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .sidebar {
        width: 100%;
        height: 60px;
        bottom: auto;
        top: 0;
        flex-direction: row;
        justify-content: space-around;
        padding-top: 0;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
    }
    
    .sidebar::after {
        display: none;
    }
    .logo{
        position: absolute;
        top: auto;
        bottom: -80;
        width: 80px;
    } 
    .nav {
        flex-direction: row !important;
        width: 100%;
        justify-content: space-around;
    }
    
    .nav-item {
        width: auto;
        margin: 0;
    }
    
    .main-content {
        margin-left: 0;
        padding: 15px;
        padding-bottom: 70px;
    }
    
    .theme-colors {
        position: static;
        text-align: center;
        margin-top: 30px;
    }
    
    .theme-colors .colors {
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
}
.skill-name {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}

.skill-icon {
margin-right: 10px;
font-size: 18px;
color: var(--primary-color);
}

.certifications-wrapper {
overflow-x: auto;
white-space: nowrap;
padding: 20px 0;
margin-top: 40px;
}

.certifications-container {
display: inline-flex;
gap: 20px;
width: 100%;
}

.certification-item {
width: 280px;
background-color: var(--dark-bg-secondary);
border-radius: 10px;
padding: 15px;
transition: all 0.3s ease;
}

.certification-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.certification-img {
width: 100%;
height: 160px;
object-fit: cover;
border-radius: 5px;
margin-bottom: 10px;
}

.certification-title {
font-size: 16px;
font-weight: 600;
margin-bottom: 5px;
}

.certification-issuer {
font-size: 14px;
color: var(--text-secondary);
}

/* Styles pour la section Projects */
.project-card {
background-color: var(--dark-bg-secondary);
border-radius: 10px;
overflow: hidden;
transition: all 0.3s ease;
height: 100%;
margin-bottom: 30px;
}

.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-img {
width: 100%;
height: 200px;
object-fit: cover;
}

.project-content {
padding: 20px;
}

.project-title {
font-size: 20px;
font-weight: 600;
margin-bottom: 10px;
color: var(--primary-color);
}

.project-desc {
font-size: 15px;
color: var(--text-secondary);
margin-bottom: 15px;
line-height: 1.6;
}

.project-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 15px;
}

.project-tag {
font-size: 12px;
padding: 3px 10px;
background-color: rgba(255, 87, 51, 0.1);
border-radius: 30px;
color: var(--primary-color);
}

.view-more {
display: inline-block;
padding: 8px 15px;
background-color: transparent;
border: 1px solid var(--primary-color);
color: var(--primary-color);
border-radius: 30px;
font-size: 14px;
transition: all 0.3s ease;
text-decoration: none;
}

.view-more:hover {
background-color: var(--primary-color);
color: var(--text-light);
}

/* Navigation pour mes projets */
.section-nav {
display: flex;
justify-content: space-between;
margin-bottom: 40px;
align-items: center;
}

.category-filter {
display: flex;
gap: 15px;
}

.filter-btn {
background-color: transparent;
border: none;
color: var(--text-secondary);
font-size: 15px;
cursor: pointer;
padding: 5px 10px;
transition: all 0.3s ease;
}

.filter-btn.active {
color: var(--primary-color);
font-weight: 600;
border-bottom: 2px solid var(--primary-color);
}

.filter-btn:hover {
color: var(--primary-color);
}

@media (max-width: 768px) {
.section-nav {
flex-direction: column;
gap: 15px;
}

.category-filter {
width: 100%;
overflow-x: auto;
padding-bottom: 10px;
}
}

