/* Styles spécifiques pour la page À Propos */

/* Page principale */
.about-page {
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    min-height: 100vh;
    color: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Titre principal */
.about-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #00e5ff;
    text-shadow: 0 2px 10px rgba(0, 229, 255, 0.3);
}

/* Carousel amélioré */
.carousel {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.carousel-images {
    display: flex;
    transition: transform 1.2s ease-in-out;
    height: 450px;
}

.carousel-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.1);
}

/* Boutons de navigation */
.carousel-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 15px;
    pointer-events: none;
}

.carousel-button {
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.carousel-button:hover {
    background: rgba(0, 229, 255, 0.8);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.4);
}

/* Indicateurs */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.indicator.active {
    background-color: #00e5ff;
    transform: scale(1.2);
    border-color: #00e5ff;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.indicator:hover {
    background-color: rgba(0, 229, 255, 0.6);
    transform: scale(1.1);
}

/* Contenu texte */
.about-text {
    max-width: 900px;
    margin: 40px auto;
    text-align: justify;
    padding: 0 20px;
    line-height: 1.8;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #00e5ff;
    text-align: center;
    margin: 30px 0 20px 0;
    text-shadow: 0 2px 8px rgba(0, 229, 255, 0.3);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.about-text strong {
    color: #00e5ff;
    font-weight: 600;
}

.about-text a {
    color: #00e5ff;
    text-decoration: none;
    border-bottom: 1px solid #00e5ff;
    transition: all 0.3s ease;
}

.about-text a:hover {
    color: #0077c2;
    border-bottom-color: #0077c2;
}

/* Citation */
.about-text blockquote {
    background: rgba(0, 229, 255, 0.1);
    border-left: 4px solid #00e5ff;
    padding: 20px;
    margin: 30px 0;
    border-radius: 10px;
    font-style: italic;
    position: relative;
}

.about-text blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #00e5ff;
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
}

.about-text blockquote p {
    margin: 0;
    font-size: 1.1rem;
    color: #ffffff;
}

/* Section compétences */
.skills-section {
    margin: 50px 0;
    padding: 40px;
    background: rgba(0, 229, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(10px);
}

.skills-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #00e5ff;
    font-size: 2rem;
    text-shadow: 0 2px 8px rgba(0, 229, 255, 0.3);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-item:hover {
    background: rgba(0, 229, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
    border-color: #00e5ff;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item h4 {
    color: #00e5ff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0, 229, 255, 0.3);
}

/* Bouton CTA */
.cta-button {
    display: block;
    width: 250px;
    margin: 40px auto;
    padding: 18px 30px;
    background: linear-gradient(135deg, #00e5ff, #0077c2);
    color: #000;
    text-align: center;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.6);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button h4 {
    color: #000;
    text-align: center;
    margin: 0;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        padding: 20px 15px;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .carousel {
        max-width: 100%;
        margin: 20px auto;
    }
    
    .carousel-images {
        height: 350px;
    }
    
    .carousel-button {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .about-text {
        padding: 0 15px;
        text-align: center;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
        text-align: center;
    }
    
    .skills-section {
        padding: 25px;
        margin: 30px 0;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .skill-item {
        padding: 20px;
    }
    
    .skill-item h4 {
        font-size: 1.1rem;
    }
    
    .cta-button {
        width: 200px;
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .carousel-images {
        height: 300px;
    }
    
    .carousel-button {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .about-text {
        padding: 0 10px;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .skill-item {
        padding: 18px;
    }
    
    .skill-item h4 {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 180px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content {
    animation: fadeInUp 0.8s ease-out;
}

.skills-section {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    animation: fadeInUp 1.2s ease-out 0.4s both;
} 