/* ========================================
   CSS DU PORTFOLIO - STYLES GLOBAUX
   ======================================== */

/* Reset et configuration de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* S'assurer que le texte est visible */
* {
    color: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   HEADER ET NAVIGATION
   ======================================== */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10001;
    padding: 0;
}

header nav {
    padding: 0 2rem;
    position: relative;
}

/* Bouton hamburger pour mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    color: white;
    z-index: 10003;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    width: 100%;
    gap: 2rem;
    margin: 0;
}

nav ul li {
    position: relative;
    margin: 0;
}

nav ul li.dropdown {
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Menu déroulant - Version simplifiée et robuste */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.75rem 0;
    z-index: 10002;
    margin-top: 0.5rem;
    border: 2px solid rgba(0,0,0,0.1);
    pointer-events: none;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hover pour desktop seulement */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: #333;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #667eea;
    padding-left: 1.25rem;
    transform: translateX(3px);
}

/* Responsive pour les dropdowns */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,0.1);
        margin-top: 0.5rem;
        border-radius: 10px;
        width: 100%;
        max-width: none;
    }
    
    .dropdown-menu a {
        color: white;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        border-radius: 0;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.2);
        color: white;
        transform: none;
    }
    
    .dropdown-menu a:last-child {
        border-bottom: none;
    }
}

/* Lien d'administration */
.admin-link {
    position: absolute;
    right: 0;
}

.admin-link a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.admin-link a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.admin-link i {
    font-size: 1.2rem;
}

/* ========================================
   SECTION HERO (PAGE D'ACCUEIL)
   ======================================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15rem 0 8rem 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* ========================================
   ÉTOILES ANIMÉES
   ======================================== */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out, float 4s infinite ease-in-out, sparkle 2s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.star.small {
    width: 2px;
    height: 2px;
    opacity: 0.6;
}

.star.medium {
    width: 3px;
    height: 3px;
    opacity: 0.8;
}

.star.large {
    width: 4px;
    height: 4px;
    opacity: 1;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1) rotate(0deg);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.1) rotate(90deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.3) rotate(180deg);
    }
    75% {
        opacity: 0.6;
        transform: scale(1.2) rotate(270deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) translateX(5px) rotate(90deg);
    }
    50% {
        transform: translateY(-25px) translateX(-5px) rotate(180deg);
    }
    75% {
        transform: translateY(-10px) translateX(10px) rotate(270deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.1;
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        filter: brightness(1.5);
    }
}

.hero h1.main-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-spacing {
    height: 4rem;
    margin-bottom: 2rem;
}

/* ========================================
   SECTION COMPÉTENCES
   ======================================== */
.skills-section {
    padding: 6rem 0;
    background: white;
    margin-top: 25rem;
    margin-left: -35%;
    margin-right: -35%;
    width: 170%;
}

.skills-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.skills-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
    padding: 0 5%;
}

.skill-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    margin: 0;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.skill-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.skill-card p {
    color: #666;
    line-height: 1.6;
}

/* ========================================
   SECTION APPEL À L'ACTION
   ======================================== */
.cta-section {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
    margin-left: -35%;
    margin-right: -35%;
    width: 170%;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.cta-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   BOUTONS
   ======================================== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* ========================================
   PAGES INFORMATIONS
   ======================================== */
.info-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.info-section h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #333;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.info-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-card h2 i {
    color: #667eea;
}

.placeholder-content {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: #666;
    border: 2px dashed #dee2e6;
}

/* ========================================
   PAGES CONTACT
   ======================================== */
.contact-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

/* Notifications */
.notification {
    padding: 1.5rem 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

.notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.notification i {
    font-size: 1.2rem;
}

.contact-section h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-section p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-item i {
    color: #667eea;
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

/* ========================================
   PAGES DESIGN (PHOTOSHOP, ILLUSTRATOR, INDESIGN)
   ======================================== */
.design-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.design-section h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.design-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.design-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.project-content p {
    color: #666;
    line-height: 1.6;
}

/* Placeholder pour les images manquantes */
.placeholder-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px 10px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 3rem;
    transition: all 0.3s ease;
}

.placeholder-image span {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #666;
    font-weight: 500;
}

.placeholder-image:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
}

.placeholder-image:hover span {
    color: white;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    color: #667eea;
    width: 16px;
}

.footer-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: white;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    color: #667eea;
    opacity: 1;
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-3px);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.skill-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   LOADER DE CHARGEMENT
   ======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   BOUTON RETOUR EN HAUT
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.back-to-top.visible {
    display: flex;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Optimisations spécifiques pour Safari */
@supports (-webkit-appearance: none) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    
    .skill-card {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 1200px) {
    .skills-section {
        margin-left: -25%;
        margin-right: -25%;
        width: 150%;
    }
    
    .cta-section {
        margin-left: -25%;
        margin-right: -25%;
        width: 150%;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Navigation mobile */
    header nav {
        padding: 0 1rem;
    }
    
    .menu-toggle {
        display: flex !important;
        position: absolute;
        right: 1rem;
        top: 1rem;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 5rem;
        gap: 1rem;
        transition: left 0.3s ease;
        z-index: 10002;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        padding: 1rem 2rem;
        width: 100%;
        justify-content: center;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    nav ul li a:hover,
    nav ul li a.active {
        background: rgba(255,255,255,0.2);
        transform: none;
    }
    
    /* Lien admin en bas sur mobile */
    .admin-link {
        position: static;
        margin-top: 2rem;
    }
    
    .admin-link a {
        width: auto;
        height: auto;
        padding: 1rem 2rem;
        border-radius: 25px;
    }
    
    .hero h1.main-title {
        font-size: 3.5rem;
    }
    
    .hero-spacing {
        height: 3rem;
    }
    
    .skills-section {
        margin-left: -15%;
        margin-right: -15%;
        width: 130%;
        margin-top: 20rem;
    }
    
    .cta-section {
        margin-left: -15%;
        margin-right: -15%;
        width: 130%;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        padding: 0 3%;
    }
    
    .skill-card {
        padding: 2rem;
        min-height: 200px;
    }
    
    /* Pages Informations */
    .info-section h1 {
        font-size: 2.5rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    /* Pages Contact */
    .contact-section h1 {
        font-size: 2.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Pages Design */
    .design-section h1 {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero h1.main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .skills-section {
        margin-left: -10%;
        margin-right: -10%;
        width: 120%;
        margin-top: 15rem;
    }
    
    .cta-section {
        margin-left: -10%;
        margin-right: -10%;
        width: 120%;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 2%;
    }
    
    .skill-card {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    .skills-section h2,
    .cta-section h2 {
        font-size: 2rem;
    }
}

/* Styles pour les compétences dans la page informations */
.competence-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.competence-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.competence-level {
    margin: 1rem 0;
}

.level-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.level-bar {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.experience-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.experience-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
} 

/* Notifications */
.notification {
    padding: 1.5rem 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    max-width: 400px;
    width: auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    animation: slideUp 0.5s ease-out;
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 