/* Styles communs pour les pages Experience, Compétence, Projet, Accueil */

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
}

/* Experience Page */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.experience-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.experience-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.experience-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.experience-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.skill-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(0, 188, 212, 0.1));
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

/* Compétences Page */
.competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.competency-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.competency-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.competency-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.competency-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 15px 0;
}

.competency-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.proficiency-bar {
    background: var(--light-bg);
    height: 8px;
    border-radius: 4px;
    margin-top: 15px;
    overflow: hidden;
}

.proficiency-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    transition: var(--transition);
}

/* Projets/Voyages Page */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-content {
    padding: 30px;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.project-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Restaurant/Accueil Page */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.menu-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.menu-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-card:hover .menu-image img {
    transform: scale(1.08);
}

.menu-content {
    padding: 25px;
}

.menu-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.menu-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.price {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .experience-grid,
    .competencies-grid,
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .experience-card,
    .competency-card {
        padding: 20px;
    }

    .project-image {
        height: 220px;
    }

    .project-content {
        padding: 20px;
    }

    .project-card h3 {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .competency-icon {
        font-size: 36px;
    }

    .experience-card,
    .competency-card,
    .menu-content {
        padding: 15px;
    }

    .project-image {
        height: 190px;
    }

    .project-content {
        padding: 15px;
    }

    .project-card h3 {
        font-size: 17px;
    }

    .project-card p {
        font-size: 13px;
        line-height: 1.6;
    }

    .project-location {
        font-size: 12px;
    }
}
