/* Variables globales */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #f39c12;
    --accent-color: #3498db;
    --text-color: #333;
    --light-text: #ecf0f1;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

/* Styles généraux */
body {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(Images/imageArriere.png) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    margin: 0;
    min-height: 100vh;
}

/* Styles pour la page d'accueil (portfolio) */
.profile-container {
    background-color: rgba(44, 62, 80, 0.85);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.profile-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.profile-image {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.profile-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.profile-details h1 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.profile-details h4 {
    color: var(--secondary-color);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.courses-container {
    background-color: rgba(44, 62, 80, 0.85);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.courses-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.courses-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Onglets personnalisés */
.custom-tab {
    color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    background-color: transparent;
    transition: var(--transition);
    border-radius: 0.5rem 0.5rem 0 0;
}

.custom-tab:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.custom-tab.active {
    color: #fff;
    background-color: rgba(44, 62, 80, 0.85);
    border-bottom: 3px solid var(--secondary-color);
}

.nav-tabs {
    border-bottom: none;
}

/* Liste des cours */
.course-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-item {
    margin-bottom: 1rem;
}

.course-link {
    display: block;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #e67e22);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.course-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
}

.course-link::after {
    content: "→";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
}

.course-link:hover::after {
    opacity: 1;
    transform: translate(5px, -50%);
}

/* Styles du pied de page */
footer {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media queries pour la responsivité */
@media (max-width: 767px) {
    .profile-container, .courses-container {
        padding: 1.5rem;
    }
    
    .profile-image {
        margin-bottom: 1.5rem;
    }
}

/* Classes auxiliaires de l'ancien CSS */
.vert {
    padding: 10px;
    list-style: none;
}

.boston {
    width: 70%;
    height: auto;
}