/* ===================================
   ABOUT PAGE SPECIFIC STYLES
   Phoenix On Wire - About Us
   Réutilise le CSS principal (style.css)
   =================================== */

/* --- About Hero --- */
.about-hero {
    background: linear-gradient(to right, #000000 0%, #0f0f0f 50%, #1a1a1a 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    transition: background 0.3s ease;
}

body.light-mode .about-hero {
    background: linear-gradient(to right, #f0f2f5 0%, #e9ecef 50%, #dee2e6 100%);
}

.about-hero h1 {
    color: var(--primary-orange);
    font-size: 3em;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.about-hero .tagline {
    font-size: 1.3em;
    color: var(--primary-cyan);
    margin-bottom: 15px;
    font-weight: 300;
}

.about-hero .subtitle {
    font-size: 1em;
    color: var(--text-color);
    font-style: italic;
}

/* --- Story Section --- */
.about-story {
    background-color: var(--main-bg);
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

.story-content {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.story-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
}

.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-card {
    background-color: var(--card-bg);
    padding: 35px 25px;
    border-radius: 12px;
    border: 2px solid;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.philosophy-card.card-purple {
    border-color: var(--primary-purple);
}

.philosophy-card.card-cyan {
    border-color: var(--primary-cyan);
}

.philosophy-card:hover {
    transform: translateY(-5px);
}

.philosophy-card.card-purple:hover {
    box-shadow: 0 10px 30px rgba(184, 68, 216, 0.3);
}

.philosophy-card.card-cyan:hover {
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.philosophy-card .icon-placeholder {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.philosophy-card.card-purple .icon-placeholder {
    color: var(--primary-purple);
}

.philosophy-card.card-cyan .icon-placeholder {
    color: var(--primary-cyan);
}

.philosophy-card h3 {
    color: var(--heading-color);
    font-size: 1.2em;
    margin-bottom: 15px;
}

.philosophy-card p {
    font-size: 0.95em;
    color: var(--text-color);
    line-height: 1.6;
}

/* Hover effect for h3 in philosophy cards with respective colors */
.philosophy-card.card-purple h3:hover {
    color: var(--primary-purple);
    text-shadow: var(--glow-purple);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.philosophy-card.card-cyan h3:hover {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover effects for icons in philosophy cards - matching card glow */
.philosophy-card.card-purple .icon-placeholder:hover svg {
    filter: drop-shadow(0 0 10px rgba(184, 68, 216, 0.6));
    transform: scale(1.15);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.philosophy-card.card-cyan .icon-placeholder:hover svg {
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
    transform: scale(1.15);
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* --- Skills Section --- */
.about-skills {
    background-color: var(--dark-bg);
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

.skills-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.skill-badge {
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 12px 24px;
    border-radius: 25px;
    color: var(--primary-cyan);
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: rgba(0, 217, 255, 0.2);
    transform: scale(1.05);
    box-shadow: var(--glow-cyan);
}

/* --- Projects Section --- */
.about-projects {
    background-color: var(--main-bg);
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--card-bg);
    padding: 35px 30px;
    border-radius: 12px;
    border: 2px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.project-card.card-purple {
    border-color: var(--primary-purple);
}

.project-card.card-cyan {
    border-color: var(--primary-cyan);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card.card-purple:hover {
    box-shadow: 0 10px 30px rgba(184, 68, 216, 0.3);
}

.project-card.card-cyan:hover {
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.project-header .icon-placeholder {
    flex-shrink: 0;
}

.project-card.card-purple .icon-placeholder {
    color: var(--primary-purple);
}

.project-card.card-cyan .icon-placeholder {
    color: var(--primary-cyan);
}

.project-card h3 {
    color: var(--heading-color);
    font-size: 1.3em;
    margin: 0;
}

/* Hover effect for h3 in project cards with respective colors */
.project-card.card-purple h3:hover {
    color: var(--primary-purple);
    text-shadow: var(--glow-purple);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.project-card.card-cyan h3:hover {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover effects for icons in project cards - matching card glow */
.project-card.card-purple .icon-placeholder:hover svg {
    filter: drop-shadow(0 0 10px rgba(184, 68, 216, 0.6));
    transform: scale(1.15);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.project-card.card-cyan .icon-placeholder:hover svg {
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
    transform: scale(1.15);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.project-intro {
    font-size: 0.95em;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.project-stats .stat {
    font-size: 0.85em;
    color: var(--text-color);
    padding-left: 15px;
    position: relative;
}

.project-stats .stat::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
}

.project-lesson {
    font-size: 0.9em;
    color: var(--text-color);
    line-height: 1.6;
    font-style: italic;
    margin: 20px 0 10px;
}

.project-lesson strong {
    color: var(--heading-color);
}

.project-note {
    font-size: 0.8em;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 5px;
}

.project-quote {
    background: rgba(0, 217, 255, 0.05);
    border-left: 3px solid var(--primary-cyan);
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
}

.project-card .project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    margin-top: 15px;
    border: 2px solid;
}

.project-card.card-cyan .project-link {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
}

.project-card.card-cyan .project-link:hover {
    background-color: var(--primary-cyan);
    color: #fff;
    transform: translateX(5px);
    box-shadow: var(--glow-cyan);
}

/* --- Approach Section --- */
.about-approach {
    background-color: var(--dark-bg);
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

/* --- Team Section --- */
.team-section {
    background-color: var(--main-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary-purple) 0%, 
        var(--primary-cyan) 50%, 
        var(--primary-orange) 100%);
}

.team-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.team-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
}

.team-content strong {
    color: var(--primary-cyan);
    font-weight: 700;
}

.team-highlights {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 25px;
    font-size: 0.95em;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

.highlight-icon {
    font-size: 1.3em;
}

/* Animation du logo DevN'Dumber */
.team-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    padding: 20px;
}

.team-logo-animated {
    width: 200px;
    height: auto;
    max-width: 100%;
    animation: floatAndGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.3));
    transition: all 0.3s ease;
}

.team-logo-animated:hover {
    animation-play-state: paused;
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(184, 68, 216, 0.5));
}

@keyframes floatAndGlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.3));
    }
    25% {
        transform: translateY(-10px) rotate(-2deg);
        filter: drop-shadow(0 0 25px rgba(184, 68, 216, 0.4));
    }
    50% {
        transform: translateY(-15px) rotate(0deg);
        filter: drop-shadow(0 0 30px rgba(255, 111, 0, 0.4));
    }
    75% {
        transform: translateY(-10px) rotate(2deg);
        filter: drop-shadow(0 0 25px rgba(0, 217, 255, 0.4));
    }
}

.team-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.team-cta svg {
    transition: transform 0.3s ease;
}

.team-cta:hover svg {
    transform: translateX(5px);
}

/* --- Fun Facts Section --- */
.about-fun {
    background-color: var(--dark-bg);
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

.fun-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.fun-card {
    background: rgba(255, 107, 74, 0.05);
    border: 2px solid rgba(255, 107, 74, 0.2);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.fun-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-orange);
    background: rgba(255, 107, 74, 0.1);
}

.fun-emoji {
    font-size: 2.5em;
    display: block;
    margin-bottom: 15px;
}

.fun-card p {
    font-size: 0.9em;
    color: var(--text-color);
    line-height: 1.6;
}

/* --- CTA Section --- */
.about-cta {
    background: linear-gradient(135deg, 
        rgba(255, 107, 74, 0.15) 0%, 
        rgba(184, 68, 216, 0.1) 50%, 
        rgba(0, 217, 255, 0.05) 100%);
    padding: 80px 0;
    text-align: center;
    border-top: 2px solid rgba(255, 107, 74, 0.3);
    transition: background 0.3s ease;
}

.about-cta h2 {
    color: var(--light-grey);
    font-size: 2.5em;
    margin-bottom: 30px;
}

.about-cta p {
    font-size: 1.1em;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta .btn {
    margin-top: 20px;
}

/* --- Easter Egg GitDumber --- */
.easter-egg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.easter-egg-overlay.active {
    opacity: 1;
    visibility: visible;
}

.easter-egg-image {
    width: 50px;
    height: auto;
    opacity: 0;
    transform: scale(0) rotate(0deg);
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
    transition: all 2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.easter-egg-image.grow {
    width: 80vw;
    max-width: 600px;
    opacity: 1;
    transform: scale(1) rotate(360deg);
    filter: drop-shadow(0 0 50px rgba(184, 68, 216, 0.8)) 
            drop-shadow(0 0 80px rgba(0, 217, 255, 0.6))
            drop-shadow(0 0 120px rgba(255, 111, 0, 0.5));
}

@media (max-width: 768px) {
    .easter-egg-image.grow {
        width: 90vw;
        max-width: 400px;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .fun-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.2em;
    }
    
    .about-hero .tagline {
        font-size: 1.1em;
    }
    
    .philosophy-cards {
        grid-template-columns: 1fr;
    }
    
    .team-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .team-logo-animated {
        width: 150px;
    }
    
    .fun-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 1.8em;
    }
    
    .story-content p {
        font-size: 1em;
    }
    
    .project-header {
        flex-direction: column;
        text-align: center;
    }
    
    .team-content p {
        font-size: 1em;
    }
    
    .team-logo-animated {
        width: 120px;
    }
}